Amanda-Users

incremental backups

2006-05-29 09:12:11
Subject: incremental backups
From: Edson <edsonc.silva AT incor.usp DOT br>
To: Amanda List <amanda-users AT amanda DOT org>
Date: Mon, 29 May 2006 10:03:36 -0300
Hi all.

Im trying to do incremental backups using "tar-excl" but all fail.
The first full its ok, but the second ones not work. The amanda-server
runs without error messages and quit silent, with status "ok".

Thanks for some help.


See my confs:


amanda.conf
**********************************************************************

org "InCor"             # your organization name for reports
mailto "root"           # space separated list of operators at your
site
dumpuser "root"         # the user to run dumps under
inparallel 2            # maximum dumpers that will run in parallel
(max 63)
netusage  800 Kbps      # maximum net bandwidth for Amanda, in KB per
sec
dumpcycle 0             # the number of days in the normal dump cycle
runspercycle 10         # the number of amdump runs in dumpcycle days
tapecycle 4 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.
dtimeout 1800           # number of idle seconds before a dump is
aborted.
ctimeout 30             # maximum number of seconds that amcheck waits
tapebufs 20
runtapes 1              # number of tapes to be used in a single run
of amdump
tapedev "/dev/nrmt0"    # the no-rewind tape device to be used
rawtapedev "/dev/nrmt0" # the raw device to be used (ftape only)
tapetype DLT8000        # what kind of tape it is (see tapetypes below)

holdingdisk hd0 {
    comment "Disco /home1"
    directory "/home1/amanda"   # where the holding disk is
    use 40 Gb           # how much space can we use on it
    chunksize 100 Mb    # size of chunk if you want big dump to be
    }
columnspec "Disk=1:18,HostName=0:10,OutKB=1:7,DumpTime=1:-1"

define tapetype EXABYTE {
    comment "fitas EXABYTE"
    length 5000 mbytes          # 5 Gig tapes
    filemark 1000 kbytes        # I don't know what this means
    speed 1536 kbytes           # 1.5 Mb/s
        }

define tapetype DLT8000 {
    comment "Drive de fitas DLT8000"
    length 80 gbytes            # 80 Gig tapes
    filemark 21 kbytes          # I don't know what this means
    speed 1000 kbytes           # 1Mb/s
}

define tapetype DAT {
    comment "Drives de fita DAT"
    length 8000 mbytes          # these numbers are not accurate
    filemark 100 kbytes         # but you get the idea
    speed 100 kbytes
}

define dumptype global {
    comment "Global definitions"
}

define dumptype dump-full {
    global
    comment "Backup full com dump"
    compress none
    index
    priority medium
    dumpcycle 0
}

define dumptype tar-excl {
    global
    program "GNUTAR"
    comment "Backup com tar, excluindo .amanda.excl"
    compress none
    index
    exclude list ".amanda.excl"
    priority medium
    dumpcycle 0
}

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

define interface eth0 {
    comment "100 Mbps fast ethernet"
    use 1000 kbps
}



amanda.conf
*********************************************************************
includefile "/usr/local/amanda/etc/amanda/common.conf"
labelstr "^Teste"       # label constraint regex: all tapes must match
infofile "/usr/local/amanda/log/teste/curinfo"  # database DIRECTORY
logdir   "/usr/local/amanda/log/teste"          # log directory
indexdir "/usr/local/amanda/log/teste/index"            # index
directory

*********************************************************************


disklist
*********************************************************************
alpes   /home   tar-excl        1       eth0


tapelist
*********************************************************************
20060418 Teste1 reuse



***
Edson C da Silva

<Prev in Thread] Current Thread [Next in Thread>