Backups
adriaaah opened this issue · 0 comments
Hi,
I've tried both last commit and rewrite_proposal_v2.0.zip
, and in two cases I got some files per each user, but these files are few KB. Below is an example:
$ls -lh user@example.com.*
-rw-rw-r-- 1 zimbra zimbra 340 May 31 23:37 user@example.com.Junk.tgz
-rw-rw-r-- 1 zimbra zimbra 341 May 31 23:37 user@example.com.Trash.tgz
-rw-rw-r-- 1 zimbra zimbra 28K May 31 23:37 user@example.com.ldiff
-rw-rw-r-- 1 zimbra zimbra 336 May 31 23:37 user@example.com.tgz
$zmbkpose -f
[snip]
2015-06-04 10:44:30 DEBUG: user@example.com - START FULL backup ...
2015-06-04 10:44:30 DEBUG: user@example.com - Doing ldap backup ...
2015-06-04 10:44:30 DEBUG: user@example.com - ldap backup complete
2015-06-04 10:44:30 DEBUG: user@example.com - Doing mailbox backup ...
2015-06-04 10:44:30 DEBUG: user@example.com - Doing mailbox backup ...
2015-06-04 10:44:30 DEBUG: user@example.com - mailbox backup complete
2015-06-04 10:44:30 DEBUG: user@example.com - generated tar file /opt/backup/user@example.com/20150604104430:FULL.tar
2015-06-04 10:44:30 DEBUG: user@example.com - backup size is 20K
2015-06-04 10:44:30 DEBUG: user@example.com - END in 0secs,
[/snip]
zimbra@mail:/opt/backup/user@example.com$ ls -l
total 20
-rw-r----- 1 zimbra zimbra 20480 Jun 4 10:44 20150604104430:FULL.tar
lrwxrwxrwx 1 zimbra zimbra 23 Jun 4 10:44 LAST -> 20150604104430:FULL.tar
zimbra@mail:/opt/backup/user@example.com$ file 20150604104430\:FULL.tar
20150604104430:FULL.tar: POSIX tar archive (GNU)
zimbra@mail:/opt/backup/user@example.com$ ls -lh 20150604104430\:FULL.tar
-rw-r----- 1 zimbra zimbra 20K Jun 4 10:44 20150604104430:FULL.tar
Those files can not contain any backup, since mailboxes are pretty large.
So, how is supposed to run backups?
Which zmbkpose should I run (since rewrite-proposal
is newer than last commit)?
In my installation, LDAP and mail servers are separated.
Thank you.