Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Chris Snow on April 04, 2003, 01:24:24 PM

Title: Tape backup verification howto
Post by: Chris Snow 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
Title: Re: Tape backup verification howto
Post by: Steve Bush 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.
Title: Re: Tape backup verification howto
Post by: Ray Mitchell on April 06, 2003, 01:50:36 PM
This howto may help
http://mirror.contribs.org/smeserver/contribs/dmay/mitel/howto/flexbackup-howto.html

Regards
Ray