Solved

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

Posted on 2013-06-03
1
834 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

The purpose of this article is to demonstrate how we can use conditional statements using Python.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
The purpose of this video is to demonstrate how to set up an account with Mailchimp. This will be demonstrated using a Windows 8 PC. Tools Used are: Mailchimp.com Go to Mailchimp.com : Enter an Email, Username, and Password. Click Create My Acco…
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, fr…

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now