User:RobD: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
== restore of a protected disk == | == restore of a protected disk == | ||
I'm using GNU-TAR backup types here, amanda server/client 2.4.5-2 on FC4/FC5 | |||
* find out which backups/tapes you'll need to recover a server (as amanda user) | * find out which backups/tapes you'll need to recover a server (as amanda user) | ||
(amanda@backupserver:~)$ amadmin ambackup info server.domain.tld | |||
* find which tapes are in which slots (as amanda user) | * find which tapes are in which slots (as amanda user) | ||
(amanda@backupserver:~)$ amtape ambackup show | |||
* load a tape (as amanda user) | * load a tape (as amanda user) | ||
(amanda@backupserver:~)$ amtape ambackup slot 2 | |||
* restore the data from that tape to current directory (as root) (restores everything on that tape), piped via GTAR | * restore the data from that tape to current directory (as root) (restores everything on that tape), piped via GTAR | ||
(root@ | (root@backupserver:~)# mkdir working | ||
(root@ | (root@backupserver:~)# cd working | ||
(root@ | (root@backupserver:working)# # amrestore file:/space/vtapes/ambackup/slots server.domain.tld | ||
* repeat as required for all tapes listed in step (1) | * repeat as required for all tapes listed in step (1) | ||
* scp files to destination | * scp files to destination | ||
* use GNU/ | * use GNU/tar to unzip the output from amanda (repeat as req) | ||
[root@destination /]# tar -xpf /root/server.domain.tld._home.20070508.0 | |||
[root@ | |||
Latest revision as of 19:20, 8 May 2007
restore of a protected disk
I'm using GNU-TAR backup types here, amanda server/client 2.4.5-2 on FC4/FC5
- find out which backups/tapes you'll need to recover a server (as amanda user)
(amanda@backupserver:~)$ amadmin ambackup info server.domain.tld
- find which tapes are in which slots (as amanda user)
(amanda@backupserver:~)$ amtape ambackup show
- load a tape (as amanda user)
(amanda@backupserver:~)$ amtape ambackup slot 2
- restore the data from that tape to current directory (as root) (restores everything on that tape), piped via GTAR
(root@backupserver:~)# mkdir working (root@backupserver:~)# cd working (root@backupserver:working)# # amrestore file:/space/vtapes/ambackup/slots server.domain.tld
- repeat as required for all tapes listed in step (1)
- scp files to destination
- use GNU/tar to unzip the output from amanda (repeat as req)
[root@destination /]# tar -xpf /root/server.domain.tld._home.20070508.0