Thanks David, I will try ...
CU
Philippe

David Scott Coburn a écrit :

On Tuesday 06 December 2005 05:46, Philippe AMIOT wrote:
Hello

I have a crash disk, I LOST ALL MY DATA

and I try to recover it, bur I have some problèmes, maybe you could help me please !

I want only recover /var/spool/mail !

Philippe,

I am not sure this will help, but when I want to do a restore this is
what I do:

(My backups are stored on disk, not tapes, so you will have to modify this
somewhat...)

root> cd /backups/x22c/images
root> flexbackup -c ../flexbackup.conf -list home.2.20021126.afio-gz | 
/backups/restore/listdir.pl scott > fred

The flexbackup.conf file is stored in the directory above the directory where
my images are.  The 'listdir.pl' perl script is just a simple script to find
all of the files in the -list output which are in a particular subdirectory.  I
use it so that I don't have to do so much hand editing of the -list output.
This is the perl script:

#!/usr/bin/perl

# extract list of files in a given subdirectory in the 'flexbackup -list'
# stream on sdtin.
#
# flexbackup -list afio-archive-name | listdir.pl subdirname > files
#

use strict;

my $dir;

$dir = shift @ARGV;  # get subdirectory name from command line

while (<>) {
   chomp;
   if (/.*[\s]($dir\/.*)/) {
       print "$1\n";
   }
}

Once you have the file 'fred' with the list of files in the subdirectory
you can further edit it to leave only the particular files you want (or
not, so you can extract all of the files in the subdirectory).

Then I do this:

root> flexbackup -c ../flexbackup.conf -extract home.2.20021126.afio-gz -flist 
fred

This has always worked for me.

Cheers,

Scott




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help

Reply via email to