Solved

how to restore zimbra full backup to new server excluding one account

Posted on 2013-06-03
1
849 Views
Last Modified: 2013-07-08
Dear Experts:

I am in process of moving the zcs running in the present server to the new server for which in the new server zcs is also installed and by usingthe zmbackup taken fullbackup and rsync to the new server now for restoring I tried using admin console backup and restore here when selected all accounts import begins later it stops with error as one account admin of new server gets conflict with the old server backup, please help how to exclude admin account and import for the rest of the accounts.

Please suggest the best practice and how to process from here. If have to use CLI to exclude one account please explain how and what commands to execute.
0
Comment
Question by:D_wathi
1 Comment
 
LVL 13

Accepted Solution

by:
Sandy earned 500 total points
ID: 39235834
I tried by performing rsync of /opt/zimbra directory from old to new server and then restarted the services

#zmcontrol restart

it had taken everything from old server. no errors reported.

still i suggest to have a look on below option available in restoration.

---------------------
zmrestore Options
Problems mostly revolve around these options.
To Times In The Past (If -lb Isn't Used, Implies Your Using Times/Incr/RedoSeq AFTER Last Full)
-restoreToIncrLabel
<arg> Replay redo logs up to and including this incremental backup
Requires: --label or -lb
-restoreToTime
<arg> Replay rodo logs until this time
Requires: --label or -lb
-restoreToRedoSeq
<arg> Replay up to and including this redo log sequence
Redolog Variables
--backedupRedologs or -br
Replays the redo logs in backup only, which excludes archived and current redo logs of the system
Only useful when restoring against latest full backup (NOT using the -lb option).
Will restore using incremental backup data after the last full backup as well but NOT including any redolog activity.
--restorefullBackup or -rf
Restores to the full backup only, not any incremental backups since that backup.
The default behavior of zmrestore in general is to always play from a "full" and "incrementals" that are associated with it UNLESS you state otherwise.
If you do:
zmrestore -a user@domain.com -lb full6monthsago
It will playback the incremental data associated with that full from 6 months ago.
If you do:
zmrestore -a user@domain.com -lb full6monthsago -rf
It will ONLY playback the data in the full from 6 months ago.
Will not progress past the data that's in the last full backup, no incremental backups after it in other words.
Implies NO redolog play, so there's no need to use -br.
Targets And Labels
--label or -lb
<arg> The label of the full backup to restore. Restores to the latest full backup if this is omitted.
--target or -t
<arg> Specifies the backup target location. The default is <zimbra_home>/backup.
Impact Of AutoGroup Option Being Used
Place for notes about how autogroup backup option might impact or limit command options.

Thanks
SA
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question