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

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

Open
ckruijntjens opened this issue Sep 6, 2014 · 12 comments
Open

Comments

@ckruijntjens
Copy link

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

@liandros
Copy link
Collaborator

liandros commented Oct 6, 2014

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

@ckruijntjens
Copy link
Author

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.

@liandros
Copy link
Collaborator

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

@ckruijntjens
Copy link
Author

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.

@arekstuka
Copy link

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
#54 (comment).

@ckruijntjens
Copy link
Author

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
#54 (comment).


Reply to this email directly or view it on GitHub.

@arekstuka
Copy link

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
#54 (comment).


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#54 (comment).

@ckruijntjens
Copy link
Author

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
#54 (comment).


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#54 (comment).


Reply to this email directly or view it on GitHub.

@arekstuka
Copy link

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
#54 (comment).


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#54 (comment).


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#54 (comment).

@ckruijntjens
Copy link
Author

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
#54 (comment).


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#54 (comment).


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#54 (comment).


Reply to this email directly or view it on GitHub.

@arekstuka
Copy link

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
#54 (comment).


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#54 (comment).


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#54 (comment).

@kondaiahn
Copy link

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.

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

4 participants