Verifying TOS Backups

You should always verify the integrity of a backup file after it is copied to new location. The procedure below describes how to verify the integrity of the file copy using sha1sum on a Unix-based operating system. There are equivalent sha1sum utilities available for Windows.

Verify File Integrity Using sha1sum

  1. Determine the checksum of the exported backup file on the source server:

    [source]# sha1sum <filename>

    <checksum_1> <filename>

    Save the <checksum_1> value.

  2. Copy the file to the desired destination server, and rerun the sha1sum command.

    [destination]# sha1sum <filename>

    <checksum_2> <filename>

  3. Verify that <checksum_1> = <checksum_2>.

Verify File Integrity Using sha256sum

  1. Determine the checksum of the exported backup file on the source server:

    [source]# sha256sum <filename>

    <checksum_1> <filename>

    Save the <checksum_1> value.

  2. Copy the file to the desired destination server, and rerun the sha1sum command.

    [destination]# sha256sum <filename>

    <checksum_2> <filename>

  3. Verify that <checksum_1> = <checksum_2>.