Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2002
    Location
    Cannock, Staffs. UK
    Posts
    1

    Mysql Daily Backup

    Hi

    I want to send a mysqldump > text.sql to a particular email address at intervals.

    My .sh script when executed from the shell/ssh works great, but when set a a cron script in /etc/cron.daily it gives a permissions error on mysqldump.

    Is there another way of sending a mysql backup to an email account?

    Andrew

  2. #2
    Join Date
    Jul 2002
    Location
    Israel
    Posts
    351
    How are you executing mysqldump?
    What's the error?
    C#/C++/TCL/Python/PHP developer.
    mark at mark org il

  3. #3
    are you using the root user for mysqldump, could be the problem. I use this on my server and it seems to work well under cron.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •