Difference between revisions of "Zimbra Next Generation Modules/Zimbra NG Backup/ExternalBackup"

m (1 revision imported: Zimbra NG)
 
Line 1: Line 1:
<div class="col-md-12"><br></div>
+
#REDIRECT [[Zimbra_NG_Modules/Zimbra_NG_Backup/ExternalBackup]]
<div class="col-md-12"><br></div>
 
<ol class="breadcrumb">
 
  <li>[[Main Page|Zimbra Wiki]]</li>
 
  <li>[[Zimbra_Next_Generation_Modules]]</li>
 
  <li>[[Zimbra_NG_Backup]]</li>
 
  <li class="active"> External Backup</li>
 
</ol>
 
__NOTOC__
 
<div class="col-md-12"><br /></div>
 
<div class="col-md-9">
 
    <h2 class="title-header" style="padding-bottom: 9px; border-bottom: 4px solid #0087c3;">Zimbra NG Backup - External Backup</h2>
 
    <div class="col-md-12">
 
        <div class="ibox-content">
 
            <div class="post animated fadeInLeft animation-delay-8" style="padding-top:5px">
 
                <div class="panel panel-default">
 
                    <div class="panel-body">
 
                        <h5 class="post-title">Zimbra NG Backup - External Backup</h5>
 
                        <div class="row">
 
== What is the External Backup? ==
 
The External Backup is one of the Bakcup Modes of Zimbra NG Backup.
 
 
 
It creates a snapshot of the mail system, ready to be used for a migration. Exported data is deduplicated and compressed to optimize disk utilization, transfer times and I/O rates.
 
 
 
== How does it work? ==
 
The Zimbra NG Backup engine scans through all the data in the Zimbra Datastore, saving all the items (deduplicated and compressed) on a folder of your choice.
 
 
 
== Before you start ==
 
If you are working on a Multistore environment make sure to have read and understood the  [[Zimbra_Next_Generation_Modules/Zimbra_NG_Backup/Multistore_Informations|Multistore informations]] page before starting an External Backup.
 
 
 
=== Folder Permissions ===
 
The destination folder must be readable and writable by the '''zimbra''' user.
 
 
 
In order to create a valid export directory you can run the following commands:
 
 
 
''mkdir /opt/zimbra/backup/yourdestfolder''
 
 
 
''chown -R zimbra:zimbra /opt/zimbra/backup/yourdestfolder''
 
 
 
=== Preparing the migration ===
 
In order to minimize the risk of errors, please perform the following mainteinance procedures before migrating:
 
* Doublecheck Zimbra permissions with the following command (must be ran as root): ''/opt/zimbra/libexec/zmfixperms --verbose --extended''
 
* Reindex all mailboxes.
 
* Check the BLOB consistency with the ''zmblobchk'' utility (see [http://wiki.zimbra.com/wiki/Ajcody-Notes-No-Such-Blob Here] for more details)
 
 
 
== Running an External Backup ==
 
=== Via the Zimbra Next Generation Modules Administration Zimlet ===
 
* Click the Backup tab (be sure to have a valid [[License Management|License]]).
 
 
 
* Click on the "Export Backup" button under "Import/Export" to open the Export Backup wizard.
 
 
 
* Enter the Destination Path in the textbox and press Next. Zimbra Next Generation Modules will check if the destination folder is empty and whether the 'zimbra' user has R/W permissions or not.
 
 
 
* Select the domains you want to export and press Next.
 
 
 
* Verify all your choices in the Operation Summary window. You can also add additional email addresses to be notified when the Restore operation is finished. Pleas notice that the Admin account and the User who started the Restore procedure are notified by default.
 
 
 
=== Via the Zimbra Next Generation Modules CLI ===
 
To start an External Backup via the Zimbra Next Generation Modules CLI, the "doExport" command is available:
 
<pre><nowiki>
 
Syntax:
 
  zxsuite backup doExport {destination_path} [attr1 value1 [attr2 value2...]]
 
 
 
 
 
PARAMETER LIST
 
 
 
NAME                  TYPE                  DEFAULT
 
destination_path(M)    Path                 
 
domains(O)            Domain Name[,..]     all
 
notifications(O)      Email Address[,..]   
 
 
 
(M) == mandatory parameter, (O) == optional parameter
 
 
 
Usage example:
 
 
 
zxsuite backup doexport /opt/zimbra/backup/ domains example.com notifications john@example.com
 
Exports a backup of example.com to /opt/zimbra/backup/ and notifies john@example.com
 
 
 
</nowiki></pre>
 
 
 
== Scheduling Script ==
 
The Zimbra Next Generation Modules Suite CLI can be used to schedule External Backup operation. This comes very handy when you need to keep a daily/weekly/monthly backup for corporate or legal reasons.
 
 
 
                        </div>
 
                    </div>
 
                    <div class="col-md-9">
 
                        <div class="panel-footer">
 
                            <p><i class="fa fa-clock-o"></i> Aug 25, 2016 - [https://www.zimbra.com/email-server-software/ Know more »]</p>
 
                        </div>
 
                    </div>
 
                </div>
 
            </div>
 
        </div>
 
    </div>
 
</div>
 
<div class="col-md-3"><br /></div>
 
<div class="col-md-3">
 
    <div class="panel panel-zimbrared-light-border">
 
        <div class="panel-heading">
 
            <h3 class="panel-title"><i class="fa fa-gear pull-left"></i> Zimbra Next Generation Modules</h3>
 
        </div>
 
        <div class="panel-body">
 
            {{ZNG}}
 
        </div>
 
    </div>
 
</div>
 
<div class="col-md-3">
 
    <div class="panel panel-primary-light-border">
 
        <div class="panel-heading">
 
            <h3 class="panel-title"><i class="fa fa-info-circle pull-left"></i> Zimbra Next Generation Modules Resources</h3>
 
        </div>
 
        <div class="panel-body">
 
            {{ZNGL}}
 
        </div>
 
    </div>
 
</div>
 
<div class="clearfix"></div>
 
<div class="col-md-12"><br></div>
 
{{FH}}
 

Latest revision as of 12:48, 29 November 2017

Jump to: navigation, search