Quote:
Originally Posted by heinzg Hi there The Fold,
post me the config section of the script.
did you run the script with the install option?
you on Fedora, where did you get dar from & what version?
what is wrong with the md5checksum?
I don't wana get your hopes up, I will do my best but Fedora7 is not really supported by me... to many odd thing in them oldhat boxes
Cheers
heinzg |
Hi heinz, thanks for taking a look.
Here is the config section of the script. I did run the script with the install option.
Code:
#------- CONFIG -------#
# Edit this part of the script to fit your needs.
#
#--- Directories ---#
# Please add the trailing "/" to directories!
ZM_HOME=/opt/zimbra/
SYNC_DIR=/opt/fakebackup/
ARCHIVEDIR=/opt/backup/zimbra_dars/
TOO_MEDIA_DIR=/opt/backup/burn/
#
#--- PROGRAM OPTIONS ---#
RSYNC_OPTS="-aHK --delete --exclude=*.pid"
#
#--- ARCHIVE NAMES ---#
BACKUPNAME="Zimbra_Backup"
BACKUPTYPE_F="FULL" # name prefix to sort between full and diff backups
BACKUPTYPE_D="DIFF"
BACKUPDATE=`date +%d-%B-%Y`
#
#--- ARCHIVE SIZE ---#
# storage media size
ARCHIVESIZE="4395M"
COMPRESS="9" # valid answers are 1 - 9 ( 9 = best )
CRYPT="yes" # valid answers are "yes" or "no"
PASSDIR=/etc/zmbac/
PASSFILE="noread"
#
#--- EMAIL ADDRESS ---#
EMAIL="thefold@mycompany.co.uk"
EMAILCC=""
LOG="/var/log/zim_backup.log"
#--- SSH REMOTE DR COPY ---#
# This option will secure copy you archives to a remote server via 'scp'
DRCP="yes" # valid answers are "yes" or "no"
SSHUSER="root"
SSHKEY="rsa" # recommended answers are "rsa" or "dsa" but "rsa1" is also valid.
REMOTEHOST="server2"
REMOTEDIR="/sambashares/backup/zimbra/"
Here is the info from dar, which I installed using the command 'yum install dar' as is the standard way on Fedora.
Code:
dar version 2.3.4, Copyright (C) 2002-2052 Denis Corbin
Long options support : YES
Using libdar 4.3.0 built with compilation time options:
Libz compression (gzip) : YES
Libbz2 compression (bzip2) : YES
Strong encryption : YES
Extended Attributes support: NO
Large files support (> 2GB): YES
ext2fs NODUMP flag support : YES
Special allocation scheme : YES
Integer size used : unlimited
Thread safe support : YES
compiled the Jul 4 2007 with GNUC version 4.1.2 20070502 (Red Hat 4.1.2-12)
dar is part of the Disk ARchive suite (Release 2.3.4)
dar comes with ABSOLUTELY NO WARRANTY; for details
type `dar -W'. This is free software, and you are welcome
to redistribute it under certain conditions; type `dar -L | more'
for details.
I'm not sure what the problem is with the md5checksum, as if I run the process manually it works fine. Just that the part of the script that said it had the error is where it is performing that function.