Closed Thread
Results 1 to 2 of 2

Thread: Cron jobs auto backup mysql?

  1. #1
    magicstruck44 is offline x10Hosting Member magicstruck44 is an unknown quantity at this point
    Join Date
    Aug 2011
    Posts
    25

    Cron jobs auto backup mysql?

    Hi all

    I am trying to use a cron job to automatically back up my DB, compress it and email it to myself... This is the script: http://www.tamba2.org.uk/wordpress/cron/

    I have set it to run every 1 day.

    Is it possible?

    However i got an error on first run:
    mysqldump: Got error: 1045: Access denied for user 'xxxx_main'@'localhost' (using password: YES) when trying to connect
    /home/xxxx/etc/cronjob2.sh: line 48: mutt: command not found
    Seems like the server does not have "mutt" installed to send email attachments?

    Any workarounds?

  2. #2
    magicstruck44 is offline x10Hosting Member magicstruck44 is an unknown quantity at this point
    Join Date
    Aug 2011
    Posts
    25

    Re: Cron jobs auto backup mysql?

    no workaround?

    do you all use cron to automatically back up your db's or files? if so what method do you use?

Closed Thread

Similar Threads

  1. [cPanel] Auto MySQL backup
    By Stanz in forum Tutorials
    Replies: 8
    Last Post: 10-04-2011, 11:01 AM
  2. Cron jobs
    By tom52710391 in forum Free Hosting
    Replies: 3
    Last Post: 07-05-2011, 02:14 PM
  3. Cron Jobs
    By HackerzInc in forum Free Hosting
    Replies: 1
    Last Post: 10-01-2008, 10:06 PM
  4. Cron Jobs
    By stuffradio in forum Scripts & 3rd Party Apps
    Replies: 9
    Last Post: 11-12-2007, 07:01 PM
  5. cron jobs help
    By TarinC in forum Scripts & 3rd Party Apps
    Replies: 5
    Last Post: 09-19-2006, 03:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers