[opensuse] best/correct way to copy an NTFS filesystem?
I'm helping my neighbour fix his PC, and I want to backup the disk(s) before I re-image it. I've been away from Windows for so long that I forget - is it sufficient to simply rsync everything from NTFS to my backup disk (which won't be using NTFS)? Many thanks in advance. -- Per Jessen, Zürich (3.0°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen
I'm helping my neighbour fix his PC, and I want to backup the disk(s) before I re-image it. I've been away from Windows for so long that I forget - is it sufficient to simply rsync everything from NTFS to my backup disk (which won't be using NTFS)?
Many thanks in advance.
I doubt it. You have 2 issues that will likely fail to handle. - ntfs security acls - ntfs junctions Ntfs has acls that don't map cleanly to linux acls. (Does rsync even try to address acls?) As of vista, ms started using junctions to give directories new names, but have them available under the old name. A junction functions much like a symbolic link, but it is different. New PCs ship with junctions in use, so it is not an esoteric concern. Greg -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Greg Freemyer wrote:
Per Jessen
wrote: I'm helping my neighbour fix his PC, and I want to backup the disk(s) before I re-image it. I've been away from Windows for so long that I forget - is it sufficient to simply rsync everything from NTFS to my backup disk (which won't be using NTFS)?
Many thanks in advance.
I doubt it. You have 2 issues that will likely fail to handle.
- ntfs security acls - ntfs junctions
Ntfs has acls that don't map cleanly to linux acls. (Does rsync even try to address acls?)
As of vista, ms started using junctions to give directories new names, but have them available under the old name. A junction functions much like a symbolic link, but it is different. New PCs ship with junctions in use, so it is not an esoteric concern.
Thanks Greg - would you happen to know the correct way of backing up an NTFS filesystem? The system has somehow lost it's \windows\ directory, (I'm assuming <someone> tried to fix things before me) so I intend to back up all the data, then re-image the system from the recovery partition. -- Per Jessen, Zürich (3.7°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen
Greg Freemyer wrote:
Per Jessen
wrote: I'm helping my neighbour fix his PC, and I want to backup the disk(s) before I re-image it. I've been away from Windows for so long that I forget - is it sufficient to simply rsync everything from NTFS to my backup disk (which won't be using NTFS)?
Many thanks in advance.
I doubt it. You have 2 issues that will likely fail to handle.
- ntfs security acls - ntfs junctions
Ntfs has acls that don't map cleanly to linux acls. (Does rsync even try to address acls?)
As of vista, ms started using junctions to give directories new
names,
but have them available under the old name. A junction functions much like a symbolic link, but it is different. New PCs ship with junctions in use, so it is not an esoteric concern.
Thanks Greg - would you happen to know the correct way of backing up an NTFS filesystem? The system has somehow lost it's \windows\ directory, (I'm assuming <someone> tried to fix things before me) so I intend to back up all the data, then re-image the system from the recovery partition.
For that situation I cheat. I buy a new drive and put it into the pc and re-image it. I then take the old drive and either connect it internally as a data drive or put it in a usb carrier and connect it that way. Then for most users they have only a few folders they really care about, so I just drag and drop those folders from the old drive to the new. For most casual users that works fine. For users with funky acls, etc. I can see it not working. Greg -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen wrote:
I'm helping my neighbour fix his PC, and I want to backup the disk(s) before I re-image it. I've been away from Windows for so long that I forget - is it sufficient to simply rsync everything from NTFS to my backup disk (which won't be using NTFS)?
Many thanks in advance.
It depends on what you're doing the copying with. Back in my DOS & OS/2 days, I just used XCOPY. In Linux, I generally use cp -a. Of course, disk image utilities also work well, if you need to have a bootable restore. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
James Knott wrote:
Per Jessen wrote:
I'm helping my neighbour fix his PC, and I want to backup the disk(s) before I re-image it. I've been away from Windows for so long that I forget - is it sufficient to simply rsync everything from NTFS to my backup disk (which won't be using NTFS)?
Many thanks in advance.
It depends on what you're doing the copying with. Back in my DOS & OS/2 days, I just used XCOPY. In Linux, I generally use cp -a.
I'm using rsync. -- Per Jessen, Zürich (3.8°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thursday 10 Jan 2013 14:25:08 Per Jessen wrote:
James Knott wrote:
Per Jessen wrote:
I'm helping my neighbour fix his PC, and I want to backup the disk(s) before I re-image it. I've been away from Windows for so long that I forget - is it sufficient to simply rsync everything from NTFS to my backup disk (which won't be using NTFS)?
Many thanks in advance.
It depends on what you're doing the copying with. Back in my DOS & OS/2 days, I just used XCOPY. In Linux, I generally use cp -a.
I'm using rsync. Have a look at Grsync - i've not tried it but it does run on Windows -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
ianseeks wrote:
On Thursday 10 Jan 2013 14:25:08 Per Jessen wrote:
James Knott wrote:
Per Jessen wrote:
I'm helping my neighbour fix his PC, and I want to backup the disk(s) before I re-image it. I've been away from Windows for so long that I forget - is it sufficient to simply rsync everything from NTFS to my backup disk (which won't be using NTFS)?
Many thanks in advance.
It depends on what you're doing the copying with. Back in my DOS & OS/2 days, I just used XCOPY. In Linux, I generally use cp -a.
I'm using rsync. Have a look at Grsync - i've not tried it but it does run on Windows
No need, my neighbour's the one running windows, I'm not :-) -- Per Jessen, Zürich (3.9°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thursday 10 Jan 2013 17:46:40 Per Jessen wrote:
ianseeks wrote:
On Thursday 10 Jan 2013 14:25:08 Per Jessen wrote:
James Knott wrote:
Per Jessen wrote:
I'm helping my neighbour fix his PC, and I want to backup the disk(s) before I re-image it. I've been away from Windows for so long that I forget - is it sufficient to simply rsync everything from NTFS to my backup disk (which won't be using NTFS)?
Many thanks in advance.
It depends on what you're doing the copying with. Back in my DOS & OS/2 days, I just used XCOPY. In Linux, I generally use cp -a.
I'm using rsync.
Have a look at Grsync - i've not tried it but it does run on Windows
No need, my neighbour's the one running windows, I'm not :-) I thought it might take care of any possible issues copying from NTFS to your server as "grsync" is "rsync" wrapped up in a gui -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
ianseeks wrote:
On Thursday 10 Jan 2013 17:46:40 Per Jessen wrote:
ianseeks wrote:
On Thursday 10 Jan 2013 14:25:08 Per Jessen wrote:
James Knott wrote:
Per Jessen wrote:
I'm helping my neighbour fix his PC, and I want to backup the disk(s) before I re-image it. I've been away from Windows for so long that I forget - is it sufficient to simply rsync everything from NTFS to my backup disk (which won't be using NTFS)?
Many thanks in advance.
It depends on what you're doing the copying with. Back in my DOS & OS/2 days, I just used XCOPY. In Linux, I generally use cp -a.
I'm using rsync.
Have a look at Grsync - i've not tried it but it does run on Windows
No need, my neighbour's the one running windows, I'm not :-) I thought it might take care of any possible issues copying from NTFS to your server as "grsync" is "rsync" wrapped up in a gui
Ah, I see - no, I just bootedthe windows box with a rescue system from USB. -- Per Jessen, Zürich (2.8°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 01/10/2013 01:25 PM, Per Jessen wrote:
I'm helping my neighbour fix his PC, and I want to backup the disk(s) before I re-image it. I've been away from Windows for so long that I forget - is it sufficient to simply rsync everything from NTFS to my backup disk (which won't be using NTFS)?
Many thanks in advance.
This depends on how you provide the backup to the re-surrected Windows. But in general, I'd say NO: NTFS ACLs are just pain. I'd try to use an external USB drive and create a partition on it with identical (or bigger) size of the original file system. Then just 'dd' the partition to that drive in a Linux rescue system. After the re-installation of windows, you should be able to connect to that file system on the external drive again in the new windows system to copy the data you need back. Hope this helps. Have a nice day, Berny -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Bernhard Voelker wrote:
On 01/10/2013 01:25 PM, Per Jessen wrote:
I'm helping my neighbour fix his PC, and I want to backup the disk(s) before I re-image it. I've been away from Windows for so long that I forget - is it sufficient to simply rsync everything from NTFS to my backup disk (which won't be using NTFS)?
Many thanks in advance.
This depends on how you provide the backup to the re-surrected Windows. But in general, I'd say NO: NTFS ACLs are just pain.
I'd try to use an external USB drive and create a partition on it with identical (or bigger) size of the original file system. Then just 'dd' the partition to that drive in a Linux rescue system.
Hi Berny yes, that was my first thought too, but the disk is 1.5Tb with only 100Gb used, so I was hoping to reduce the copy time. Having thought about it some more, using dd is probably the right way though. -- Per Jessen, Zürich (3.8°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen
Bernhard Voelker wrote:
On 01/10/2013 01:25 PM, Per Jessen wrote:
I'm helping my neighbour fix his PC, and I want to backup the disk(s) before I re-image it. I've been away from Windows for so long that I forget - is it sufficient to simply rsync everything from NTFS to my backup disk (which won't be using NTFS)?
Many thanks in advance.
This depends on how you provide the backup to the re-surrected Windows. But in general, I'd say NO: NTFS ACLs are just pain.
I'd try to use an external USB drive and create a partition on it with identical (or bigger) size of the original file system. Then just 'dd' the partition to that drive in a Linux rescue system.
Hi Berny
yes, that was my first thought too, but the disk is 1.5Tb with only 100Gb used, so I was hoping to reduce the copy time. Having thought about it some more, using dd is probably the right way though.
Ewfacquire is in the 12.2 distro. It is like dd on steroids. It is easy to use and can create a encase image with compression.
From windows side, "ftk imager" is a free tool that will open the image and let you access a partition as a drive letter.
Greg -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen wrote:
I'd try to use an external USB drive and create a partition on it with
identical (or bigger) size of the original file system. Then just 'dd' the partition to that drive in a Linux rescue system. Hi Berny
yes, that was my first thought too, but the disk is 1.5Tb with only 100Gb used, so I was hoping to reduce the copy time. Having thought about it some more, using dd is probably the right way though.
I have run dd through gzip, to save space. Also, there's a sparse option with dd, which might reduce the image size. I have never used it though. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
James Knott wrote:
Per Jessen wrote:
I'd try to use an external USB drive and create a partition on it with
identical (or bigger) size of the original file system. Then just 'dd' the partition to that drive in a Linux rescue system. Hi Berny
yes, that was my first thought too, but the disk is 1.5Tb with only 100Gb used, so I was hoping to reduce the copy time. Having thought about it some more, using dd is probably the right way though.
I have run dd through gzip, to save space. Also, there's a sparse option with dd, which might reduce the image size. I have never used it though.
Space is not an issue, but I'd like to save time if I can. It looks like dd will do about 97Mb/s which makes 1.5Tb take at least a couple of hours. -- Per Jessen, Zürich (3.7°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2013-01-10 15:45 (GMT+0100) Per Jessen composed:
I'd like to save time if I can. It looks like dd will do about 97Mb/s which makes 1.5Tb take at least a couple of hours.
Some variation of Greg's suggestion is a good way to save time. Most Windows users have all their personal stuff in Documents & Settings, so if you only copy that with an archiver, then look around to see if they put things elsewhere and copy that too, it should be all you need, and save time also in deciding what to copy back after the recovery. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Perhaps CLONEZILLA will be useful http://www.clonezilla.org/ -- Bill Bixby Laconia, NH On Thursday, January 10, 2013 07:25:01 AM Per Jessen wrote:
I'm helping my neighbour fix his PC, and I want to backup the disk(s) before I re-image it. I've been away from Windows for so long that I forget - is it sufficient to simply rsync everything from NTFS to my backup disk (which won't be using NTFS)?
Many thanks in advance. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am Donnerstag, 10. Januar 2013, 13:25:01 schrieb Per Jessen:
I'm helping my neighbour fix his PC, and I want to backup the disk(s) before I re-image it. I've been away from Windows for so long that I forget - is it sufficient to simply rsync everything from NTFS to my backup disk (which won't be using NTFS)?
Have a look on ntfsclone ( part of the ntfsutils package) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (8)
-
Bernhard Voelker
-
Bill Bixby
-
Felix Miata
-
Greg Freemyer
-
ianseeks
-
James Knott
-
Markus Koßmann
-
Per Jessen