Solved

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

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
This is my first article on Expert Exchange on the Manual Method of Exporting Office 365 Mailboxes to PST format by using the eDiscovery mechanism of Office. Hope you will enjoy the article.
This Micro Tutorial will demonstrate the easy use of Gmail embedding images in your email so the recipient of your email can view them in context.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

740 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