Verify an archive copy

Generate a checksum beside the original archive. Transfer both files, keep their filenames and run the verification from the destination directory.

sha256sum archive.tar > archive.tar.sha256
sha256sum -c archive.tar.sha256

A matching checksum confirms that the archive has the expected bytes. It does not identify who made it; a signature or a checksum from a trusted source is needed for that.

For backups, run a trial restore periodically. A readable archive can still omit files required to recover the system.