Results 1 to 5 of 5

Thread: Backups

  1. #1
    andychev's Avatar
    andychev is offline Master Glow Jedi
    Join Date
    Apr 2005
    Location
    Chester, UK
    Posts
    150

    Default Backups

    I know you are very good at backing up sites and taking care of this. However i was wondering whether the following would be possible?

    Is it possible to somehow automatically download a backup weekly to my computer? And an automatic daily backup of databases?

    Ideally these would be stored sequentially on my server?

    Thoughts and pointers much appreciated.

  2. #2
    jmarcv's Avatar
    jmarcv is offline Cranky Coder
    Join Date
    Jan 2005
    Posts
    354

    Default

    I don't think cPanel allows access to the backups other than to be able to restore them.

    For mysql, you could setup a cron to create a backup that you could download.

    Code:
     
    mysqldump --opt -u <cPanel user> -p <cPanel pass> <database name> >backup.sql
    So if your cPanel login was
    andychev
    $3cr37

    and your database was
    main (which in reality is called andychev_main)

    You would do this:
    Code:
     
    mysqldump  --opt  -u andychev -p $3cr37 andychev_main>/home/andychev/www/backup.sql
    You might want to consider creating a mysql user with read access to the database and use that instead of having your cpanel info sitting in a cron file, though its probably not a real big deal.

  3. #3
    infoserv is offline Junior Web Sage
    Join Date
    Jul 2007
    Posts
    9

    Default

    Wow, this forum is great. I just picked up another great tip here.

  4. #4
    lgutman is offline No longer a Newbie
    Join Date
    Jan 2008
    Posts
    7

    Default backup cpanel

    Try CpSiteSaver I just started using it. Works very well for backing up cpanel sites as well as mysql dbs inside of cpanel.

    Larry

  5. #5
    charlesh's Avatar
    charlesh is offline Master Glow Jedi
    Join Date
    Aug 2006
    Location
    Atlanta, GA - better than you imagined it would be.
    Posts
    189

    Default

    I've been using Cpanel's backup feature and it works very well.

    Chas

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14