User:RobD
Jump to navigation
Jump to search
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