Difference between revisions of "Amanda restore"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
* Run the command <tt>amrecover -C CSDaily -s backup -t backup</tt>. The amrecover command has a syntax similar to the standard UNIX restore command. | * Run the command <tt>amrecover -C CSDaily -s backup -t backup</tt>. The amrecover command has a syntax similar to the standard UNIX restore command. | ||
* Find the file(s) or directories you want to recover and add them with the <tt>add</tt> command. | * Find the file(s) or directories you want to recover and add them with the <tt>add</tt> command. | ||
− | * When you're done, type in the command <tt>extract</tt>. You will be prompted to [[Changing_a magazine_|load a magazine]] and tape. To load a tape once the proper magazine is inserted, use the <tt>amtape CSDaily slot n</tt> command on [[backup]], where ''n'' is the number of the tape. | + | * When you're done, type in the command <tt>extract</tt>. You will be prompted to [[Changing_a magazine_|load a magazine]] and tape. To load a tape once the proper magazine is inserted, use the <tt>amtape CSDaily slot n</tt> command on [[Servers:Backup|backup]], where ''n'' is the number of the tape. |
* Hit '''y''' once the tape and magazine are loaded. | * Hit '''y''' once the tape and magazine are loaded. |
Latest revision as of 13:30, 5 February 2005
This is the procedure for restoring files from amanda to quark.
- On quark, su over to root.
- cd into the root of the filesystem you want to restore (e.g. /clients if the file is on /clients).
- Run the command amrecover -C CSDaily -s backup -t backup. The amrecover command has a syntax similar to the standard UNIX restore command.
- Find the file(s) or directories you want to recover and add them with the add command.
- When you're done, type in the command extract. You will be prompted to load a magazine and tape. To load a tape once the proper magazine is inserted, use the amtape CSDaily slot n command on backup, where n is the number of the tape.
- Hit y once the tape and magazine are loaded.