[opensuse] Backup of NTFS file systems with Linux
Hello, how reliable is Linux' internal ntfs driver concerning write access? My idea was to create a ntfs file system on an external USB harddrive and make a backup of my Vista installation with the tar command. Would be faster that using dd which also clones empty space. No, I wonder, get ntfs attributes of ntfs files lost when being copied with Linux tar? Are files in any way corrupted in the view of Windows Vista if the ntfs volume was read/write mounted under Linux? My idea looked like this: 1. mount ntfs volume "C:\" mount /dev/hda1 /mnt/drive_C 2. mount ntfs formatted backup space mount /dev/sda1 /mnt/backup_of_C 3. copy stuff from ntfs volume C to backupharddrive using tar: cd /mnt/drive_C tar -cSp --atime-preserve -f - . | ( cd /mnt/backup_of_C && tar -xSpv -- atime-preserve -f - ) Regards Malte -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 13 Jun 2009 22:13:54 +0200, Malte Gell wrote:
My idea was to create a ntfs file system on an external USB harddrive and make a backup of my Vista installation with the tar command. Would be faster that using dd which also clones empty space.
This won't make the system recoverable. First, tar creates a file, so the underlying filesystem doesn't matter. But tar only knows about *nix filesystem permissions as well. Have a look at something like Ghost for Linux (g4l) instead. Jim -- Jim Henderson Please keep on-topic replies on the list so everyone benefits -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2009-06-13 at 23:06 -0000, Jim Henderson wrote:
On Sat, 13 Jun 2009 22:13:54 +0200, Malte Gell wrote:
My idea was to create a ntfs file system on an external USB harddrive and make a backup of my Vista installation with the tar command. Would be faster that using dd which also clones empty space.
This won't make the system recoverable. First, tar creates a file, so the underlying filesystem doesn't matter. But tar only knows about *nix filesystem permissions as well.
Then, there is the alternative of using a windows native archiving utility that knows about ntfs attributes; perhaps winrar or winzip? Of course, it would only be usefull for data recovery, not system, unless I'm mistaken. On FAT, I used a similar strategy: I had an initial image recovery, using windows tools, and then from linux I made a copy of changed files with attributes (with "mattrib"). - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAko0QQoACgkQtTMYHG2NR9WT4ACfbG8O3LeHdtf2bg5h5VsgarKN XcAAoIKO5VVJ2vxG0c9sNLB/gufrTWgE =9zdL -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2009/06/14 02:01 (GMT+0200) Carlos E. R. composed:
On Saturday, 2009-06-13 at 23:06 -0000, Jim Henderson wrote:
On Sat, 13 Jun 2009 22:13:54 +0200, Malte Gell wrote:
My idea was to create a ntfs file system on an external USB harddrive and make a backup of my Vista installation with the tar command. Would be faster that using dd which also clones empty space.
This won't make the system recoverable. First, tar creates a file, so the underlying filesystem doesn't matter. But tar only knows about *nix filesystem permissions as well.
Then, there is the alternative of using a windows native archiving utility that knows about ntfs attributes; perhaps winrar or winzip?
Of course, it would only be usefull for data recovery, not system, unless I'm mistaken.
I run openSUSE and OS/2 24/7, and trade files virtually continuously over LANMAN, Peer, CIFS & Samba, usually via mc and/or FC/2 and/or (g)zip and/or tar. Based on the apparent filesystem agnostic behavior I've seen, I'd expect other archivers to behave similarly, which is to take whatever file attributes are found, tuck them in the archives with the files and directories, and restore according to whatever attributes are supported by the target filesystem. I suspect the only significant difference between Winrar and rar/unrar for Linux is the GUI face worn by Winrar, which would mean rar for Linux should be able to do the right job archiving off NTFS via Linux boot. -- "Cast but a glance at riches, and they are gone, for they will surely sprout wings and fly off to the sky like an eagle." Proverbs 23:5 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2009-06-13 at 20:31 -0400, Felix Miata wrote:
On 2009/06/14 02:01 (GMT+0200) Carlos E. R. composed:
I suspect the only significant difference between Winrar and rar/unrar for Linux is the GUI face worn by Winrar, which would mean rar for Linux should be able to do the right job archiving off NTFS via Linux boot.
Well, time ago msdos zip, or rar, stored the fat file attributes, which then were 4 bits: SHRA. But linux tools stored different attributes, and there were no real correspondence between all of them. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAko0SkcACgkQtTMYHG2NR9WCtgCglUHeuqs+qzbtUVOGJBD6/YtQ DrwAn0ToMnxmdraSKZSsoa+01TXEpDDf =5B1T -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 14 Jun 2009 02:01:49 +0200, Carlos E. R. wrote:
Then, there is the alternative of using a windows native archiving utility that knows about ntfs attributes; perhaps winrar or winzip?
Of course, it would only be usefull for data recovery, not system, unless I'm mistaken.
You're not mistaken. There are things you wouldn't get with programs like that that are necessary to get Windows to boot - ISTR that there are (or perhaps were, I'm no expert on current Windows releases) things that need to be in particular places on the disk in order to boot properly (relative to the partition, not absolute positions). That may have changed. Jim -- Jim Henderson Please keep on-topic replies on the list so everyone benefits -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 14 June 2009 01:06, Jim Henderson wrote:
On Sat, 13 Jun 2009 22:13:54 +0200, Malte Gell wrote:
My idea was to create a ntfs file system on an external USB harddrive and make a backup of my Vista installation with the tar command. Would be faster that using dd which also clones empty space.
This won't make the system recoverable. First, tar creates a file, so the underlying filesystem doesn't matter. But tar only knows about *nix filesystem permissions as well.
Have a look at something like Ghost for Linux (g4l) instead.
Jim
-- Jim Henderson Please keep on-topic replies on the list so everyone benefits
If you have space enough.. use dd to mirror the whole schabang?? -- /Rikard Johnels
participants (5)
-
Carlos E. R.
-
Felix Miata
-
Jim Henderson
-
Malte Gell
-
Rikard Johnels