I think it work properly, but can I write the command like this:
Code:
tar -zcvf /backup/zimbrabackup.tar.gz -C /backup/zimbra . 2>&1
instead of this
Code:
tar -zcvf /backup/zimbrabackup.tar.gz -C /backup/zimbra . >> $local_log_file_name 2>&1
I noticed that the tar file is now 4.6GB when I used:
Code:
rsync -aHk --progress --delete --exclude=/opt/zimbra/tmp/ /opt/zimbra/ /backup/tmp/zimbra/
unlike when I was using this:
rsync -avr /opt/zimbra/ /backup/tmp/zimbra
it was 5.7GB so is the tmp folder is one GB?