Koozali.org: home of the SME Server

Tape backup verification howto

Chris Snow

Tape backup verification howto
« on: April 04, 2003, 01:24:24 PM »
Is a successful flexbackup report (as emailed to the admin) sufficient to know that the backup has been successful?

Should I do anything extra (i.e. one a month) to physically check a backup?

Thanks in advance,

Chris

Steve Bush

Re: Tape backup verification howto
« Reply #1 on: April 05, 2003, 11:17:47 AM »
Here is a script file I have in the /root directory.
It is named flexbackup-restore
I chmod it with a +x to allow execution.

cd /home/e-smith/files/ibays/restore/files
/bin/mt -f /dev/nst0 rewind
/bin/mt -f /dev/nst0 fsf 1
/usr/bin/flexbackup -restore
/bin/mt -f /dev/nst0 rewind

This will allow you to easily test the backup by restoring one or more files, if you're worried about it, or if you want to restore files for a user.
FYI - the ibay I use in the example above is named "restore".
Any file you add to the restore will end up under the restore ibay.

Ray Mitchell

Re: Tape backup verification howto
« Reply #2 on: April 06, 2003, 01:50:36 PM »