Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2013-06-03
1
Medium Priority
?
932 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 13

Accepted Solution

by:
Sandy earned 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

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…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
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…
Suggested Courses

618 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