Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backups #63

Open
adriaaah opened this issue Jun 4, 2015 · 0 comments
Open

Backups #63

adriaaah opened this issue Jun 4, 2015 · 0 comments

Comments

@adriaaah
Copy link

adriaaah commented Jun 4, 2015

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 [email protected].*
-rw-rw-r-- 1 zimbra zimbra 340 May 31 23:37 [email protected]
-rw-rw-r-- 1 zimbra zimbra 341 May 31 23:37 [email protected]
-rw-rw-r-- 1 zimbra zimbra 28K May 31 23:37 [email protected]
-rw-rw-r-- 1 zimbra zimbra 336 May 31 23:37 [email protected]

$zmbkpose -f
[snip]
2015-06-04 10:44:30 DEBUG: [email protected] - START FULL backup ...
2015-06-04 10:44:30 DEBUG: [email protected] - Doing ldap backup ...
2015-06-04 10:44:30 DEBUG: [email protected] - ldap backup complete
2015-06-04 10:44:30 DEBUG: [email protected] - Doing mailbox backup ...
2015-06-04 10:44:30 DEBUG: [email protected] - Doing mailbox backup ...
2015-06-04 10:44:30 DEBUG: [email protected] - mailbox backup complete
2015-06-04 10:44:30 DEBUG: [email protected] - generated tar file /opt/backup/[email protected]/20150604104430:FULL.tar
2015-06-04 10:44:30 DEBUG: [email protected] - backup size is 20K
2015-06-04 10:44:30 DEBUG: [email protected] - END in 0secs,
[/snip]

zimbra@mail:/opt/backup/[email protected]$ 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/[email protected]$ file 20150604104430\:FULL.tar
20150604104430:FULL.tar: POSIX tar archive (GNU)
zimbra@mail:/opt/backup/[email protected]$ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant