On 3/23/12 10:33 AM, Matt wrote:
I would like to be able to make sure that if my backup server dies with a catastrophic hard disk crash, I can get my backups restored from Amazon S3. Right now, I run my backups to Amazon S3. What additional files would I need to copy to another server to make sure I can run amrestore on a separate server to get my files back?

I have a job that runs right after the amanda backups that backs up the amanda backup user's home directory to another computer. Basically, each of my Amanda backup servers (in different buildings and departments) back up each other that way. The home directory that was backed up onto the other server gets backed up and put on tape by the other server.

If your configuration is, say, daily, then the files of interest are in the daily directory under the amanda backup user's home directory. They include the amanda.conf, the index directory, disklist, tapelist, changer information, etc. I found it easiest to just back up the entire directory.

So, I might have a crontab entry on one of my backup servers as follows:

45 22 * * 1-5 su - amanda -c "/usr/local/sbin/amdump daily" > /dev/null; /usr/local/adm/backup/daily-amanda-config; /usr/local/bin/amchanger daily unload

That stacks the backup, the backup of the home directory afterwords, and a script that I wrote to unload the tape after the backup. Each runs after the other completes.

--
---------------

Chris Hoogendyk

-
   O__  ---- Systems Administrator
  c/ /'_ --- Biology&  Geology Departments
 (*) \(*) -- 140 Morrill Science Center
~~~~~~~~~~ - University of Massachusetts, Amherst

<[email protected]>

---------------

Erdös 4


Reply via email to