From: arakeis <ar...@fr...> - 2003-02-20 10:50:44
|
here are my backup files : total 8631140 drwxr-xr-x 2 root root 4096 fév 20 11:55 ./ drwxr-xr-x 5 root root 4096 jan 6 15:55 ../ -rw-r--r-- 1 root root 44 fév 13 12:35 00-index-key -rw-r--r-- 1 root root 6124154880 fév 13 14:28 export-sambaraid-samba_x.0.200302131322.afio-gz -rw-r--r-- 1 root root 7761920 fév 17 11:22 export-sambaraid-samba_x.1.200302171122.afio-gz -rw-r--r-- 1 root root 885893120 fév 13 15:16 I've got a certain file listed in "files-to-restore.lst" when trying : flexbackup -extract export-sambaraid-samba_x.0.200302131322.afio-gz -files files-to-restore.lst here is the output : |------------------------------------------------------------ | Checking 'buffer' on this machine... Ok | Checking /bin/sh on this machine... bash2 |------------------------------------------------------------ | Logging output to "flexbackup.extract.200302201155.log" Error: file "export-sambaraid-samba_x.0.200302131322.afio-gz" or "/export/sambabackup/export-sambaraid-samba_x.0.200302131322.afio-gz" not found (like "-list file.tar.bz2") Died at /usr/bin/flexbackup line 2897. I checked that ulimit was not on the way : it is set to "unlimited" both afio and buffer where rebuilded from the sources on the site so I'm a bit lost ... does anyone see's what is wrong ??? what should be the command line to extrat with afio ? thanks, Arnaud |
From: arakeis <ar...@fr...> - 2003-02-20 12:11:55
|
here are my backup files : total 8631140 drwxr-xr-x 2 root root 4096 fév 20 11:55 ./ drwxr-xr-x 5 root root 4096 jan 6 15:55 ../ -rw-r--r-- 1 root root 44 fév 13 12:35 00-index-key -rw-r--r-- 1 root root 6124154880 fév 13 14:28 export-sambaraid-samba_x.0.200302131322.afio-gz -rw-r--r-- 1 root root 7761920 fév 17 11:22 export-sambaraid-samba_x.1.200302171122.afio-gz -rw-r--r-- 1 root root 885893120 fév 13 15:16 I've got a certain file listed in "files-to-restore.lst" when trying : flexbackup -extract export-sambaraid-samba_x.0.200302131322.afio-gz -files files-to-restore.lst here is the output : |------------------------------------------------------------ | Checking 'buffer' on this machine... Ok | Checking /bin/sh on this machine... bash2 |------------------------------------------------------------ | Logging output to "flexbackup.extract.200302201155.log" Error: file "export-sambaraid-samba_x.0.200302131322.afio-gz" or "/export/sambabackup/export-sambaraid-samba_x.0.200302131322.afio-gz" not found (like "-list file.tar.bz2") Died at /usr/bin/flexbackup line 2897. I checked that ulimit was not on the way : it is set to "unlimited" both afio and buffer where rebuilded from the sources on the site so I'm a bit lost ... does anyone see's what is wrong ??? what should be the command line to extrat with afio ? thanks, Arnaud |
From: Edwin H. <ed...@co...> - 2003-02-20 13:36:31
|
[ arakeis wrote: ] > Error: file "export-sambaraid-samba_x.0.200302131322.afio-gz" or > "/export/sambabackup/export-sambaraid-samba_x.0.200302131322.afio-gz" > not found > (like "-list file.tar.bz2") > Died at /usr/bin/flexbackup line 2897. That looks very strange at first glance. First try just listing the archive rather than extract. Also try giving a full path to the archive file, although you shouldn't need to. (Perhaps the backup dir is automounted or something and it has a timing issue?) That error basically only pops out if "(-f <file>)" and "(-f <backupdir>/<file>)" both fail, so it's not a complex test. Stick some printf debugs in the code maybe...? Below is a log from me doing just about the same thing you were trying: - list a level 9 afio backup I just created - make a one-line file with a filename - extract that file using the above filelist Not sure what you have going on... -Edwin (3)goliath[~] flexbackup -list etc.9.afio-bz2 flexbackup version 1.0.2 (http://flexbackup.sourceforge.net) /etc/flexbackup.conf syntax OK |------------------------------------------------------------ | Checking 'buffer' on this machine... Ok | Checking /bin/sh on this machine... bash2 |------------------------------------------------------------ | Logging output to "flexbackup.list.200302200614.log" | Auto-set to type=afio compress=bzip2 | Reading from on-disk file /net/backups/flexbackup/etc.9.afio-bz2 |------------------------------------------------------------ | buffer -m 10m -s 20k -t -p 75 -i "/net/backups/flexbackup/etc.9.afio-bz2" \ | | sudo afio -t -z -D /usr/bin/flexbackup -P bzip2 -Q -d -Z -v -b 20k \ | - |------------------------------------------------------------ -rw-rw-r-- 1 sysmon sysmon 77 Feb 20 06:10:39 2003 //--CONTROL_FILE/flexbackup.volume_header_info Kilobytes Out 20 Volume Label: level 9 /etc Thu Feb 20 06:10:39 2003 afio+bzip2 from goliath -r--r----- 1 root sys 32 Feb 20 06:07:10 2003 cups/certs/0 drwx--x--x 1 lp sys Feb 20 06:07:10 2003 cups/certs -rw-r--r-- 1 root root 628 Feb 20 06:07:54 2003 mail/statistics -rw-r--r-- 1 ntp ntp 8 Feb 20 05:30:22 2003 ntp/drift drwxr-xr-x 1 ntp ntp Feb 20 05:30:22 2003 ntp -rw-r--r-- 1 root root 1629 Feb 20 06:10:38 2003 mtab -rw-r--r-- 1 root root 3073 Feb 20 06:05:51 2003 flexbackup.conf -- compressed drwxr-xr-x 1 root root Feb 20 06:10:38 2003 . afio: 6k+196 bytes read in 0 seconds. The operation was successful. |------------------------------------------------------------ (4)goliath[~] cat > extr.list mail/statistics (5)goliath[~] flexbackup -extract etc.9.afio-bz2 -files extr.list flexbackup version 1.0.2 (http://flexbackup.sourceforge.net) /etc/flexbackup.conf syntax OK |------------------------------------------------------------ | Checking 'buffer' on this machine... Ok | Checking /bin/sh on this machine... bash2 |------------------------------------------------------------ | Logging output to "flexbackup.extract.200302200614.log" | Auto-set to type=afio compress=bzip2 | Reading from on-disk file /net/backups/flexbackup/etc.9.afio-bz2 |------------------------------------------------------------ | Extracting files listed in extr.list | buffer -m 10m -s 20k -t -p 75 -i "/net/backups/flexbackup/etc.9.afio-bz2" \ | | sudo afio -i -w /tmp/extract.24545 -z -x -D /usr/bin/flexbackup -P \ | bzip2 -Q -d -Z -v -b 20k - |------------------------------------------------------------ Kilobytes Out 20 Volume Label: level 9 /etc Thu Feb 20 06:10:39 2003 afio+bzip2 from goliath CONTROL_FILE/flexbackup.volume_header_info -- okay mail/statistics -- okay afio: 6k+196 bytes read in 0 seconds. The operation was successful. |------------------------------------------------------------ |
From: arakeis <ar...@fr...> - 2003-02-20 15:08:47
|
Edwin Huffstutler wrote: > Below is a log from me doing just about the same thing you were trying: > - list a level 9 afio backup I just created > - make a one-line file with a filename > - extract that file using the above filelist Ok, I tried the list argument on my backup file, it failed like before with a file not found (but the file is there as you can see on my previous mail) BUT if I tried the list arg on a smaller file, it works OK... ??? -- Arnaud |
From: Edwin H. <ed...@co...> - 2003-02-20 20:29:09
|
[ arakeis wrote: ] > Ok, I tried the list argument on my backup file, it failed like before > with a file not found (but the file is there as you can see on my > previous mail) > BUT > if I tried the list arg on a smaller file, it works OK... > > ??? Strange. Perhaps your perl is compiled strangely / is not happy with large files is the only thing I can think of? Try: perl -e 'print "found" if ( -f "/path/to/file")'; for both archives. That's basically all its doing. Don't at all understand why you'd get a problem... -- Edwin Huffstutler Linux - because reboots are for hardware changes ed...@co... GnuPG Key ID: AE782DC9 |
From: arakeis <ar...@fr...> - 2003-02-21 09:45:02
|
Edwin Huffstutler wrote: > [ arakeis wrote: ] > >>Ok, I tried the list argument on my backup file, it failed like before >>with a file not found (but the file is there as you can see on my >>previous mail) >>BUT >>if I tried the list arg on a smaller file, it works OK... >> >>??? > > > Strange. Perhaps your perl is compiled strangely / is not happy with > large files is the only thing I can think of? > > Try: > > perl -e 'print "found" if ( -f "/path/to/file")'; > > for both archives. > > That's basically all its doing. Don't at all understand why you'd get a > problem... > > > That was it ! My perl 5.06 didn't see large files, a small upgrade and it works ... well sort of, I still have pb to restaure files with spaces in their names but I'm digging ! -- Arnaud |