Peter Peltonen wrote:
Hi,

There is an incremental option. Otherwise, no.
As far as the broken pipe, do you have curl installed? Curl is sued to
send it via FTP to another machine.
If you have a backup file, then it completed. It may not have sent it
via curl anywhere, but if the file is there then it was backed up as far
as I can tell.

Could you explain further what you mean by the incremental option?

Yes, I have curl installed:

[EMAIL PROTECTED] root]# rpm -qa |grep curl
curl-7.10.6-7.rhel3
curl-devel-7.10.6-7.rhel3

I have told the script to not try to use FTP:

--<snip>--
## FTP Information and Destination
useftp=n # y or n - This will upload the files backed up via FTP using Curl

#  Syntax for ftpserver:  ftp://user:[EMAIL PROTECTED]/folder
(WITHOUT Trailing /)
ftpserver=ftp://
--</snip>--

So I wonder why it is even trying to use curl as I do not want ftp...?
The line 133 in the script is:

tar czf $curlfile $DATENAME-* > /dev/null 2>&1

(btw how can it produce an error if stderr is redirected to /dev/null?)

The file is created anyway:

[EMAIL PROTECTED] qmail]# ls -lah 2006*
-rw-r--r--    1 root     root         3.3G Jul 11 20:47
200607111736-backup.tar.gz

Just remove the > /dev/null 2>&1 from that line and it will put the output back to the screen. Those were added to make it cron friendly. If you turn on the option for remove previous, it will remove the previous backups. Otherwise, it just keeps creating new archives.

---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to