With the help of flexbackup, I can backup files to the tape drive

I make Set 1 in /etc/flexbackup.conf

$set{'set1'} = "/bin /boot /dev /etc /home /initrd /lib /opt /root /sbin /tmp /usr";

And start the backup using the command flexbackup –set all

The problem is, I don’t know how to extract the file.

For example, I have a file in /root/bin/coWednesday.dmp.z

I use the command: flexbackup –num 9 –extract –onefile bin/coWednesday.dmp.z

But no file extracted.

[[EMAIL PROTECTED] root]# flexbackup -num 9 -extract -onefile bin/coWednesday.dmp.z

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

        LANGUAGE = (unset),

        LC_ALL = "default",

        LANG = "en_US"

    are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

 

flexbackup version 1.2.1 (http://flexbackup.sourceforge.net)

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

        LANGUAGE = (unset),

        LC_ALL = "default",

        LANG = "en_US"

    are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

/etc/flexbackup.conf syntax OK

 

|------------------------------------------------------------

| Checking 'mbuffer' on this machine... Ok

| Checking /bin/sh on this machine... bash2

|------------------------------------------------------------

| Logging output to "flexbackup.extract.200402271733.log"

| Positioning tape at file number 9

/dev/tape: Input/output error

|------------------------------------------------------------

At block 0.

|------------------------------------------------------------

| Extracting single file bin/coWednesday.dmp.z

| mbuffer -q -m 20M -p 75 -s 10240 -f -i "/dev/tape" | afio -i -w

|   /tmp/extract.20709 -z -x -D /usr/bin/flexbackup -P gzip -Q -d -Q -q -Z

|   -v   -b 10k -

|------------------------------------------------------------

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

        LANGUAGE = (unset),

        LC_ALL = "default",

        LANG = "en_US"

    are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

 

Volume Label:

level 0 /usr Fri Feb 27 05:22:03 2004 afio+gzip from intranet

 

CONTROL_FILE/flexbackup.volume_header_info – okay

 

Sorry, I am new on linux. Thanks in advance

 

Reply via email to