User Tools

Site Tools


docs:tips_n_tricks:dump_restore.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docs:tips_n_tricks:dump_restore.html [17.08.2012 16:45 CEST] peterdocs:tips_n_tricks:dump_restore.html [02.12.2012 13:39 CET] (current) – [restore] peter
Line 2: Line 2:
 ===== restore ===== ===== restore =====
  
-How to use restore in batch mode:+How to use restore most recent files in batch mode:
  
   mkdir /tmp/recover   mkdir /tmp/recover
   cd /tmp/recover   cd /tmp/recover
   restore -x -o -X /tmp/files_to_restore.txt -a  \   restore -x -o -X /tmp/files_to_restore.txt -a  \
-  -f /backup/full.bzdump  +  -f /backup/eldest.bzdump     
-  -f /backup/lev1.bzdump  +  -f /backup/rather_old.bzdump \ 
-  -f /backup/lev2.bzdump  +  -f /backup/less_old.bzdump   
-  -f /backup/lev3.bzdump  \ +  -f /backup/most_recent.bzdump 
-  -/backup/lev4.bzdump + 
-  -f /backup/lev5.bzdump +:!: It seems, ''-//file//'' ist mandatory for restoring from multi level backups as described hereLeaving out ''-//file//'' should restore the whole contents of the dump file, but to my experience only a subset of files will be recovered when used with multiple ''-f //file//'' 
-  -/backup/lev6.bzdump + 
-  -f /backup/lev7.bzdump +^ -x        | e**x**tract | 
-  -f /backup/lev8.bzdump  \ +^ -X <file> | e**X**tract files of names listed in given file | 
-  -f /backup/lev9.bzdump+^ -o        | restore **o**wnership and permission without asking | 
 +^ -a        | read **a**ll volumes, don't ask | 
 +-f <file> | read dump from given **f**ile | 
  
 Ommit the files of levels that do not exist ;-) Ommit the files of levels that do not exist ;-)
docs/tips_n_tricks/dump_restore.html.1345214759.txt.gz · Last modified: 17.08.2012 16:45 CEST by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki