Zmbkpose icon indicating copy to clipboard operation
Zmbkpose copied to clipboard

zmbkpose -f backing up all mail exept the last created account

Open ckruijntjens opened this issue 10 years ago • 12 comments

Hi all,

I use zmbkpose -f and it backups all accounts except for the last created account. I deleted the last account but then when i perform again a full backup it lacks again to backup the account created before the last created account. I get an error at the end of the script.

curl: (6) Could not resolve host: ; Name or service not known

Can someone help me please??

Tanx in advance

ckruijntjens avatar Sep 06 '14 21:09 ckruijntjens

apologies for the delay in response. There is a fixed in "Issue #52" Please can you re-download y try : http://github.com/bggo/Zmbkpose/archive/rewrite_proposal_v2.0.zip

liandros avatar Oct 06 '14 12:10 liandros

hi great,

it is working now. But my next question is. before when i wanted to restore a account to another account i user zmbkpose --restoreOnAccount. Now it is not recognizing this command.

How can i do this with the new zmbkpose???

chris kruijntjens.

ckruijntjens avatar Oct 13 '14 19:10 ckruijntjens

In zmbkpose rewrite_proposal, there are different option arguments. try "zmbkpose -h" por help. for restore, you can use -r or -R

liandros avatar Oct 23 '14 12:10 liandros

hi there,

I know how i should restore a account, But in the previous version whe could restore a backed up account to another account name. How can we perform This action now?

So when i wanted to restore an acount i could use the following prefix.

zmbkpose --RestoreOnaccount [email protected] [email protected]

chris kruijntjens.

ckruijntjens avatar Nov 07 '14 13:11 ckruijntjens

Please heck readme file inside zip package. Inside you can find small instruction. 7 lis 2014 14:58 "ckruijntjens" [email protected] napisał(a):

hi there,

I know how i should restore a account, But in the previous version whe could restore a backed up account to another account name. How can we perform This action now?

So when i wanted to restore an acount i could use the following prefix.

zmbkpose --RestoreOnaccount [email protected] [email protected]

chris kruijntjens.

— Reply to this email directly or view it on GitHub https://github.com/bggo/Zmbkpose/issues/54#issuecomment-62147857.

arekstuka avatar Nov 07 '14 15:11 arekstuka

Hi arek,

I know and i read it. But i van not seem to find the right command to do this??

Chris kruijntjens

Op 7 nov. 2014 om 16:33 heeft Arek [email protected] het volgende geschreven:

Please heck readme file inside zip package. Inside you can find small instruction. 7 lis 2014 14:58 "ckruijntjens" [email protected] napisał(a):

hi there,

I know how i should restore a account, But in the previous version whe could restore a backed up account to another account name. How can we perform This action now?

So when i wanted to restore an acount i could use the following prefix.

zmbkpose --RestoreOnaccount [email protected] [email protected]

chris kruijntjens.

— Reply to this email directly or view it on GitHub https://github.com/bggo/Zmbkpose/issues/54#issuecomment-62147857.

— Reply to this email directly or view it on GitHub.

ckruijntjens avatar Nov 07 '14 20:11 ckruijntjens

You want to restore one account rigth? Example [email protected] ??? Your script are revrite proposal 2? 7 lis 2014 21:18 "ckruijntjens" [email protected] napisał(a):

Hi arek,

I know and i read it. But i van not seem to find the right command to do this??

Chris kruijntjens

Op 7 nov. 2014 om 16:33 heeft Arek [email protected] het volgende geschreven:

Please heck readme file inside zip package. Inside you can find small instruction. 7 lis 2014 14:58 "ckruijntjens" [email protected] napisał(a):

hi there,

I know how i should restore a account, But in the previous version whe could restore a backed up account to another account name. How can we perform This action now?

So when i wanted to restore an acount i could use the following prefix.

zmbkpose --RestoreOnaccount [email protected] [email protected]

chris kruijntjens.

— Reply to this email directly or view it on GitHub https://github.com/bggo/Zmbkpose/issues/54#issuecomment-62147857.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/bggo/Zmbkpose/issues/54#issuecomment-62205618.

arekstuka avatar Nov 07 '14 20:11 arekstuka

Hi this is correct but i want to restore as example [email protected] to [email protected]?

Verstuurd vanaf mijn iPhone

Op 7 nov. 2014 om 21:20 heeft Arek [email protected] het volgende geschreven:

You want to restore one account rigth? Example [email protected] ??? Your script are revrite proposal 2? 7 lis 2014 21:18 "ckruijntjens" [email protected] napisał(a):

Hi arek,

I know and i read it. But i van not seem to find the right command to do this??

Chris kruijntjens

Op 7 nov. 2014 om 16:33 heeft Arek [email protected] het volgende geschreven:

Please heck readme file inside zip package. Inside you can find small instruction. 7 lis 2014 14:58 "ckruijntjens" [email protected] napisał(a):

hi there,

I know how i should restore a account, But in the previous version whe could restore a backed up account to another account name. How can we perform This action now?

So when i wanted to restore an acount i could use the following prefix.

zmbkpose --RestoreOnaccount [email protected] [email protected]

chris kruijntjens.

— Reply to this email directly or view it on GitHub https://github.com/bggo/Zmbkpose/issues/54#issuecomment-62147857.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/bggo/Zmbkpose/issues/54#issuecomment-62205618.

— Reply to this email directly or view it on GitHub.

ckruijntjens avatar Nov 07 '14 20:11 ckruijntjens

I never try like this : restore one account to other one. below you can find small instruction . How to restore account. When its compl. Please use rsync to move one mailbox to other one. I did it couple of times rsync also to import all mails from [email protected] to my zimbra server account example [email protected]

Suppose that you have the follows FULL/INCREMENTAL account backups : Monday : Backup FULL Tuesday : Backup INC Wednesday: Backup FULL Thursday : Backup INC Friday : Backup INC

If you restore using $ zmbkpose -r -a [email protected] then you are restauring from last full backup, and subsequent incrementals: backups from wednesday, thursday and friday.

If It's saturday and restore using $ zmbkpose -R 2d -a [email protected] then you are restauring from last full backup, and subsequent incrementals upto reach now - 2 days (saturday - 2 day) : backups from wednesday and thursday

If It's saturday and restore using $ zmbkpose -R 4d -a [email protected] then you are restauring from last full backup(previous to now - 4 days), and subsequent incrementals upto reach now - 4 days (saturday - 4 day) : backups from monday and tuesday 7 lis 2014 21:22 "ckruijntjens" [email protected] napisał(a):

Hi this is correct but i want to restore as example [email protected] to [email protected]?

Verstuurd vanaf mijn iPhone

Op 7 nov. 2014 om 21:20 heeft Arek [email protected] het volgende geschreven:

You want to restore one account rigth? Example [email protected] ??? Your script are revrite proposal 2? 7 lis 2014 21:18 "ckruijntjens" [email protected] napisał(a):

Hi arek,

I know and i read it. But i van not seem to find the right command to do this??

Chris kruijntjens

Op 7 nov. 2014 om 16:33 heeft Arek [email protected] het volgende geschreven:

Please heck readme file inside zip package. Inside you can find small instruction. 7 lis 2014 14:58 "ckruijntjens" [email protected] napisał(a):

hi there,

I know how i should restore a account, But in the previous version whe could restore a backed up account to another account name. How can we perform This action now?

So when i wanted to restore an acount i could use the following prefix.

zmbkpose --RestoreOnaccount [email protected] [email protected]

chris kruijntjens.

— Reply to this email directly or view it on GitHub https://github.com/bggo/Zmbkpose/issues/54#issuecomment-62147857.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/bggo/Zmbkpose/issues/54#issuecomment-62205618.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/bggo/Zmbkpose/issues/54#issuecomment-62206135.

arekstuka avatar Nov 07 '14 20:11 arekstuka

Hi,

Thanx for your feedback. I Will try this. Tommorow.

Chris kruijntjens

Verstuurd vanaf mijn iPhone

Op 7 nov. 2014 om 21:36 heeft Arek [email protected] het volgende geschreven:

I never try like this : restore one account to other one. below you can find small instruction . How to restore account. When its compl. Please use rsync to move one mailbox to other one. I did it couple of times rsync also to import all mails from [email protected] to my zimbra server account example [email protected]

Suppose that you have the follows FULL/INCREMENTAL account backups : Monday : Backup FULL Tuesday : Backup INC Wednesday: Backup FULL Thursday : Backup INC Friday : Backup INC

If you restore using $ zmbkpose -r -a [email protected] then you are restauring from last full backup, and subsequent incrementals: backups from wednesday, thursday and friday.

If It's saturday and restore using $ zmbkpose -R 2d -a [email protected] then you are restauring from last full backup, and subsequent incrementals upto reach now - 2 days (saturday - 2 day) : backups from wednesday and thursday

If It's saturday and restore using $ zmbkpose -R 4d -a [email protected] then you are restauring from last full backup(previous to now - 4 days), and subsequent incrementals upto reach now - 4 days (saturday - 4 day) : backups from monday and tuesday 7 lis 2014 21:22 "ckruijntjens" [email protected] napisał(a):

Hi this is correct but i want to restore as example [email protected] to [email protected]?

Verstuurd vanaf mijn iPhone

Op 7 nov. 2014 om 21:20 heeft Arek [email protected] het volgende geschreven:

You want to restore one account rigth? Example [email protected] ??? Your script are revrite proposal 2? 7 lis 2014 21:18 "ckruijntjens" [email protected] napisał(a):

Hi arek,

I know and i read it. But i van not seem to find the right command to do this??

Chris kruijntjens

Op 7 nov. 2014 om 16:33 heeft Arek [email protected] het volgende geschreven:

Please heck readme file inside zip package. Inside you can find small instruction. 7 lis 2014 14:58 "ckruijntjens" [email protected] napisał(a):

hi there,

I know how i should restore a account, But in the previous version whe could restore a backed up account to another account name. How can we perform This action now?

So when i wanted to restore an acount i could use the following prefix.

zmbkpose --RestoreOnaccount [email protected] [email protected]

chris kruijntjens.

— Reply to this email directly or view it on GitHub https://github.com/bggo/Zmbkpose/issues/54#issuecomment-62147857.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/bggo/Zmbkpose/issues/54#issuecomment-62205618.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/bggo/Zmbkpose/issues/54#issuecomment-62206135.

— Reply to this email directly or view it on GitHub.

ckruijntjens avatar Nov 07 '14 20:11 ckruijntjens

No problem. Let me know ih you have any problems :) 7 lis 2014 21:41 "ckruijntjens" [email protected] napisał(a):

Hi,

Thanx for your feedback. I Will try this. Tommorow.

Chris kruijntjens

Verstuurd vanaf mijn iPhone

Op 7 nov. 2014 om 21:36 heeft Arek [email protected] het volgende geschreven:

I never try like this : restore one account to other one. below you can find small instruction . How to restore account. When its compl. Please use rsync to move one mailbox to other one. I did it couple of times rsync also to import all mails from [email protected] to my zimbra server account example [email protected]

Suppose that you have the follows FULL/INCREMENTAL account backups : Monday : Backup FULL Tuesday : Backup INC Wednesday: Backup FULL Thursday : Backup INC Friday : Backup INC

If you restore using $ zmbkpose -r -a [email protected] then you are restauring from last full backup, and subsequent incrementals: backups from wednesday, thursday and friday.

If It's saturday and restore using $ zmbkpose -R 2d -a [email protected] then you are restauring from last full backup, and subsequent incrementals upto reach now - 2 days (saturday - 2 day) : backups from wednesday and thursday

If It's saturday and restore using $ zmbkpose -R 4d -a [email protected] then you are restauring from last full backup(previous to now - 4 days), and subsequent incrementals upto reach now - 4 days (saturday - 4 day) : backups from monday and tuesday 7 lis 2014 21:22 "ckruijntjens" [email protected] napisał(a):

Hi this is correct but i want to restore as example [email protected] to [email protected]?

Verstuurd vanaf mijn iPhone

Op 7 nov. 2014 om 21:20 heeft Arek [email protected] het volgende geschreven:

You want to restore one account rigth? Example [email protected] ??? Your script are revrite proposal 2? 7 lis 2014 21:18 "ckruijntjens" [email protected] napisał(a):

Hi arek,

I know and i read it. But i van not seem to find the right command to do this??

Chris kruijntjens

Op 7 nov. 2014 om 16:33 heeft Arek [email protected] het volgende geschreven:

Please heck readme file inside zip package. Inside you can find small instruction. 7 lis 2014 14:58 "ckruijntjens" [email protected] napisał(a):

hi there,

I know how i should restore a account, But in the previous version whe could restore a backed up account to another account name. How can we perform This action now?

So when i wanted to restore an acount i could use the following prefix.

zmbkpose --RestoreOnaccount [email protected] [email protected]

chris kruijntjens.

— Reply to this email directly or view it on GitHub < https://github.com/bggo/Zmbkpose/issues/54#issuecomment-62147857>.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/bggo/Zmbkpose/issues/54#issuecomment-62205618.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/bggo/Zmbkpose/issues/54#issuecomment-62206135.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/bggo/Zmbkpose/issues/54#issuecomment-62208506.

arekstuka avatar Nov 07 '14 20:11 arekstuka

Hi, I have downloaded and installed zmbkpose script on zimbra opensource 8.6. I could able to take backup. After taking full backup, i have deleted some of the mails from my inbox and tried to restore using zmbkpose -r -a [email protected].

But it is not restoring any deleted mails.
Kindly help in restoring from the backup.

Thanks in advance.

kondaiahn avatar Mar 18 '17 08:03 kondaiahn