Re: Dump and restore for Windows partitions



On Jan 30, 2008 2:08 PM, Roland Smith <rsmith@xxxxxxxxx> wrote:
On Wed, Jan 30, 2008 at 09:18:53AM -0500, Martin Boulianne wrote:
Hi,
Maybe this is a dumb question, but I was wondering if I could use
dump (and restore) on Windows NTFS partitions.

Say I have a NTFS partition, ad0s1. Could I use:
# dump -b 4 -f /backups/winxp.dump /dev/ad0s1

Dump is only suited for FreeBSD's native UFS filesystem.

Or after a restore, Windows would be able to read the files? What about dd,
with something like:
# dd if=/dev/ad0s1 of=/backups/winxp.bck bs=4k

This should work, I think. But it will take up a lot of space, because
it will copy the every sector (even unused ones).

Unless there are special features of NTFS that you use, you could mount
the volume, and make a backup with zip(1) or tar(1). Note that with this method
you will probably lose any NTFS attributes.

The port sysutils/ntfsprogs contains programs like ntfsclone and
ntfscp. Maybe those can be of use?

Probably the best tool to completely backup an NTFS partition is a
windows-based tool.

Roland
--
R.F.Smith http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


Hi Roland,
Well, from its man pages, ntfsclone seems very promising!!
If it is restored to a different partition than the one it was backuped from,
Windows won't boot. But that's easy to fix...

Anyway it's for backup purpose, so I shall use it on the same partition.
Moreover, I use FreeBSD's boot manager, so I don't give a crap =P


Thanks! =)
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: backup issue
    ... If I backup in FAT32, ... have to restore individual files. ... >file size on a FAT32 vs. an NTFS partition: ...
    (microsoft.public.windows.server.general)
  • Re: WinXP Missing File
    ... You should boot with the Windows XP CD and use the Recovery Console to ... Knoppix 3.4 to restore the file. ... mount the NTFS partition using the ...
    (microsoft.public.windowsxp.security_admin)
  • Re: burning of ntfs partition to a dvd
    ... I am trying to burn a ntfs partition (windows xp) lying in /dev/sda2 ... I would use another method to backup. ... The resulting image file can be saved to any media. ...
    (comp.os.linux.misc)
  • Re: correlate volume number to disk ?
    ... Volume 6 C Windows 2K NTFS Partition 6142 MB Healthy System ... Poking around the event viewer I also see this message 22 minutes before the ...
    (comp.sys.ibm.pc.hardware.storage)
  • RAID 0 and the formatting of Partitions - Crossposted
    ... This is before either partitioning or formatting! ... So I choose 128 for performance then started the Windows install process. ... Windows got installed on an NTFS partition formatted with ... cluster take up 128KB of harddrive space? ...
    (microsoft.public.windowsxp.hardware)