On 9/22/05, Voytek <[EMAIL PROTECTED]> wrote:
[snip]
> do I simply add like:
>
> system("gzip $backuppath/$arr[1]-$year$month$day.sql");
> (and change the 'rm' line extension?)
> ?http://search.cpan.org Look for the GZIP module, nicer way of doing it. Also, you probably want to use unlink instead of that system rm command. There's probably even a MySQL module to do the MySQL dump. Usually it's best using those as it allows to look at return codes and it generally looks much neater in the code. HTH. Cheers, Gonzalo -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
