PDA

View Full Version : Back up of addon domains only



johnboy
08-18-2009, 08:11 AM
Is it possible just to do a backup of addon domains only, the back up on cpanel does entire home directory including addon/subdomains. Its to large, cant I just backup addon's or subdomains without entire home dir, or have I missed something.
phil

JND
08-18-2009, 08:44 PM
Subdomains should be another directory within your public_html directory. Simply point your preferred FTP client to the directory you want and download it.

iceflatline
08-19-2009, 07:49 PM
You can also use wget. For example from a command line you could run the following:


wget --user=<your-bluehost-username> --password=<your-bluehost-password> -nH -r -l inf ftp://ftp.maindomain.com/public_html/addondirectory/

johnboy
08-20-2009, 02:18 PM
Thanks for the replies, I was hoping for a rar download, is there anyway ?

felgall
08-20-2009, 06:12 PM
Thanks for the replies, I was hoping for a rar download, is there anyway ?

Only if you set up a job of your own that creates it.

johnboy
08-21-2009, 06:20 AM
Only if you set up a job of your own that creates it.

I did do this but BH stopped my account, T&C storing data, it was only backup of website, nothing else. As I read it says you can but no joy, had to remove script, so need another option.

felgall
08-21-2009, 01:26 PM
That would be because you were storing the backups on the hosting as well as the original. That isn't just against their TOS it is also pointless. You need to make the backups and then send them somewhere else.

The only thing I backup from my hosting are the databases (since all the other files are copied from my computer in the first place and therefore the copy people visit is one of the backups of my original). I have two cron jobs set up to do a database backup. The first triggers a system command to create a backup copy of the database as a gzip file by calling a dump command. The second runs a few minutes later to attach the file that was created to an email to send it to me and to then delete the file.That means that the backup copy then sits on the server as an attachment to an outgoing email until such time as the next time I retrieve my mail at which point it gets downloaded to my computer and there is no longer a backup copy of any sort on the server.

johnboy
08-24-2009, 11:24 AM
That would be because you were storing the backups on the hosting as well as the original. That isn't just against their TOS it is also pointless. You need to make the backups and then send them somewhere else.

The only thing I backup from my hosting are the databases (since all the other files are copied from my computer in the first place and therefore the copy people visit is one of the backups of my original). I have two cron jobs set up to do a database backup. The first triggers a system command to create a backup copy of the database as a gzip file by calling a dump command. The second runs a few minutes later to attach the file that was created to an email to send it to me and to then delete the file.That means that the backup copy then sits on the server as an attachment to an outgoing email until such time as the next time I retrieve my mail at which point it gets downloaded to my computer and there is no longer a backup copy of any sort on the server.

Hi felgall
The rar files were downloaded to PC and deleted, perhaps not quick enough for BH. Alot of the site stays static but there is a lot of stuff which is created when php scripts run.