O'Reilly logo

Absolute FreeBSD, 2nd Edition by Michael W. Lucas

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Restoring from a dump

Archives are useless unless you can recover from them. dump's recovery utility, restore(8), can recover either complete filesystems or individual files. As with tar and dump, the -f flag lets you choose the device or file you wish to restore from.

Checking the Contents of an Archive

To list the contents of your dump, use restore's -t flag:

#restore -t
 Dump   date: Sat Apr  5 08:26:03 2008
 Dumped from: the epoch
 Level 0 dump of /usr on test1.blackhelicopters.org:/dev/ad0s1f
 Label: none
                    2.
          3     ./.snap
      94208     ./bin
      97995     ./bin/bc ... ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required