Consistency Check Plan
The consistency check is a mechanism that helps to avoid data losses. If any discrepancy is found during a consistency check, the user is notified about objects that are missing on backup storage or about a mismatch between object sizes or modification dates.
A consistency check can be created as a separate plan using the command line interface.
Create Consistency Check Plan
Use the acc (or addConsistencyCheckPlan) command to create and configure a separate plan that performs a consistency check.
C:\Program Files\CloudBerryLab\CloudBerry Backup\cbb acc
To view the command help, use the following command:
C:\Program Files\CloudBerryLab\CloudBerry Backup\cbb acc -?
Edit Consistency Check Plan
To edit the consistency plan settings, run the same cbb acc command again with the new settings. This command will recreate the existing plan.
Run Consistency Check Plan
To run the created consistency check plan, use the following command:
C:\Program Files\CloudBerryLab\CloudBerry Backup\cbb plan -r "PlanName"
Command Parameters
The acc command has the following parameters:
- -a. Storage account name
- -aid. Storage account ID
- -ep. Encryption password (backup storage contains encrypted data)
- -skipLegacy. Skip consistency check for legacy backup format. Possible values: yes, no (default)
- -every. Specify recurring schedule type. Possible values: day, week, month, dayofmonth, real-time
- -at. Specify the date and time or time of the consistency check plan schedule. Example: -at "17-Aug-21 17:58" , or -at "17:58" for every day schedule
- -day. Specify the day for 'dayofmonth' schedule (1..31)
- -weekday listOfWeekDays. Specify the day(s) of the week for a weekly schedule. Example: "su, mo, tu, we, th, fr, sa". Or specify the day of the week for a monthly schedule
- -weeknumber. Specify the week number: First, Second, Third, Fourth, Penultimate, Last
- -dailyFrom. Specify the daily recurring "from" value
- -dailyTill. Specify the daily recurring "till" value
- -occurs. Specify the recurring period type. Possible values: hour, min
- -occurValue. Specify a recurring period value
- -repeatEvery. Specify the repeat period value. Possible values: 1..31
- -repeatStartDate. Specify the start date for the recurring schedule
- -output. Output format. Possible values: short, full (default) -?(?,/?,help,man) Show help
Usage Examples
Create a consistency check for both formats (the new backup format and the legacy backup format) for the Local storage account with no schedule:
C:\Program Files\MyCompany\Online Backup\cbb acc -a Local -ep MyEncryptionPassword
Create the consistency check plan for both formats at a specific time:
C:\Program Files\MyCompany\Online Backup\cbb acc -a Local -ep MyEncryptionPassword -at "15:42"