Well, seems like we have completed all
steps and now we're ready to run our first backup. There are three
possible ways to run different levels of backup:
- Backup of all servers
- Backup of a particular server
- Backup of a particular server's
disk
For begging, we can try to backup
single disk of one of our servers:
amdump DailySet1 server1.domain.com /home
This command will tell amanda to backup
data located in directory /home on server server1.domain.com. Be
patient and give amanda some time to perform the following steps:
- Run planner.
- Run estimating process on slave
server.
- Compress data and send it to
backup server.
- Write data from backup server's
storage to tape.
If you would like to watch this
process, you can see processes “calcsize”, “tar”,
“sendbackup” running on the slave server, and “gzip” running
on your backup server. Once command is finished, you need to verify
if data has been successfully backuped or not.
Verifying backuped data
On this step you need to verify status
of your server's backup. In order to do that, you can use command
amadmin info:
amadmin DailySet1 info servername [disk]
For example, in our case it can be:
amadmin DailySet1 info server1.domain.com /usr
Current info for server1.domain.com /usr:
Stats: dump rates (kps), Full: 2109.9, 1071.6, -1.0
Incremental: -1.0, -1.0, -1.0
compressed size, Full: 36.8%, 36.8%,-100.0%
Incremental: -100.0%,-100.0%,-100.0%
Dumps: lev datestmp tape file origK compK secs
0 20070517 DailySet1-1 66 1288890 474720 225
Here you can see level of backup, date,
tape's name, number of files, original siz, compressed size, and
number of seconds that took to backup data. If everything is fine,
you can jump into production mode and run amanda daily.
|