Date: Wed, 30 Jan 2008 20:08:00 +0100 From: Roland Smith <rsmith@xs4all.nl> To: Martin Boulianne <frzburn@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Dump and restore for Windows partitions Message-ID: <20080130190800.GA14529@slackbox.xs4all.nl> In-Reply-To: <2942dae0801300618h69e6870eh6baafccaa51886ec@mail.gmail.com> References: <2942dae0801300618h69e6870eh6baafccaa51886ec@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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) [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHoMsQEnfvsMMhpyURAs9QAJ4gguESTOTvd//zUAUzVDZbRr7fAgCfaOSl g7i4q0KXtMbBxeBSsLssYbo= =k2GS -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080130190800.GA14529>
