Solved

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

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Article by: Dermot
The life of crime is over for 22 year-old Christian Ian Salvador, a student from Isabela State University in the Philippines.
In this Experts Exchange video Micro Tutorial, I'm going to show how small business owners who use Google Apps can save money by setting up what is called a catch-all email address in their Gmail accounts. By using the catch-all feature, small busin…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

717 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