bggo / Zmbkpose

The zmbkpose tool is a shell script that does hot backup and hot restore of ZCS Opensource accounts, GPL(OPENSOURCE). It can run from any host in the net, which means that it can be set on a backup server already existent.
http://wiki.zimbra.com/wiki/HOT_Backup_and_HOT_Restore
GNU General Public License v3.0
79 stars 56 forks source link

rewrite_proposal_v2.0 branch : curl error #51

Closed monaengine closed 10 years ago

monaengine commented 10 years ago

Hello,

during the execution of the program find a number of these errors, you know, tell me if they are to be ignored?


/bin/tar: mailbox.tgz: file changed as we read it
/bin/tar: mailbox.tgz: file changed as we read it
rm: cannot remove `/mnt/backup/1': Directory not empty
rm: cannot remove `/mnt/backup/1/.nfs0000000002f800bf00000069': Device or resource busy
2014-04-29 12:30:29 DEBUG: user1@domain1 - mailbox backup complete 
2014-04-29 12:30:29 DEBUG: user1@domain1 - generated tar file /mnt/backup/user1@domain1/20140429123021:FULL.tar 
2014-04-29 12:30:29 DEBUG: user1@domain1 - backup size is 0 
2014-04-29 12:30:29 DEBUG: user1@domain1 - END in 8secs, 
mkdir: cannot create directory `/mnt/backup/1': File exists
mkdir: cannot create directory `/mnt/backup/1': File exists
2014-04-29 12:30:31 DEBUG: user2@domain2 - START FULL backup ... 
2014-04-29 12:30:31 DEBUG: user2@domain2 - Doing ldap backup ... 
2014-04-29 12:30:31 DEBUG: user3@domain3 - START FULL backup ... 
2014-04-29 12:30:31 DEBUG: user3@domain3 - Doing ldap backup ... 
2014-04-29 12:30:31 DEBUG: user4@domain4 - START FULL backup ... 
2014-04-29 12:30:31 DEBUG: user4@domain4 - Doing ldap backup ... 
2014-04-29 12:30:31 DEBUG: user2@domain2 - ldap backup complete 
2014-04-29 12:30:31 DEBUG: user2@domain2 - Doing mailbox backup ... 
2014-04-29 12:30:31 DEBUG: user2@domain2 - No a mail account. Skipping mailbox backup. 
2014-04-29 12:30:31 DEBUG: user3@domain3 - ldap backup complete 
2014-04-29 12:30:31 DEBUG: user3@domain3 - Doing mailbox backup ... 
2014-04-29 12:30:31 DEBUG: user2@domain2 - generated tar file /mnt/backup/user2@domain2/20140429123031:FULL.tar 
2014-04-29 12:30:31 DEBUG: user4@domain4 - ldap backup complete 
2014-04-29 12:30:31 DEBUG: user2@domain2 - backup size is 0 
2014-04-29 12:30:31 DEBUG: user4@domain4 - Doing mailbox backup ... 
2014-04-29 12:30:31 DEBUG: user3@domain3 - Doing mailbox backup ... 
2014-04-29 12:30:31 DEBUG: user2@domain2 - END in 0secs, 
cat: /mnt/backup/1/acct.ldif: No such file or directory
2014-04-29 12:30:31 DEBUG: user4@domain4 - No zimbraMailHost ldap attribute. 
curl: (23) Failed writing body (0 != 1)
mkdir: cannot create directory `/mnt/backup/1': File exists
mkdir: cannot create directory `/mnt/backup/1': File exists
liandros commented 10 years ago

Hi. Thanks monaengine There is a old error in zmbkpose rewrite_proposal_v2.0 branch. Specifically the error: mkdir: cannot create directory `/mnt/backup/1': File exists A new patch was pushed ( code a9dfeeafbd). Download and try please.

monaengine commented 10 years ago

works. thank you!