[_] Backup and email Cron job
Adam Beaumont
adambeaumont at gmail.com
Fri Oct 6 14:34:28 BST 2006
On 06/10/06, Matt Williams <matt at energymind.com> wrote:
> Try:
>
> tar cvfz - /usr/local/psa/home/vhosts/domain.co.uk/httpdocs/ |
> uuencode | mail -s "website backup" emailaddress at gmail.com
OK, I tried this got the email with subject website backup but no attachment :(
OH > Most email servers have a max message size...check message logs...
I can't check the mail logs as it's a shared server (with 34sp.com)
unless there is a clever way I am unaware of.
I guess I need to divide up the file as per Steve Roome's solution, is
anyone able to whip that up into a cron job?
Adam
> Try:
>
> tar cvfz - /usr/local/psa/home/vhosts/domain.co.uk/httpdocs/ |
> uuencode | mail -s "website backup" emailaddress at gmail.com
OK, I tried this got the email with subject website backup but no attachment :(
OH > Most email servers have a max message size...check message logs...
I can't check the mail logs as it's a shared server (with 34sp.com)
unless there is a clever way I am unaware of.
I guess I need to divide up the file as per Steve Roome's solution, is
anyone able to whip that up into a cron job?
Adam