PDA

View Full Version : Advice on backup configuration



alundrigan
September 17th, 2008, 05:59 AM
Hi All. I am thinking of chucking out our custom-built backup solution (mostly shell scripts) in favor of AMANDA. However, being new to AMANDA, it's configuration and method of backup is very confusing to me. I was wondering if someone could suggest an AMANDA configuration for my situation?

Our current system (covering only OS/home backups) uses dump/ufsdump to dump non-fulls (L3,L5) to a SAN and fulls (L0) to SDLT 220/320 drives , and follows this pattern:

W# S M T W T F S
W1 5 5 5 5 5 3 -
W2 5 5 5 5 5 0 -
W3 5 5 5 5 5 3 -
W4 5 5 5 5 5 0 -

I have been instructed to build a new backup system to accompany the addition of a large SAN, and have received a DLT-S4 tape library to help. This is what I need to implement:

What I need to back up:
- SAN with 6TB of disk space (1.5TB in use)
- OS and home partitions of 2 Solaris 10 and 6 SuSE linux servers

Retention goal I need to meet:
- A full backup of the SAN once per month, with last 3 fulls retained (offsite)
- A full backup of OS and home partitions twice monthly, with last 3 fulls retained (offsite)

Available Backup Media: DLT-S4 tape library (32 slot) + 40 tapes (can get more if necessary)

On the backup server I have 3x 300GB Ultra320 SCSI drives in RAID0 (~820GB) and a 1.5TB SAN (very slow, ~5MB/sec) at AMANADA's disposal.

Thanks in advance for your help!
-Adam Lundrigan

ed@zmanda.com
October 4th, 2008, 10:45 PM
Hi Adam,

A good starting point is the “Set up the Open Source Backup Software Amanda Community in About 15 Minutes” white paper, available at www.zmanda.com.
Just register at
http://network.zmanda.com/register.php?redirect=documentation.php&anchor=whitepapers

Take a look on the white paper and ... start backing up!

This paper covers the installation (server and clients) and configuration of one backup server and four backup clients (two Linux boxes+two Windows boxes).

Just to give you an idea of how your /home backup could be configured:
$ amserverconfig daily --template disk --tapedev /var/lib/amanda/vtapes/daily --mailto me@mydomain.com --dumpcycle 5 --runspercycle 1 --tapecycle 20 --runtapes 1

Explaining:
amserverconfig : command that creates the initial Amanda configuration
daily : the name of this backup set
template disk : this backup is written to disk (or “virtual” tape -vtape-)
tapedev /var/lib/amanda/vtapes/daily : this is the path of the vtapes
mailto me@mydomain.com : Amanda emails the backup report to this address
dumpcycle 5 : This backup cycle has 5 days (lets say ... Mon to Fri)
runspercycle 1 : This backup runs only once per day
tapecycle 20 : 20 vtapes (4 weeks) on the cycle
runtapes 1 : The maximum number of tapes (in this case “vtapes”) used in a single run

On this link you'll find the man page for several Amanda commands.
http://wiki.zmanda.com/man/amanda.8.html

And if you need Enterprise Support level and a GUI to create and manage easily your backup sets, you can consider the Amanda Enterprise Edition (http://www.zmanda.com/amanda-enterprise-edition.html)

Regards,

jpmigue
May 18th, 2010, 06:21 AM
This answer contradicts the below thread and the man page for amand.conf, which states:


runspercycle int

Default: same as dumpcycle. The number of amdump runs in dumpcycle days. A value of 0 means the same value as dumpcycle. A value of -1 means guess the number of runs from the tapelist(5) file, which is the number of tapes used in the last dumpcycle days / runtapes.

http://forums.zmanda.com/showthread.php?t=1393