Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started 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!
-
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
-
Thanks for that, I had been looking for that howto all over !!!
-
Ignore see next post!
-
...
-
#!/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