Re: [flexbackup-help] problem with crontab
Steven W. Orr wrote: 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: 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. :-( Hi guys! I'm also using flexbackup on multiple servers! Is seems very fine, especially I like differential backups. But I not use bzip compression, just a simple tar. $type = 'tar'; There are no issues with it. Also you could try to switch to tar type of backups, and then do a gzip by other script. Some example of script backuping my sql databases: echo Compressing backups... for i in `ls ${backupsdir}/*.sql`; do cd ${backupsdir} nice -n 19 tar -czv --remove-files -f ${i}.tar.gz `basename ${i}` done # cleaning up old data find $backupsdir -name $host* -a -mtime +$savedays -delete Also keep in mind that if you have a very lage tar backup bzip will compress it a very long type too. So I don't use compression for this reasons. I just need fast and simple backups. -- Best Wishes, PAIX-UANIC | SK3929-RIPE - 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=100url=/ ___ flexbackup-help mailing list flexbackup-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flexbackup-help
[flexbackup-help] problem with crontab
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 - 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=100url=/ ___ flexbackup-help mailing list flexbackup-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flexbackup-help