Hi,
Using guides from various websites, I have backed up a directory (and its sub-directories) to tape using the following command:- (the folder 'media' is in the root)
Code:
tar -czf /dev/st0 /media/store
The command returned a message about stripping the leading slashes, and then went on to complete normally.
I now want to verify the backup, so I tried the following:-
Code:
tar -dlpzvf /dev/st /media/store
This, after reading the entire tape, returns:-
Code:
tar: /media/store: Not found in archive
I tried without the leading '/' (as the original backup said it had stripped it) and that returned "Warning: Cannot stat: No such file or directory" for every file name.
I know at least some of the files are there as
starts a full directory listing from the tape.
How do I verify my backup? I can't restore the backup and check it that way as I don't have enough disk space.
[EDIT] The directory listing returns the full path without the leading / i.e "media/store/ARSF/Append.sql"