User Tools

Site Tools


public:faq:how_to_run_a_data_integrity_check_on_linux_cli_8008

Table of Contents

FAQ: How to run a Data Integrity Check on Linux (CLI) machine?

Article ID: 8008
Reviewed: 23/06/2021

Product Version: CloudBacko Go 8.5 or above
Operating System: Linux / FreeBSD

Description

This article outlines the steps to perform a Data Integrity Check on a Linux/FreeBSD computer with Command Line Interface (CLI) for backup data stored in the backup destination (e.g. local destination, CloudBacko Go or other cloud storage).

The functions of the Data Integrity Check (DIC) is to:

  1. Identify and remove the files and/or folders in the backup destination(s) which do not appear in the index.
  2. Identify and remove the files and/or folders which appear in the index but do not actually exist in the backup destination(s).
  3. Identify and remove corrupted files from the backup destination(s) when the Run Cyclic Redundancy Check (CRC) During Data Integrity Check setting is enabled.
  4. Identify and remove partially uploaded (orphan) files from the backup destination(s) to free up storage space.
  5. Identify and rebuild malfunction file index.
  6. Update the storage statistics for the backup set(s).

IMPORTANT:

The Data Integrity Check cannot fix or repair files that are already corrupted. It will only identify and remove any corrupted files from the backup destination(s), so these files can be re-uploaded again on the next backup job if they still exist on the backup source. However, any corrupted files removed from the Retention Area will not be re-uploaded and will no longer be restorable.

Steps

Data integrity check can be performed by running the RunDataIntegrityCheck.sh script file located in the installation bin folder.

By default, the Data Integrity Check script will:

  • Perform check for all backup sets
  • Perform check for all storage destinations
  • Perform check with Cyclic Redundancy Check (CRC) disabled

Assumption:

CloudBacko Go is installed in the following path: /usr/local/cloudbackogo

1. Login to the Linux/FreeBSD machine with root.

2. Edit the the RunDataIntegrityCheck.sh script with a text editor:

# cd /usr/local/cloudbackogo/bin
# vi RunDataIntegrityCheck.sh

Modify the settings in the file according to your requirement:

3. Start the data integrity check by running the RunDataIntegrityCheck.sh script file.

NOTE:

The following output is an example of an integrity check performed for a file backup set on Google Drive storage destination:

4. Integrity check logs can be found in the following path /root/.obm/system/IntegrityCheck:

Keywords

CRC, Linux, Unix, data integrity check, CLI

public/faq/how_to_run_a_data_integrity_check_on_linux_cli_8008.txt · Last modified: 2021/06/23 14:11 by support