Koozali.org: home of the SME Server

Restore from Tape

Offline gbentley

  • *****
  • 482
  • +0/-0
  • Forum Lurker
    • Earth
Restore from Tape
« on: January 17, 2006, 07:37:46 PM »
Hi,

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

Thanks!
"If you don't know what you want, you end up with a lot you don't."

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: Restore from Tape
« Reply #1 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
......

Offline gbentley

  • *****
  • 482
  • +0/-0
  • Forum Lurker
    • Earth
Restore from Tape
« Reply #2 on: January 18, 2006, 12:11:25 PM »
Thanks for that, I had been looking for that howto all over !!!
"If you don't know what you want, you end up with a lot you don't."

Offline gbentley

  • *****
  • 482
  • +0/-0
  • Forum Lurker
    • Earth
Restore from Tape
« Reply #3 on: January 19, 2006, 10:49:11 PM »
Ignore see next post!
"If you don't know what you want, you end up with a lot you don't."

Offline gbentley

  • *****
  • 482
  • +0/-0
  • Forum Lurker
    • Earth
Restore from Tape
« Reply #4 on: February 10, 2006, 01:57:39 PM »
...
"If you don't know what you want, you end up with a lot you don't."

Offline gbentley

  • *****
  • 482
  • +0/-0
  • Forum Lurker
    • Earth
Restore from Tape
« Reply #5 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
"If you don't know what you want, you end up with a lot you don't."