Backing up the BSD's

From WTFwiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Backup a partition on a BSD box;

dump -0uan -f - /usr | gzip -2 > /mnt/usr.dump.gz


Restore a file

You can walk a dump file and look at it's contents by running the command;

gunzip -c usr.dump.gz | restore -if -