doCoherencyCheck
zxsuite backup doCoherencyCheck backup_path [param VALUE[,VALUE]]
PARAMETER LIST
NAME |
TYPE |
EXPECTED VALUES |
DEFAULT |
backup_path(M) |
Path |
||
accountIds(O) |
String[,..] |
all |
|
checkZimbra(O) |
Boolean |
true|false |
false |
fixBackup(O) |
Boolean |
true|false |
false |
notifications(O) |
Email Address[,..] |
||
fixDoubleGzip(O) |
String |
skip|check|fix |
skip |
(M) == mandatory parameter, (O) == optional parameter
Example:
zxsuite backup doCoherencyCheck /opt/zimbra/backup/zextras/ accountIds d10759b2-58d3-48fc-b587-93d507340c79,9e6f4a6d-4b3c-41e9-a5e4-06f9eee136ad
Performs a coherency check on /opt/zimbra/backup/zextras/ for Jack’s and John’s accounts
Example:
zxsuite backup doCoherencyCheck /opt/zimbra/backup/zextras/ fixBackup true
Performs a coherency check on /opt/zimbra/backup/zextras/ and moves corrupted backup files and blob files not referenced by any metadata out of backup