Results 1 to 12 of 12
Thread: Backup Script
-
07-04-2003, 04:30 PM #1Junior Guru Wannabe
- Join Date
- Mar 2003
- Posts
- 66
Backup Script
I am a reseller without shell access.
Is there anything that can automatically backup all of my client websites including backups, and download them to my home pc? I have a always on cable connection.
Thanks
Scott
scott@ehosting4less.netNothing but the best
www.ehosting4less.net
www.edomains4less.com
-
07-04-2003, 06:19 PM #2Web Hosting Master
- Join Date
- Apr 2003
- Posts
- 908
You could always setup your FTP program to download everything at a certain time.
I buy vBulletin licenses and vBSEO licenses!
-
07-04-2003, 06:39 PM #3Junior Guru Wannabe
- Join Date
- Mar 2003
- Posts
- 66
I was thinking something like a crone job in cpanel...
Nothing but the best
www.ehosting4less.net
www.edomains4less.com
-
07-05-2003, 12:29 AM #4Web Hosting Guru
- Join Date
- May 2003
- Posts
- 282
Rsync would be another option. It can syncronize files more intelligently (based on files that have changed) and will probably be more efficient.
-
07-05-2003, 12:24 PM #5Junior Guru Wannabe
- Join Date
- Oct 2002
- Posts
- 40
we just setup a cron job to run a shell script at 12:00pm which tars and gunzips all httpdoc files and dumps all mysql databases to a second hard drive on our servers.
Tek Gear - Aussie Online Solutions
Online: www.tekgear.net.au
-
07-05-2003, 01:49 PM #6Junior Guru Wannabe
- Join Date
- Mar 2003
- Posts
- 66
can this be done if I am a reseller?
Nothing but the best
www.ehosting4less.net
www.edomains4less.com
-
07-05-2003, 08:16 PM #7Junior Guru Wannabe
- Join Date
- Oct 2002
- Posts
- 40
yes. we have set this up for our resellers. for a cpanel server you need to setup a .sh script with something like this.
tar -czf /home/username/backups/backup_daily_html.tar.gz /home/username/public_html
mysqldump --user=username --password=yourpassword username_modernbill > /home/username/backups/backup_daily_username_modernbill.sql
the first line will backup your public_html a backups directory with tar and gzip compression.
the second line will backup your modernbill database into the same directory.
replace username, password, username_modernbill, etc to whatever your details are.
next setup a cron job with crontab to run the .sh script at whatever time eg midnight each night.Tek Gear - Aussie Online Solutions
Online: www.tekgear.net.au
-
07-06-2003, 11:22 AM #8Disabled
- Join Date
- Jan 2003
- Posts
- 1,255
I think he wants to backup his site and all his client sites. There is a script in WHM for doing this daily and saving it to another hard disk or uploading to an FTP server. I'm not sure if resellers have access to the script though.
-
07-06-2003, 11:22 AM #9Disabled
- Join Date
- Jan 2003
- Posts
- 1,255
I think he wants to backup his site and all his client sites. There is a script in WHM for doing this daily and saving it to another hard disk or uploading to an FTP server. I'm not sure if resellers have access to the script though.
-
07-06-2003, 11:22 AM #10Disabled
- Join Date
- Jan 2003
- Posts
- 1,255
I think he wants to backup his site and all his client sites. There is a script in WHM for doing this daily and saving it to another hard disk or uploading to an FTP server. I'm not sure if resellers have access to the script though.
-
07-06-2003, 06:08 PM #11Junior Guru Wannabe
- Join Date
- Mar 2003
- Posts
- 66
yes, that is what I want to do.
Nothing but the best
www.ehosting4less.net
www.edomains4less.com
-
07-06-2003, 09:56 PM #12Junior Guru Wannabe
- Join Date
- Oct 2002
- Posts
- 40
as a reseller you will not have access to backup anything another then your own personal account. even through ssh/shell it is locked so that you can only work with your own account.
Tek Gear - Aussie Online Solutions
Online: www.tekgear.net.au