On This Page
Verifying TOS Backups
You should always verify the integrity of an exported 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
- Determine the checksum of the exported backup file on the source server:
[source]#
sha1sum <filename>
<checksum_1> <filename>
Save the
<checksum_1>
value. - Copy the file to the desired destination server, and rerun the sha1sum command.
[destination]#
sha1sum <filename>
<checksum_2> <filename>
- Verify that
<checksum_1>
=<checksum_2>
.
Verify File Integrity Using sha256sum
- Determine the checksum of the exported backup file on the source server:
[source]#
sha256sum <filename>
<checksum_1> <filename>
Save the
<checksum_1>
value. - Copy the file to the desired destination server, and rerun the sha1sum command.
[destination]#
sha256sum <filename>
<checksum_2> <filename>
- Verify that
<checksum_1>
=<checksum_2>
.