From: <go...@go...> - 2004-11-04 21:43:25
|
Hello, I=92m backing upp the /home directory with: /usr/local/bin/flexbackup -set bck-home -full -type afio >logfile =20 It used to work fine but now when I do this I get the following at the = end of the backup: =20 afio: 2898m+128k+0 bytes written in 875 seconds. The operation HAD 1 = WARNING ABOUT ERRORS. 296768+0 records in 296768+0 records out 3038904320 bytes transferred in 874.245864 secs (3476029 bytes/sec) =20 ERROR from backup, exiting offending command(s): afio -o -E /tmp/nocompress.60176 -z -1 m -P gzip -Q -4 -Z -M 2m -T 3k -v = -b 10k =96 =20 The file /home/tmp/nocompress.60176 or /tmp/nocompress.60176 doesn=92t = exist !!!!!!!!!!!!!!! I don=92t understand this error, I searched the logfile for any errors = but I can=92t find any. The logfile is also huge so it=92s possible that there=92s something I = missed but I don=92t really know what to look for or =93grep=94. =20 HELP ! :-) =20 Best Regards Goran =20 |
From: Scott C. <sc...@bn...> - 2004-11-04 22:37:21
|
On Thursday 04 November 2004 16:42, G=F6ran T=F6rnqvist wrote: > > afio -o -E /tmp/nocompress.60176 -z -1 m -P gzip -Q -4 -Z -M 2m -T 3k -v = =2Db 10k=20 > =20 Goran, The problem is that 'afio' is returning to the flexbackup script with an error (some file missing or some such?). The command parameters passed by flexbackup to afio have changed in the recent versions. See the afio man page, specifically the '-1' parameter. You can edit the flexbackup script to fix this. Search for '-1 m ' and change it to '-1 a ' (note the trailing space character). (You can see the '-l m' in the afio command line above.) See also the flexbackup '-ignore-errors' parameter to help solve your problem. Scott =2D-=20 * Scott Coburn * Brookhaven National Laboratory * sc...@bn... 631.344.7110 * This message brought to you by Debian Linux. |
From: <go...@go...> - 2004-11-05 15:04:37
|
Hello, and thanks for the reply :) Checked "man afio" and the -1 parameter is there (Version 2.4.7) but -1 m means: -1 "Defined letters are a for ignoring all possible warnings on exit, and m for ignoring the warning about missing files, which will occur when, on creating an archive, a file whose name was read from the standard input is not found. The default is -1 m." So if the file is missing it shouldn't return an error, right, so my assumption is that the error here should be something different. Anyway when I tried to change to "-1 a" checking /etc/flexbackup.conf ,the -1 m switch wasn't there. I'll need to read and learn more about flexbackup I guess :) I will check the flexbackup -ignore-errors if that switch can help me. But is that "good behavior", to tell flexbackup to ignore errors? Thanks again... Best Regards Goran ----- Original Message ----- From: "Scott Coburn" <sc...@bn...> To: <fle...@li...> Sent: Thursday, November 04, 2004 11:37 PM Subject: Re: [flexbackup-help] Flexbackup error: offending command afio -o -E <non existent file>?!? On Thursday 04 November 2004 16:42, Göran Törnqvist wrote: > > afio -o -E /tmp/nocompress.60176 -z -1 m -P gzip -Q -4 -Z -M 2m -T 3k -v -b 10k > Goran, The problem is that 'afio' is returning to the flexbackup script with an error (some file missing or some such?). The command parameters passed by flexbackup to afio have changed in the recent versions. See the afio man page, specifically the '-1' parameter. You can edit the flexbackup script to fix this. Search for '-1 m ' and change it to '-1 a ' (note the trailing space character). (You can see the '-l m' in the afio command line above.) See also the flexbackup '-ignore-errors' parameter to help solve your problem. Scott -- * Scott Coburn * Brookhaven National Laboratory * sc...@bn... 631.344.7110 * This message brought to you by Debian Linux. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick _______________________________________________ flexbackup-help mailing list fle...@li... https://lists.sourceforge.net/lists/listinfo/flexbackup-help |
From: Scott C. <sc...@bn...> - 2004-11-05 15:29:35
|
On Friday 05 November 2004 10:06, G=F6ran T=F6rnqvist wrote: > > -1 "Defined letters are a for ignoring all possible warnings on exit, and= m > for ignoring the warning about missing files, which will occur when, on > creating an archive, a file whose name was read from the standard input > is not found. The default is -1 m." > > So if the file is missing it shouldn't return an error, right, so my > assumption is that the error here should be something different. Could be. I am not sure what your error might be. One of the uses I put flexbackup to is to back up some Windows 2000 PCs. I have their C drives mounted onto my backup server. When flexbackup runs it sometimes finds files on the PCs which are locked (typically mail files). I have the "-1 a" parameter set for afio, but it still seems to return an error for this. (I guess software does not always perform as advertised, or I am mis- understanding its behavior. :) > Anyway when=20 > I tried to change to "-1 a" checking /etc/flexbackup.conf ,the -1 m switch > wasn't there. I'll need to read and learn more about flexbackup I guess :) You need to look in the flexbackup script itself, not the flexbackup.conf file. On my Debian systems it is in /usr/bin. It is just a (very large!) perl script which you can edit. (Make a backup copy first.) Search for the "-1 m" string. > I will check the flexbackup -ignore-errors if that switch can help me. But > is that "good behavior", to tell flexbackup to ignore errors? Well, it may not be "good behavior" in some universal moral sense, but it solves the problem and the backups get done. (For my needs anyway, your milage may very.) Scott =2D-=20 * Scott Coburn * Brookhaven National Laboratory * sc...@bn... 631.344.7110 * This message brought to you by Debian Linux. |