|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in May 2003
26 posts
Gave thanks: 0
Thanked 0 times
|
Auto Backup - Can it be done
Hi
I was wondering if there was a way to create a backup that will automatically download to my PC each day from cpanel or some other way. Does anyone know if this is possible? Thanks M Barnes |
|
|
|
|
|
#2 (permalink) |
|
the one who was
Super #1
Joined in Jul 2003
Lives in Memphis
1,967 posts
Gave thanks: 0
Thanked 3 times
|
I am not entirely sure this is possible, since Cpanel doesn't have a way to automatically initiate the backup from your end. Its only backup feature works to backup to a system wide directory which users aren't allowed direct access.
Something that may be possible would be to write some kind of VBScript file that would goto the appropriate URL for your CPanel and start the backup, and then login to FTP and download it once you receive the notification email that it is complete. But I really don't know of a direct implementation like this. Another thing to note is that CPanel will only generate full backups of your site, and not incrementals, which would mean you are having to download the entire site each day. It would actually be best if you just remembered to manually do a full backup once a week on a regular basis, and then backup your mysql databases daily, since that is most likely where the bread and butter is.
__________________
Patrick Warnings: The program(s) might crash unexpectedly or behave otherwise strangely. (But of course, so do many commercial programs on Windows.) --www.gimp.org |
|
|
|
|
|
#3 (permalink) |
|
ubuntu Fan
Super #1
Joined in Nov 2003
Lives in Calgary Alberta Canada
2,724 posts
Gave thanks: 0
Thanked 0 times
|
__________________
"A lot of people are waiting for Martin Luther King or Mahatma Gandhi to come back -- but they are gone. We are it. It is up to us. It is up to you." — Marian Wright Edelman |
|
|
|
|
|
#4 (permalink) |
|
Registered User
Seasoned Poster
Joined in Jul 2003
Lives in Las Vegas
Hosted on BEE & FLASH
65 posts
Gave thanks: 0
Thanked 0 times
|
I did a search the other day and found several scripts for Bash that allow varying types of backups, I was focusing on MySQL automated backups.
Try a google on "Cron script auto backup" I think I used those but added "MySQL".
__________________
Server: BEE - www.plexiprs.com ============================= In the lowest level, a person studies but nothing comes of it, and he feels that both he and others are unskillful. At this point he is worthless. In the middle level he is still useless but is aware of his own insufficiencies and can also see the insufficiencies of others. In a higher level he has pride concerning his own ability, rejoices in praise from others, and laments the lack of ability in his fellows. This man has worth. In the highest level a man has the look of knowing nothing. |
|
|
|
|
|
#5 (permalink) |
|
Surpass Fan
Excelling Contributor
Joined in Jul 2003
Lives in Florida
Hosted on D9
833 posts
Gave thanks: 0
Thanked 0 times
|
I used to have a cron job that saved a tar.gz into the root, then My PC would do a scheduled FTP get of that file and store it to my network.
__________________
Clove Surpass Reseller (2+ Years Now!!!) Various Clients on D9 Winner of 2004 Surpassies Most Prolific Award!(& still didnt get my poster hee hee) |
|
|
|