On Wednesday, Oct 1st 2008 at 13:44 -0000, quoth Gabriel:

=>hi!, i m Gabriel, from Argentina, i suscribe to this group becouse i m 
=>having problem with my backup task :s and i am a little crazy with this 
=>at this point.
=>I m using Flexbackup to make an /etc backup:
=>
=>flexbackup -dir /etc
=>
=>Ok. No problems with that. But, when i put that in crontab, the backup 
=>dosent finish correctly.
=>It start making the file, but it dont finish.
=>
=>And here is the log:
=>
=>|------------------------------------------------------------
=>| Doing level 0 backup of /etc using tar
=>| Found directory index key 200810011200
=>|------------------------------------------------------------
=>| Backup of: /etc
=>| Date of this level 0 backup: Wed Oct 01 13:16:02 2008
=>| Date of last level 0 backup: the epoch
=>|------------------------------------------------------------
=>| cd "/etc" && /tmp/collectexit.31097.sh find . -depth -xdev ! -type s ! \
=>|   -regex ".*/[Cc]ache/.*" ! -regex ".*~"$ -print0 | \
=>|   /tmp/collectexit.31097.sh tar --create --null --files-from=- \
=>|   --ignore-failed-read --same-permissions --no-recursion --totals 
=>--label \
=>|   "level 0 /etc Wed Oct 01 13:16:02 2008 tar+gzip from mail.uvcms.com" \
=>|   --verbose --sparse -b 20 --file - | /tmp/collectexit.31097.sh gzip 
=>-4 | \
=>|   /tmp/collectexit.31097.sh buffer -m 10m -p 75 -s 10k -t -o \
=>|   "/BACKUP/etc.0.200810011316.tar.gz"
=>| [ ! -e /tmp/exitstatus.31097 ]
=>|------------------------------------------------------------
=>
=>I look for the /tmp/exitstatus.31097 file, and it contains:
=>
=>tar --create --null --files-from=- --ignore-failed-read 
=>--same-permissions --no-recursion --totals --label level 0 /etc Wed Oct 
=>01 13:16:02 2008 tar+gzip from mail.uvcms.com --verbose --sparse -b 20 
=>--file -
=>buffer -m 10m -p 75 -s 10k -t -o /BACKUP/etc.0.200810011316.tar.gz
=>
=>Please, if somebody have some idea about this, tell me.
=>
=>Regards.
=>
=>Gabriel

Gabriel, I have the same problem. I asked for help on this list multiple 
times. No one responded. What you posted doesn't really show very much, 
but what I have here, is that on occasion, the job doesn't complete and I 
have to manually kill the bzip2 processed. This is what's on my machine 
right now:

root      3530  0.0  0.0   2676   468 ?        Ss   Jun27   0:02 crond
root      8519  0.0  0.0   3088   644 ?        S    Sep09   0:00  \_ crond
root      8520  0.0  0.2   8324  2108 ?        Ss   Sep09   0:00  |   \_ 
/usr/bin/perl -w /usr/bin/flexbackup -set backup -incremental
root      9075  0.0  0.0      0     0 ?        Z    Sep09   0:00  |   |  \_ 
[sh] <defunct>
smmsp     8521  0.0  0.1   6968  1676 ?        S    Sep09   0:00  |   \_ 
/usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t
root      2103  0.0  0.0   3088   704 ?        S    Sep15   0:00  \_ crond
root      2104  0.0  0.2   8320  2160 ?        Ss   Sep15   0:00  |   \_ 
/usr/bin/perl -w /usr/bin/flexbackup -set backup -incremental
root      2821  0.0  0.0      0     0 ?        Z    Sep15   0:00  |   |  \_ 
[sh] <defunct>
smmsp     2105  0.0  0.1   6964  1736 ?        S    Sep15   0:00  |   \_ 
/usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t
root     32289  0.0  0.0   3088   756 ?        S    Sep18   0:00  \_ crond
root     32290  0.0  0.2   8328  2176 ?        Ss   Sep18   0:00  |   \_ 
/usr/bin/perl -w /usr/bin/flexbackup -set backup -incremental
root       481  0.0  0.0      0     0 ?        Z    Sep18   0:00  |   |  \_ 
[sh] <defunct>
smmsp    32291  0.0  0.1   6964  1756 ?        S    Sep18   0:00  |   \_ 
/usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t
root     20147  0.0  0.0   3088   756 ?        S    Sep22   0:00  \_ crond
root     20148  0.0  0.2   8324  2176 ?        Ss   Sep22   0:00      \_ 
/usr/bin/perl -w /usr/bin/flexbackup -set backup -incremental
root     20836  0.0  0.0      0     0 ?        Z    Sep22   0:00      |  \_ 
[sh] <defunct>
smmsp    20149  0.0  0.1   6964  1760 ?        S    Sep22   0:00      \_ 
/usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t root

My current config without comments:

# General configuration section
$type = 'afio';
$set{'backup'} = "/e/web /usr/share/emacs/site-lisp /usr/local /etc /boot /root 
/var/spool/mail /var/log";
$prune{'/e/web'} = "steveo/mpg";
$compress = 'bzip2'; # one of false/gzip/bzip2/lzop/zip/compress/hardware
$compr_level = '9'; # compression level (1-9) (for gzip/bzip2/lzop/zip)
$buffer = 'buffer';         # one of false/buffer/mbuffer
$buffer_megs = '10';        # buffer memory size (in megabytes)
$buffer_fill_pct = '75';    # start writing when buffer this percent full
$buffer_pause_usec = '100'; # pause after write (tape devices only)
$device = '/d2/backup';
$blksize = '10';
$mt_blksize = "0";
$pad_blocks = 'true';
$remoteshell = 'ssh'; # command for remote shell (rsh/ssh/ssh2)
$remoteuser = '';     # if non-null, secondary username for remote shells
$label = 'true';      # somehow store identifying label in archive?
$verbose = 'true';    # echo each file?
$sparse = 'true';     # handle sparse files?
$indexes = 'true';    # false to turn off all table-of-contents support
$staticfiles = 'false';
$atime_preserve = 'false';
$traverse_fs = 'false';
$exclude_expr[0] = '.*/[Cc]ache/.*';
$exclude_expr[1] = '.*~$';
$erase_tape_set_level_zero = 'true';
$erase_rewind_only = 'false';
$logdir = '/var/log/flexbackup';   # directory for log files
$comp_log = 'bzip2';                # compress log? 
false/gzip/bzip2/lzop/compress/zip
$staticlogs = 'false';             # static log filenames w/ no date stamp
$prefix = '';                      # log files will start with this prefix
$tmpdir = '/tmp';                  # used for temporary refdate files, etc
$stampdir = '/var/lib/flexbackup'; # directory for backup timestamps
$index = '/var/lib/flexbackup/index'; # DB filename for tape indexes
$keyfile = '00-index-key';         # filename for keyfile if archiving to dir
$sprefix = '';                     # stamp files will start with this prefix
$afio_nocompress_types = 'mp3 MP3 Z z gz gif GIF zip ZIP lha jpeg jpg JPG taz 
tgz deb rpm bz2 lzo png';
$afio_echo_block = 'false';
$afio_compress_threshold = '3';
$afio_compress_cache_size = '2';
$tar_echo_record_num = 'false';
$cpio_format = 'newc';
$dump_length = '0';
$dump_use_dumpdates = 'false';
$star_fifo = 'true';
$star_acl = 'true';
$star_format = 'exustar';
$star_echo_block_num = 'false';
$pax_format = 'ustar';
$zip_nocompress_types = 'mp3 MP3 Z z gz gif zip ZIP lha jpeg jpg JPG taz tgz 
deb rpm bz2 lzo';
$pkgdelta_archive_list = 'rootonly';
$pkgdelta_archive_unowned = 'true';
$pkgdelta_archive_changed = 'true';
1;



I'm too lazy to switch to something else, so every so often I just kill 
the bzip processes.

IF ANYONE WOULD LIKE TO ADD THEIR TWO CENTS IT WOULD BE WELCOME. :-(

-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help

Reply via email to