Amanda-Users

Is it possible to backup several servers to one tape for 3 days?

2003-07-03 16:05:15
Subject: Is it possible to backup several servers to one tape for 3 days?
From: Anwar Ruff <aruff0011 AT yahoo DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 3 Jul 2003 13:02:03 -0700 (PDT)
Is it possible to backup several servers to one tape
in a consecutive manner over several day (e.g., 5
days)?

Enclosed in this email are my amanda.conf and disklist
files.

Thank You,
Anwar

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
#
# amanda.conf - sample Amanda configuration file.  This started off life as
#               the actual config file in use at CS.UMD.EDU.

org "foo.edu"           # your organization name for reports
mailto "aruff0011 AT yahoo DOT com"             # space separated list of 
operators at your site
dumpuser "amanda"       # the user to run dumps under

inparallel 2            # maximum dumpers that will run in parallel
netusage  600 Kbps      # maximum net bandwidth for Amanda, in KB per sec

dumpcycle 1 weeks       # the number of days in the normal dump cycle
runspercycle 5 days    # the number of amdump runs in dumpcycle days
tapecycle 1 tapes       # the number of tapes in rotation
bumpsize 20 Mb          # minimum savings (threshold) to bump level 1 -> 2
bumpdays 1              # minimum days at each level
bumpmult 4              # threshold = bumpsize * bumpmult^(level-1)

etimeout 300            # number of seconds per filesystem for estimates.
tapedev "/dev/nst0"     # the no-rewind tape device to be used
tapetype v23            # what kind of tape it is (see tapetypes below)
labelstr "^CESSDaily[0-9][0-9]*$"       # label constraint regex: all tapes 
must match

#--------------------------------------------------------------------------#

holdingdisk hd1 {
    comment "main holding disk"
    directory "/var/tmp"        # where the holding disk is
    use -117 Mb         # how much space can we use on it
    }

#--------------------------------------------------------------------------#

infofile "/var/lib/amanda/CESSDaily/curinfo"    # database filename
logdir   "/var/lib/amanda/CESSDaily"            # log directory
indexdir "/var/lib/amanda/CESSDaily/index"      # index directory

#--------------------------------------------------------------------------#

define tapetype v23 {
    comment "V23 tape used with VXA-2"  
    length 63917 mbytes
    filemark 3272 kbytes
    speed 3301 kps
}

#--------------------------------------------------------------------------#

define dumptype global {
    comment "Global definitions"
#--------------------------------------------------------------------------#
}

define dumptype always-full {
    global
    comment "Full dump of this filesystem always"
    compress none 
    priority high
    dumpcycle 0 
}

define dumptype root-tar {
    global
    program "GNUTAR"
    comment "root partitions dumped with tar"
    compress none
    index
    exclude list "/usr/local/lib/amanda/exclude.gtar"
    priority low
}

define dumptype user-tar {
    root-tar
    comment "user partitions dumped with tar"
    priority medium
}

define dumptype high-tar {
    root-tar
    comment "partitions dumped with tar"
    priority high
}

define dumptype comp-root-tar {
    root-tar
    comment "Root partitions with compression"
    compress client fast
}

define dumptype comp-user-tar {
    user-tar
    compress client fast
}

define dumptype holding-disk {
    global
    comment "The master-host holding disk itself"
    holdingdisk no # do not use the holding disk
    priority medium
}

define dumptype comp-user {
    global
    comment "Non-root partitions on reasonably fast machines"
    compress client fast
    priority medium
}

define dumptype nocomp-user {
    comp-user
    comment "Non-root partitions on slow machines"
    compress none
}

define dumptype comp-root {
    global
    comment "Root partitions with compression"
    compress client fast
    priority low
}

define dumptype nocomp-root {
    comp-root
    comment "Root partitions without compression"
    compress none
}

define dumptype comp-high {
    global
    comment "very important partitions on fast machines"
    compress client best
    priority high
}

define dumptype nocomp-high {
    comp-high
    comment "very important partitions on slow machines"
    compress none
}

define dumptype nocomp-test {
    global
    comment "test dump without compression, no /etc/dumpdates recording"
    compress none
    record no
    priority medium
}

define dumptype comp-test {
    nocomp-test
    comment "test dump with compression, no /etc/dumpdates recording"
    compress client fast
}

define interface local {
    comment "a local disk"
    use 1000 kbps
}

define interface eth0 {
    comment "10 Mbps ethernet"
    use 400 kbps
}

#-------------------------------------------------------------------------------------#
#                               Disklist
#-------------------------------------------------------------------------------------#

# Cessw2.fas.nyu.edu, or 192.168.1.2 (Backup Server)
foo.edu hda3    nocomp-high -1 local
foo.edu hda1    nocomp-high -1 local
foo.edu hda7    nocomp-high -1 local
foo.edu hda8    nocomp-high -1 local
foo.edu hda9    nocomp-high -1 local
foo.edu hda2    nocomp-high -1 local
foo.edu hda5    nocomp-high -1 local
foo.edu hda6    nocomp-high -1 local

# Cessf2.fas.nyu.edu, or 192.168.1.3 (Backup Client)
foo2.edu        /dev/sda5       comp-high
foo2.edu        /dev/sda1       comp-high
foo2.edu        /dev/sda3       comp-high
foo2.edu        /dev/sda2       comp-high
foo2.edu        /dev/sda6       comp-high
<Prev in Thread] Current Thread [Next in Thread>