Command Format of restore: restore options arguments [filenames/directory] restore將dump archive files中備份的檔案還原至指定的目錄
restore files from dump archives with interactive mode [root@nmc /data]# dump 0f /data/etc.dmp /etc ##babckup /etc to a file "/data/etc.dmp [root@nmc /data]# restore -if etc.dmp ^^^^進入restore的interactive mode restore > ls .: etc/
restore > cd etc restore > add passwd restore > add hosts ^^^^將/etc/passwd 及 /etc/hosts列入還原清單 restore > extract ^^^^還原/etc/passwd 及 /etc/hosts(還原至/data目錄之下) You have not read any tapes yet. Unless you know which volume your file(s) are on you should start with the last volume and work towards the first. Specify next volume #: 1 set owner/mode for '.'? [yn] n restore > quit