How to verify data on DAT tape?
Environment
Red Hat Enterprise Linux 5
Issue
I have been backing up html files contains /dev/sdb1 on DAT tape using dump. How to verify data on DAT tape?
Resolution
Please use C option for restore command as follows,
restore -Cf /dev/nst0
Root Cause
This mode allows comparison of files from a dump. Restore reads the backup and compares its contents with files present on the disk. It first changes its working directory to the root of the filesystem that was dumped and compares the tape with the files in its new current directory.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
