Debian :: NTFS Backup - Create Ever Expanding (to 320Gb) TAR File That Will Retain All Original File Permissions

Sep 20, 2015

I want to back up an entire Linux system on a 3Tb external Western DIgital USB3 drive.

I do not want to reformat it from what it is, apparemtly NTFS.

Is there a utility that can act like a file manager like mc, that will permit me to create an ever expanding (to 320Gb) TAR file that will retain all the original file permissions. I have had nothing but disappointment with Linux backup utils with a FAT32 external drive, and I am concerned if I just try an tar the entire drive at once, with around 3 million files, I might run out of memory.

View 5 Replies


ADVERTISEMENT

Debian :: Create Full System Backup To ISO / IMG-file

Jan 28, 2014

I would like to create a full systembackup to a ISO/IMG-file. I've been searching and found mondorescue.org, but something is wrong with package for debian 6.

View 14 Replies View Related

Debian :: Mdadm Create A Backup File After Grow Command

Feb 27, 2016

I launch a mdadm grow to expand my filesystem but I forget --backup-file.I have my server running and one UPS.

Code: Select allpk25.com:~# mdadm --manage /dev/md0 --add /dev/sde1
mdadm: added /dev/sde1
pk25.com:~# mdadm --grow --raid-devices=5 /dev/md0
mdadm: Need to backup 3072K of critical section..
pk25.com:~# mdadm --grow --raid-devices=5 --backup-file=/root/md0-grow.bak /dev/md0
mdadm: /dev/md0 is performing resync/recovery and cannot be reshaped

[code]....

View 0 Replies View Related

General :: Change File Permissions Of NTFS Drives?

Apr 10, 2011

any way to change file permissions of NTFS drives? All my C programming files resides in a NTFS drive and I need to set execute permision on them in order to run. I tired chmod -Rv 777 /media/Programming. and also tired chmod 775 *.* after entering the folder in which all my files resides. but both these commands doesn't seem to have any effect on the files. I know NTFS doesn't use Unix file system and chmod command goes in vain.

View 5 Replies View Related

Software :: Retain Multiple Spaces And Tabs In A File By C-sh File Operation?

Feb 21, 2011

Iam reading a file using C-sh script after manipulating the variables I need to dump into a new file. This in working fine but I couldn't retain the multiple spaces and tabs in a same line. For readability I want to print it back as I read. Now script treating multiple tabs as onl tab or space.

View 3 Replies View Related

Ubuntu :: Assign Permissions On A Partition With Ntfs As The File System?

Apr 6, 2010

can assign permissions on a partition with ntfs as the file system. I am aware of editing fstab and setting some basic permissions. What I am clumsily dictating is can you edit permissions of individual folders for specific users in Linux. I have already tried chmod and such

etc something similar to this

Code:
[user@computername user]$ sudo chmod 600 directory

View 4 Replies View Related

Ubuntu Security :: Unable To Set File Permissions (NTFS Volumes)

Oct 3, 2010

In Nautilus I select a directory on local NTFS volume. I'm logged in as root, right-click > Properties > Permissions and I set "Others" to "none". But it doesn't work. I want my friends & visitors to use and enjoy Ubuntu but without access to my NTFS volumes.

View 9 Replies View Related

General :: Change File Permissions In Windows Ntfs Partition?

Mar 2, 2011

Here is my fstab's content:

/dev/sda7/media/entfsdefaults00
/dev/sda8/media/fntfs-3g silent,umask=00000
[root@localhost code]# ll 2
-rwxrwxrwx. 1 root root 0 Mar 2 20:19 2

[code]....

View 3 Replies View Related

Ubuntu Installation :: Backup Restore - Software Doesn't Start Due To File Permissions

Dec 2, 2010

I re-installed ubuntu 10.04 for prep I did a backup with Simple Backup Config after reinstalling i restored with Simple Backup restore some installed software software now doesn't start and after troubleshooting i think problem is file permissions but i'm not sure which permissions of which files to change and what they should be changed to. has anyone had experience with this and if so is it because it works or because its the right way to do it and it works funny thing.. i can't find any forum posts with info on Simple Backup!

View 1 Replies View Related

General :: Create File With 751 Permissions At Creation

Apr 5, 2011

I keep creating practice perl scripts in a linux directory using vi <filename> and need to chmod 751 <filename> before I can run it as I wish to. I'm sure there is a simple way to default my permissions or config them at creation, but I'm not familiar with it ayuda me por favor.

View 2 Replies View Related

Debian :: Backup Purge Script - `/mnt/backup/subfolder': No Such File Or Directory

Nov 10, 2010

This script simply deletes files older than a certain age (in this case 7 days) from a certain location; I use it to purge old backups nightly, and it works as expected:

# delete backups older than 7 days
find /mnt/backup/*  -mtime +7 -exec rm -Rf {} ;

The problem is, every morning I get an email with an error message something like this:

find: `/mnt/backup/subfolder': No such file or directory

View 2 Replies View Related

Ubuntu :: SAMBA Default File Create Permissions?

Mar 28, 2011

Files saved on our ubuntu server via samba server are all being created/saved as read only (-rwxr--r--). The users are MAC Users who are connecting via finder.I have taken 2 steps:First I added the lines "umask 0000" to the .bashrc files in the users' home directories.Second, I have modified the /etc/samba/smb.conf file such that I set "create mask = 0000" and also "directory mask = 0000" but the files are still being created as "-rwxr--r--".

View 1 Replies View Related

Fedora Servers :: Create A Backup To A Remote File System?

Jun 26, 2010

Attempting to create a backup script to copy files from one file system to a remote file system.

When I try this I get:

Quote:

# tar -cf - /mnt/raid_md1 | gzip -c | ssh -i ~/.ssh/key -l user@192.168.1.1 "cat > /mnt/backup/fileserver.md1.tar.gz"
tar: Removing leading `/' from member names
Pseudo-terminal will not be allocated because stdin is not a terminal.
ssh: Could not resolve hostname cat > /mnt/backup/fileserver.md1.tar.gz: Name or service not known

[Code].....

I know that the remote file system dir is RW and the access is working fine. I am stumped...

View 3 Replies View Related

Server :: How To Redirect From One Page To Another Using Apache And Still Retain Original Url?

Apr 3, 2011

quesiton is how I can redirect http://www.thispage.com to http://my.page.com and still retail displaying http://www.thispage.com.The issue is if I point in httpd.conf to directory where my.page.com it doesnt work because it knows it address.

View 4 Replies View Related

Networking :: Programs Cannot Create Temp Files On Nfs-mounted NTFS File System?

Jun 14, 2010

I have an NTFS file system nfs-automounted on our RedHat servers. Users can read and write to the file system no problem, and can create new files, edit them, and delete them to their heart's content. The only issue is that utilities such as "dos2unix" cannot create temporary working files:

$ dos2unix events.0818.dat
dos2unix: converting file events.0818.dat to UNIX format ...
Failed to open output temp file: Operation not permitted
dos2unix: problems converting file events.0818.dat

This isn't limited to "dos2unix"; any other utility that creates a temporary working file gets the same problem. If I copy the file to a local file system like /tmp, it works fine. Here's the kicker: this works fine on Solaris systems. I can take the "dos2unix" utility over to a Solaris system that has that exact same NTFS file system automounted via NFS, and it works. No issues creating temporary working files at all.

View 5 Replies View Related

General :: Create A Cron File That Will Regularly Perform A Level 0 Backup Once Per Month?

Mar 3, 2011

How do you create a cron file that will regularly perform a level 0 backup once per month?

View 2 Replies View Related

Software :: Create Backup Partition With Dd And Save Backup On NTFS Partition?

Oct 24, 2010

I create Backup partition with dd and save my backup on NTFS partition. i want recover this backup,what should i do? can i use boot cd and use dd command for recover it?

View 2 Replies View Related

Ubuntu :: Data Loss From Expanding NTFS Partition?

Aug 3, 2011

This forum might not be the best place for this question, but some people here are pretty knowledgeable and may have more insight than I do about this. Anyways, I'm thinking about expanding an NTFS (Windows 7) partition on my desktop computer into unallocated space. I know that there is a risk when shrinking a NTFS partition due to fragmentation but are there any risks of data loss from expanding a NTFS partition? My common sense tells me there isn't a risk but I want to be 100% sure I won't lose any files.

View 4 Replies View Related

Debian :: Recursively Set Permissions For Certain Type Of File?

Aug 5, 2011

I want to set all directories in /example/ to +x without setting any non-directory files to +x, using the -R option of chmod. There must be a way to do this yes?

View 6 Replies View Related

Debian :: What Is The Best Way To Perform A Backup / File Transfer

Jan 21, 2010

I have a couple of Lenny LAMP servers, and a backup server. (virtual testing environment)

1. What is the best way to perform a backup? (system state as well as individual files) Although system state can also be accomplished through the hypervisor.

2. Between Windows computers, I access shared directories simply by \hostnamesharedmap or \host_IPsharedmap. Between Windows and linux i use SAMBA. But there must be a simple way to copy 2 files between linux hosts?

3. I've searched a lot, and only found people with the same question without a good answer: is there a linux equivalent for robocopy?

View 8 Replies View Related

Debian :: File Permissions To See Other Folders And Check The Contents

Jul 17, 2010

I've created a new group and a new user called dftp... Now I wanna do one thing... If 'dftp' connects thru ftp he should be directed to a particular location... and he shouldn't be able to see other folder except for his own including the parent folder that contains that location... I changed dftp's home folder to the location I want. However while connecting thru ftp. user dftp has been given permissions to see other folders and check out the contents of the other folders.

View 5 Replies View Related

Debian :: Use File Manager Actions With Root Permissions?

Jul 30, 2011

If I use the GUI File Manager I ofter get stuck because I need root permissions to write or delete some file or directory. I realize I can drop down to Terminal and do either a sudo or change the permissions of a particular file, but these are several extra steps. Is there a way I can perform root actions on files using File Manager/Browser? Or is there an alternative file manager program I can explore that is more flexible? I am currently using Debian 6.01a installed from the Live CD, Nautilus 2.30.1.

View 14 Replies View Related

Debian :: Can't Mount Ntfs Partition Clicking From File Manager

Jul 25, 2015

It is gnome 3, debian jessie, nautilus file manager. Click ntfs partition from file manager, type password got error:

Code: Select allUnable to access “alldisksda5” Error mounting /dev/sda5 at /media/user1/alldisksda5: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda5" "/media/user1/alldisksda5"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda5': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.

Why is this error? Windows has been shutdown normally. What to do?

View 3 Replies View Related

Server :: ISDN Fax Receiving / Save Fax As A Picture To File And Somehow Retain Telephone Number?

Jun 28, 2010

I have an old Brooktrout ISDN fax card on BRI used mostly for receiving faxes. It works with windows fax server software which sends faxes to different e-mail boxes according to telephone number on which fax was send.

Since card is getting rather old and I don particulary like server software I wonder has anyone got any practice with linux fax servers. What I need is ISDN fax card and software which is able to save fax as a picture to file and somehow retain telephone number (filename or directory name). Sending picture by email is than trivial task.

View 3 Replies View Related

Debian :: Best File System For Backup / Media Drive?

Aug 29, 2011

I'm setting up a Backup & Media server, which will be running debian. I will setup a small HD or SSD/CF card for the OS, and a MD raid for the data drives.The total size of the raid will be either 3 or 4TB, depending. Now, I need to figure out what filesystem to use on top of this raid.My criteria is as follows:

1. Support for large files. I can't imagine anything larger than about 1.2TB, but the 4GB of, say, fat32 just isn't enough.

2. Robust. I don't want it falling apart on me; nothing too unstable.

3. (and this is most important): Good Undelete support. I got burned recently when a software glitch managed to rm -rf my EXT4 drive. All the file data is still there, but all the metadata is gone. I *DO NOT* want that happening with this. I want to be able to do a "RM / -RF", immediately unmount it, and then recover *all* of the deleted data. Obviously, when data is overwritten it's overwritten, but I don't want to lose all my metadata if a "RM -RF" happens. FAT-32 is the model I'm looking at: You can usually recover deleted files if anything happens to the drive.

So, what are my options?EXT2 looks like a possibility. EX4 is *clear out*, unless there's some nice utility/mode that keeps a backup of all deleted metadata etc.

View 11 Replies View Related

General :: Cannot Change File Permissions On A Mounted File System

Apr 6, 2010

I have an ntfs partition that I wish to access as a normal user(non-root). For this I did the following. As root I created a folder /windows and did a chmod 777 -R on /windows. Then I added the following line to /etc/fstab

Code:

/dev/sda3 /windows ntfs-3g defaults,nosuid,nodev,umask=000 1 0

Now, the partition is mounted alright but the problem is that when any other user (non-root) creates a files in /windows (say by executing touch newfile) the newly created file has the owner and group set as root. The non-root user can create the file and he can also delete the file, however, he cannot change the permissions of the file and also the owner:group is always set as root:root. How do I get across this problem, i.e. how do I mount a partition, so that a non-root user can also change the permissions and ownerships of the files he creates.

View 2 Replies View Related

Ubuntu :: Showing File Permissions In File Roller?

Aug 23, 2011

How do I show a list column in file roller that shows permissions and ownership of files?

View 2 Replies View Related

Security :: Setting File Permissions For File /var/log/Xorg.0.log?

Jul 7, 2009

i am trying to set the file permissions for the log files "/var/log/Xorg.0.log" and "/var/log/gdm/:0.log". These files seem to be created when a user logs into a whokstation (my guess so far). I am trying to comply with a security mandate that all log files in the directory /var/log are set to 0640. The two mentioned files always seem to have the permissions 0644, does anyone know where and when these filea are created and how I might set the permissions when the files are created

View 1 Replies View Related

Programming :: Keep Original Mod Date Of A File And 'date' It Back To Same File?

Jul 12, 2010

I would really like to preserve a file's original modified date and pass it back to the file as the same attribute after a script has worked on it. I get a lot of JPEG files from different places on the Net which I either turn around and upload or burn to disk, and having the "original" date of either download or last mod in a graphics app would be for me, in the long run, a lot more helpful when deciding, for instance, which files to "recycle" or pass on backing up more than once.I've tried doing this on my own every now and then. Where I run into problems is that it appears "stat" and "date" use different formats for date information, and I can't seem to puzzle out how to "translate" one to the other satisfactorily for the latter command.

Just to give an example:
stat foo.jpg |grep Modify gives me
Modify: 2010-07-12 06:28:56.890625000 -0400

Passing that string as-is to date foo.jpg, I get the errordate: unknown option -- 0 and the usual semi-courteous suggestion to Try 'date --help' for more information.Somehow my TexInfo database got screwed up somewhere along the line and info dategives me the short article on date input formats, not the full documentation for the command

View 4 Replies View Related

Security :: Debian Shows File Permissions Change When Copied To A Windows Partition?

Dec 10, 2010

Some time back using this computer a SucKit rootkit was found. Having dd urandomed the drive, flattened CMOS battery, flashed BIOS, run Knoppix live CD 6.1,using no flat pack battery (laptop), and memtested the RAM, I am still having problems with what I suspect is a javascript file that tries to reload the rootkit from? firmware. I suspect the firmware as everything else should have eradicated it??

Also it or a hacker via a backdoor then corrupts the drivers so devices malfunction. Windows security programs and rootkit detectors don't seem to pick it up. Fresh install of Windows or linux after the above still show this problem, though internet not used. The person who admitted rootkitting this machine is capable of writing java programs or using javascripts to do all this.

When viewed using Ubuntu 8.4 files and dates on a Windows partition appear normal both in file manager and terminal. However booting using Knoppix CD these files are all green, and I cannot change their permissions, even as root. ie: everything is green including text files etc. If I copy them to a linux partition, I can change their permissions and make them nonexecutable and nonwritable. Also on the Windows FAT32 partition the . directory has the date 1 Jan 1970.

If I disable any green files, I can shutdown and reboot cleanly. If I don't I start having problems shutting down [/usr/sbin/init ?] And always these follow a pattern:

Can't remember details as I have now corralled the beast but error messages relating to:

nfs-server
inet.d/statd

are the start of these.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved