Tuesday, September 18, 2012

How to Amanda Backup Restore?


Amanda backup has can been done by recovery program amrecover, specifying your backup config, host, date, and disk entry. You can then select files with an FTP-like interface.

# amrecover BackupSet1
AMRECOVER Version 2.6.0p2. Contacting server on localhost ...
220 bass AMANDA index server (2.6.0p2) ready.
Setting restore date to today (2008-11-04)
200 Working date set to 2008-11-04.
200 Config set to BackupSet1.
200 Dump host set to bass.foo.com.
Use the setdisk command to choose dump disk to recover
amrecover> sethost bass.foo.com
200 Dump host set to bass.foo.com.
amrecover> setdate 2008-10-14
200 Working date set to 2008-10-14.
amrecover> setdisk /mnt/home8/foobar
200 Disk set to /mnt/home8/foobar.
amrecover> ls

Sunday, September 2, 2012

How to setup a Remote Client to Amanda Backup


Install the amanda client RPM as below and include lot of configuration procedure as below.

# wget http://www.zmanda.com/downloads/community/Amanda/3.3.0/Redhat_Enterprise_5.0/amanda-backup_client-3.3.0-1.rhel5.x86_64.rpm

# rpm -ivh amanda-backup_client-3.3.0-1.rhel5.x86_64.rpm
Preparing...                ########################################### [100%]
Dec  2 2008 14:56:09: Preparing to install: Amanda Community Edition - version 2.5.2p1
Dec  2 2008 14:56:09: Checking for 'amandabackup' user...
Dec  2 2008 14:56:09:
Dec  2 2008 14:56:09:  The 'amandabackup; user account has been successfully created.
Dec  2 2008 14:56:09:  Furthermore, the account has been automatically locked for you
Dec  2 2008 14:56:09:  for security purposes.  Once a password for the  'amandabackup'
Dec  2 2008 14:56:09:  account has been set, the user can be unlocked by issuing
Dec  2 2008 14:56:09:  the following command as root.:
Dec  2 2008 14:56:09:
Dec  2 2008 14:56:09:  # passwd -u amandabackup
Dec  2 2008 14:56:09: