Backing up the BSD's

From WTFwiki
Revision as of 06:32, 6 June 2019 by Anexit (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 -