Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: gbentley on January 17, 2006, 07:37:46 PM

Title: Restore from Tape
Post by: gbentley on January 17, 2006, 07:37:46 PM
Hi,

Is it possible to restore an individual file from a nightly backup tape?

Thanks!
Title: Re: Restore from Tape
Post by: mrjhb3 on January 18, 2006, 03:51:59 AM
Quote from: "gbentley"
Is it possible to restore an individual file from a nightly backup tape?


You don't state what version.  Try this http://mirror.contribs.org/smeserver/contribs//dmay/smeserver/5.x/howto/flexbackup-howto.html

JB
Title: Restore from Tape
Post by: gbentley on January 18, 2006, 12:11:25 PM
Thanks for that, I had been looking for that howto all over !!!
Title: Restore from Tape
Post by: gbentley on January 19, 2006, 10:49:11 PM
Ignore see next post!
Title: Restore from Tape
Post by: gbentley on February 10, 2006, 01:57:39 PM
...
Title: Restore from Tape
Post by: gbentley on September 06, 2006, 12:16:12 AM
#!/bin/sh
# restore.sh Creation Date: 14/02/06 Author: G Bentley
# Purpose: Restore files from taped named in restore_list
# Note that *exact* directories/filenames must be specified
# in the restore_list (without the root slash)
# i.e.   home/e-smith/files/ibays/accounts/html/index.html
#
/bin/mt -f /dev/nst0 rewind
# /bin/mt -f /dev/nst0 fsf 1
#
# Use above two commands if you arent doing this manually
# and also checking status with '$mt -f /dev/nst0 tell'
# and '$flexbackup -toc'
#
/usr/bin/flexbackup -extract -num 1 -flist restore_list
/bin/mt -f /dev/nst0 rewind
#
# A simple 'ls' used to create a nice formatted list
# ls -ultRF /home/e-smith/files/ibays > restore_list