Centralized Backup Server With Amanda On CentOS - Page 2
Set Up Client1. Install amanda client with yum: yum -y install amanda-client 2. Edit file .amandahosts to allow communications from server: vi /var/lib/amanda/.amandahosts gamma amanda 3. Edit xinetd.d: vi /etc/xinetd.d/amanda Disable = no 4. Start xinetd: service xinetd start 5. Check Amanda service: lsof | grep amanda
Backup Data1. Check tapes and clients on server: su - amanda 2. Dump manually: /usr/sbin/amdump intra 3. Add amdump to cron: crontab –e 0 16 * * 1-5 /usr/sbin/amcheck -m intra 45 0 * * 2-6 /usr/sbin/amdump intra The first line checks the tape/clients and sends an email if it found something wrong (no email if everything is okay) at 4pm. The second line dumps at 12.45am on weekdays.
Restore Data1. Prepare tapes: cd /tmp 2.1. Restore everything from every server: /usr/sbin/amrestore file:/backup/intra/slots 2.2. Restore only a server and a directory:/usr/sbin/amrestore file:/backup/intra/slots beta /var 3. Extract: tar xvf <Restored files>
|



Recent comments
19 hours 5 min ago
20 hours 15 min ago
22 hours 8 min ago
23 hours 7 min ago
23 hours 22 min ago
1 day 2 hours ago
1 day 4 hours ago
1 day 5 hours ago
1 day 20 hours ago
2 days 12 hours ago