LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   restore backup (https://www.linuxquestions.org/questions/linux-newbie-8/restore-backup-455423/)

nkeever 06-16-2006 10:17 AM

restore backup
 
I need help trying to restore file/files from my tape backup. When i run flexbackup -list i get the following.

| Logging output to "flexbackup.list.200606161103.log"
Reading from CURRENT TAPE POSITION
|------------------------------------------------------------

At block 0.
|------------------------------------------------------------

| buffer -m 10m -p 75 -s 10k -t -u 100 -i "/dev/nst0" | gzip -dq | tar \
| --list --totals --verbose --sparse -b 20 -B --file -
|
------------------------------------------------------------

Kilobytes Out 10 gzip: stdin: not in gzip format
|------------------------------------------------------------


At block 2.
|------------------------------------------------------------

Can anyone guide me in the right direction?

thanks

AwesomeMachine 06-17-2006 03:48 AM

Try:

flexbackup -toc

nkeever 06-19-2006 09:03 AM

flexbackup -toc
 
Ok so I have been able to display my table of contents.

File Contents (tape index 200606052345)
---------------------------------------------
0 <tape index key>
1 level 5 /home Mon Jun 05 23:45:16 2006 tar+gzip from pways-fs2
2 level 5 /share Tue Jun 06 04:02:04 2006 tar+gzip from pways-fs2
3 level 5 /etc/backup/mysql Tue Jun 06 06:12:57 2006 tar+gzip from pways-fs2

My understanding is that I have three locations that are getting backup up. /home /share and /etc/backup/mysql. Is this correct?

So if I want to restore a single file in the /home directory how do I find the file and extract it? I have played around with flexbackup -list -num 1 but not really sure what that is doing. So a sample file that I am trying to restore is in the /home/nathan/license.rtf. How do I reach in and just grab that file.

thanks


All times are GMT -5. The time now is 10:16 AM.