Amanda-Users

Logs and reporting

2008-09-29 08:34:50
Subject: Logs and reporting
From: Prashant Ramhit <prashant AT bluebarracuda DOT com>
To: amanda-users AT amanda DOT org
Date: Mon, 29 Sep 2008 13:30:46 +0100
Hi All,

I am using amanda 2.5.2 and according to amcheck all is ok. Except that i do not have logs and cannot see if backup is occuring or not. Is there any thing else to enable to get logs and reports or any data on the console.

Kind Regards,
Prashant

######## few output #####

amanda@backupserver:~$ /usr/sbin/amcheck fullback
Amanda Tape Server Host Check
-----------------------------
Holding disk /var/tmp/amanda: 16103076 kB disk space available, using 1024000 kB as requested
read label `FULLBACK-01', date `20080919'
cannot overwrite active tape FULLBACK-01
      (expecting a new tape)
NOTE: conf info dir /var/lib/amanda/fullback/curinfo does not exist
NOTE: it will be created on the next run.
NOTE: index dir /var/lib/amanda/fullback/index/localhost does not exist
NOTE: it will be created on the next run.
Server check took 0.659 seconds

Amanda Backup Client Hosts Check
--------------------------------
WARNING: Usage of fully qualified hostname recommended for Client localhost.
WARNING: Usage of fully qualified hostname recommended for Client localhost.
ERROR: localhost: [can not read/write /var/amanda/gnutar-lists/.: No such file or directory] ERROR: localhost: [can not read/write /etc/amandates: No such file or directory]
Client check: 1 host checked in 0.061 seconds, 2 problems found

(brought to you by Amanda 2.5.2)


##### Amanda.conf ######

amanda@backupserver:~$ /usr/sbin/amdump fullback amanda@backupserver:~$


amanda@backupserver:~$ more /etc/amanda/fullback/amanda.conf
org "Bluebarracuda - Daily Tape"
mailto "root"
dumpuser "amanda"
inparallel 4
netusage 600

# a filesystem is due for a full backup once every day
dumpcycle 0 days
tapecycle 10 tapes
runspercycle 1
runtapes 1

bumpsize 20 MB
bumpdays 1
bumpmult 4

tapedev "/dev/nst0"

tapetype LTO-4
labelstr "^FULLBACK-[0-9][0-9]*$"
infofile "/var/lib/amanda/fullback/curinfo"    # database filename
logdir   "/var/lib/amanda/fullback"            # log directory
indexdir "/var/lib/amanda/fullback/index"      # index directory
amrecover_do_fsf yes
amrecover_check_label yes


holdingdisk hd1 {
   comment "main holding disk"
   directory "/var/tmp/amanda"
   use 1000 Mb
#   chunksize 2 Gb      # size of chunk if you want big dump to be
}



define tapetype LTO-4 {
  comment "HP LTO4 800Gb - Compression Off"
  length 802816 mbytes
  filemark 0 kbytes
  speed 52616 kps
}

define dumptype global {
   # index yes
   # record no
}

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
}

amanda@backupserver:~$

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