From: Kelvin P. <kel...@ya...> - 2004-02-27 10:01:24
|
With the help of flexbackup, I can backup files to the tape drive I make Set 1 in /etc/flexbackup.conf $set{'set1'} =3D "/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. [root@intranet root]# flexbackup -num 9 -extract -onefile bin/coWednesday.dmp.z perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE =3D (unset), LC_ALL =3D "default", LANG =3D "en_US" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). =20 flexbackup version 1.2.1 (http://flexbackup.sourceforge.net) perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE =3D (unset), LC_ALL =3D "default", LANG =3D "en_US" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). /etc/flexbackup.conf syntax OK =20 |------------------------------------------------------------ | 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 =3D (unset), LC_ALL =3D "default", LANG =3D "en_US" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). =20 Volume Label: level 0 /usr Fri Feb 27 05:22:03 2004 afio+gzip from intranet =20 CONTROL_FILE/flexbackup.volume_header_info - okay =20 Sorry, I am new on linux. Thanks in advance =20 |