I just set up a new CentOS 4.2 server with Amanda 2.4.4p3. I can't seem
to get a level 0 backup. I want a level 0 M-F and when I'm not there S-Sun
it is for a degraded backup. I have tried to set everything up
correctly and
what follows are pieces of amanda.conf and logs...
******** amanda.conf ********
dumpcycle 0
runspercycle 0
tapecycle 4 tapes
holdingdisk hd1 {
comment "main holding disk"
directory "/usr/dumps/amanda" # where the holding disk is
use -1 Gb # how much space can we use on it
# a negative value mean:
# use all space except that value
# chunksize 2 Gb # size of chunk if you want big dump to be
# dumped on multiple files on holding disks
# N Kb/Mb/Gb split disks in chunks of size N
# 0 split disks in INT_MAX/1024 Kb chunks
# -N Kb/Mb/Gb dont split, dump larger
# filesystems directly to tape
# (example: -2 Gb)
}
define dumptype global {
comment "Global definitions"
# This is quite useful for setting global parameters, so you don't have
# to type them everywhere. All dumptype definitions in this sample file
# do include these definitions, either directly or indirectly.
# There's nothing special about the name `global'; if you create any
# dumptype that does not contain the word `global' or the name of any
# other dumptype that contains it, these definitions won't apply.
# Note that these definitions may be overridden in other
# dumptypes, if the redefinitions appear *after* the `global'
# dumptype name.
# You may want to use this for globally enabling or disabling
# indexing, recording, etc. Some examples:
index yes
# record no
}
define dumptype always-full {
global
comment "Full dump of this filesystem always"
compress none
priority high
dumpcycle 0
}
******* disklist *******
g1.green-mfg.com / always-full -1 local
******* amdump report *******
These dumps were to tape DailySet1001.
The next tape Amanda expects to use is: DailySet1002.
STATISTICS:
Total Full Daily
-------- -------- --------
Estimate Time (hrs:min) 0:04
Run Time (hrs:min) 0:07
Dump Time (hrs:min) 0:03 0:00 0:03
Output Size (meg) 7.2 0.0 7.2
Original Size (meg) 7.2 0.0 7.2
Avg Compressed Size (%) -- -- -- (level:#disks ...)
Filesystems Dumped 1 0 1 (3:1)
Avg Dump Rate (k/s) 37.1 -- 37.1
Tape Time (hrs:min) 0:00 0:00 0:00
Tape Size (meg) 7.2 0.0 7.2
Tape Used (%) 0.0 0.0 0.0 (level:#disks ...)
Filesystems Taped 1 0 1 (3:1)
Avg Tp Write Rate (k/s) 9331.7 -- 9331.7
USAGE BY TAPE:
Label Time Size % Nb
DailySet1001 0:00 7.2 0.0 1
******* debug output *******
sendbackup: debug 1 pid 11947 ruid 33 euid 33: start at Thu Nov 17 10:00:07 2005
/usr/lib/amanda/sendbackup: version 2.4.4p3
parsed request as: program `DUMP'
disk `/'
device `/'
level 3
since 2005:11:17:4:7:42
options `|;bsd-auth;index;'
sendbackup: try_socksize: send buffer size is 65536
sendbackup: time 0.000: stream_server: waiting for connection: 0.0.0.0.38242
sendbackup: time 0.000: stream_server: waiting for connection: 0.0.0.0.38243
sendbackup: time 0.000: stream_server: waiting for connection: 0.0.0.0.38244
sendbackup: time 0.000: waiting for connect on 38242, then 38243, then 38244
sendbackup: time 0.001: stream_accept: connection from 10.0.0.4.38245
sendbackup: time 0.001: stream_accept: connection from 10.0.0.4.38246
sendbackup: time 0.001: stream_accept: connection from 10.0.0.4.38247
sendbackup: time 0.001: got all connections
sendbackup: time 0.002: dumping device '/dev/mapper/VolGroup00-LogVol00' with
'ext3'
sendbackup: time 0.003: spawning /sbin/dump in pipeline
sendbackup: argument list: dump 3usf 1048576 - /dev/mapper/VolGroup00-LogVol00
sendbackup: time 0.003: started index creator: "/sbin/restore -tvf - 2>&1 | sed
-e '
s/^leaf[ ]*[0-9]*[ ]*\.//
t
/^dir[ ]/ {
s/^dir[ ]*[0-9]*[ ]*\.//
s%$%/%
t
}
d
'"
sendbackup: time 0.006: 93: normal(|): DUMP: Date of this level 3 dump: Thu
Nov 17 10:00:07 2005
sendbackup: time 0.007: 93: normal(|): DUMP: Date of last level 2 dump: Wed
Nov 16 23:07:42 2005
sendbackup: time 0.007: 93: normal(|): DUMP: Dumping
/dev/mapper/VolGroup00-LogVol00 (/) to standard output
sendbackup: time 0.116: 93: normal(|): DUMP: Label: none
sendbackup: time 0.116: 93: normal(|): DUMP: Writing 10 Kilobyte records
sendbackup: time 0.117: 93: normal(|): DUMP: mapping (Pass I) [regular
files]
sendbackup: time 31.929: 93: normal(|): DUMP: mapping (Pass II)
[directories]
sendbackup: time 204.224: 93: normal(|): DUMP: estimated 3638 blocks.
sendbackup: time 204.226: 93: normal(|): DUMP: Volume 1 started with block
1 at: Thu Nov 17 10:03:32 2005
sendbackup: time 204.272: 93: normal(|): DUMP: dumping (Pass III)
[directories]
sendbackup: time 204.651: 93: normal(|): DUMP: dumping (Pass IV) [regular
files]
sendbackup: time 205.174: 93: normal(|): DUMP: Volume 1 completed at: Thu
Nov 17 10:03:32 2005
sendbackup: time 205.175: index created successfully
sendbackup: time 205.175: 93: normal(|): DUMP: Volume 1 7240 blocks (7.07MB)
sendbackup: time 205.175: 62: size(|): DUMP: 7240 blocks (7.07MB)
sendbackup: time 205.176: 93: normal(|): DUMP: finished in less than a
second
sendbackup: time 205.176: 93: normal(|): DUMP: Date of this level 3 dump:
Thu Nov 17 10:00:07 2005
sendbackup: time 205.176: 93: normal(|): DUMP: Date this dump completed:
Thu Nov 17 10:03:32 2005
sendbackup: time 205.177: 93: normal(|): DUMP: Average transfer rate: 0 kB/s
sendbackup: time 205.177: 93: normal(|): DUMP: DUMP IS DONE
sendbackup: time 205.177: pid 11947 finish time Thu Nov 17 10:03:32 2005
What did I miss?