Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    2

    Default Help in backing up my databse using cron job

    Hello;

    I need a help where I can backup my SQL database daily at 3 o'clock in the morning using the corn job commands in my site cpanel.

    I am very new to this and never tried it before. I really appreciate any help in details as much as possible.

    Thank you


    WS

  2. #2
    Member
    Join Date
    Nov 2007
    Posts
    9

    Default

    login to cpanel ...

    in advanced options...you can find cronjob....go there ....go to standerd cron manager

    set the time to 3 (synchronize it with ur system time)

    the command to run
    : mysqldump <databsename> > <databasename>.sql
    eg : mysqldump anj_db > anj_db.sql

    hope it helped you
    Last edited by peacemaker; 01-18-2008 at 08:54 AM.

  3. #3
    Registered User
    Join Date
    Jan 2008
    Posts
    2

    Default

    Thanks for your help, can you also tell me how to backup the same database but on a remte server. I appreciate giving me the full command.

    example: I need to copy db.sql to www.remoteserver.com/backup

    Thanks alot

Similar Threads & Tags
Similar threads

  1. How to cron job?
    By dachooch in forum New User Questions
    Replies: 4
    Last Post: 05-03-2010, 08:15 AM
  2. How to cron job?
    By dachooch in forum Data Protection
    Replies: 2
    Last Post: 04-09-2010, 10:12 AM
  3. Keep getting a cron job
    By NLCJ in forum cPGS Discussions
    Replies: 2
    Last Post: 10-20-2009, 04:05 PM
  4. Cron Job
    By kiwis in forum New User Questions
    Replies: 1
    Last Post: 12-17-2008, 05:19 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube