I don't know if this would be considered a bug in the backup script on the wiki or just a "watch out".
But, my /opt/zimbra directory is the logical volume. Not a subdirectory.
Code:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 6940516 3188004 3394264 49% /
/dev/hda1 101086 9363 86504 10% /boot
/dev/shm 119784 0 119784 0% /dev/shm
/dev/mapper/mail-pmail
5039616 739268 4044348 16% /opt/zimbra
/dev/shm 153600 0 153600 0% /opt/zimbra/amavisd-new-2.3.3/tmp So, line 62 of the script (the tar line) which originally looks like this:
Code:
tar zcvf $backup_dir/zimbra.backup.tar.gz /tmp/ZimbraBackup/zimbra/ 2&> /dev/null
Should probably look more like this:
Code:
tar zcvf $backup_dir/zimbra.backup.tar.gz /tmp/ZimbraBackup/ 2&> /dev/null
Unless I have my volumes set up incorrectly. But, I really don't want to make my lv /opt. I may place other things in there that I don't want taking up space on the zimbra volume.