Results 1 to 20 of 20
Thread: Storing backups online?
-
12-15-2014, 05:04 AM #1WHT Addict
- Join Date
- Nov 2013
- Posts
- 160
Storing backups online?
Hi
Ok, I am creating full backups of my cPanel account, just so they can be used to restore the site if I ever change hosts or if something goes wrong.
But these backup files are ridiculously large: over 200 MB. :O
Since my internet speed is below par, I might not be able to download it to my computer. I was wondering if there is a way to copy the backup files created by cPanel directly to my Google Drive or Dropbox account, like without actually having to first download to my computer?
Is it possible? Can someone advise me on this?
Thanks
-
12-15-2014, 05:08 AM #2~~~~
- Join Date
- May 2008
- Posts
- 3,424
You can purchase backup space, which is quite cheap, and then configure cPanel to upload the backup directly to that space via scp.
Also 200MB is not that large of a backup.Uptime Monitor - Minimize your downtime by being the first to know about it!
Blacklist Monitor - Are any of your IPs or Domains blacklisted? Find out before it gets to affect you or your clients.
-
12-15-2014, 08:38 AM #3WHT Addict
- Join Date
- Nov 2013
- Posts
- 160
-
12-15-2014, 08:42 AM #4Retired Moderator
- Join Date
- Oct 2010
- Posts
- 5,079
Are you doing the backups through a script, or manually through the cPanel interface.
If you're doing it manually, when you go to the "generate a full backup" screen, you're presented with an option to specify the backup destination. The default is your home directory, but there are two other options - remote FTP, or using Secure Copy (scp).
As long as your external storage provider gives you access either over FTP, or over SCP, you can choose that option, supply the credentials, and your backup will go straight there.Not as active on WHT as I used to be, but still drop in and receive email notifications from here.
My personal blog site: https://www.oakleys.org.uk/blog
-
12-15-2014, 08:44 AM #5~~~~
- Join Date
- May 2008
- Posts
- 3,424
You can take a look at Backupsy I guess, but unless you know how to setup and secure the backup VPS they provide yourself I'd suggest you look for simpler solutions, such as just FTP/SFTP backup space... there's plenty of providers you'll just have to browse the offers section: http://www.webhostingtalk.com/forumdisplay.php?f=169
Also look into this regarding how to make your cPanel upload the account backup to a remote server:
https://documentation.cpanel.net/dis...yourentiresite
Alternatively there are sites such as siteautobackup, which can automate the whole thing for you and provider backup space.Uptime Monitor - Minimize your downtime by being the first to know about it!
Blacklist Monitor - Are any of your IPs or Domains blacklisted? Find out before it gets to affect you or your clients.
-
12-15-2014, 08:47 AM #6WHT Addict
- Join Date
- Nov 2013
- Posts
- 160
-
12-15-2014, 08:48 AM #7~~~~
- Join Date
- May 2008
- Posts
- 3,424
Uptime Monitor - Minimize your downtime by being the first to know about it!
Blacklist Monitor - Are any of your IPs or Domains blacklisted? Find out before it gets to affect you or your clients.
-
12-15-2014, 08:49 AM #8Retired Moderator
- Join Date
- Oct 2010
- Posts
- 5,079
Not as active on WHT as I used to be, but still drop in and receive email notifications from here.
My personal blog site: https://www.oakleys.org.uk/blog
-
12-15-2014, 08:50 AM #9Web Hosting Master
- Join Date
- Feb 2006
- Posts
- 5,393
I often recommend Backupsy or SecureDragon for this purpose. However, if you just want simple ftp storage (and not a vps), adrive.com is a good option (the premium or business plans support ftp/sftp).
WHMEasyBackup.com - Take Control Of Your Backups!
Complete Backup Solution For WHM Reseller Accounts
-
12-15-2014, 08:50 AM #10WHT Addict
- Join Date
- Nov 2013
- Posts
- 160
Alright, thanks.
So I believe using Google Drive or DropBox via this mechanism is ruled out, then? I should better look for a remote space provider, according to you?
-
12-15-2014, 09:57 AM #11Web Hosting Guru
- Join Date
- Sep 2003
- Posts
- 313
I would suggest using https://www.siteautobackup.com/
Just provide your WHM credentials and the site will retrieve backups on the interval you require. No need to download the files to your own computer or setup a backup-server.
I use it myself as backup and I can highly recommend it.
-
12-15-2014, 10:15 AM #12The Linux Specialist
- Join Date
- Mar 2003
- Location
- /root
- Posts
- 23,991
Moved > Specialty Hosting and Markets .
Specially 4 U
Reseller Hosting: Boost Your Websites | Fully Managed KVM VPS: 3.20 - 5.00 Ghz, Pure Dedicated Power
JoneSolutions.Com is on the net 24/7 providing stable and reliable web hosting solutions, server management and services since 2001
Debian|Ubuntu|cPanel|DirectAdmin|Enhance|Webuzo|Acronis|Estela|BitNinja|Nginx
-
12-15-2014, 04:02 PM #13Web Hosting Master
- Join Date
- Feb 2014
- Posts
- 1,700
As others state you would be better off going with a backup provider who provide you with FTP access or as a few mentioned you could also get a VPS with a large HDD partition. Make sure in either case the provider have the HDDs RAID protected and if they backup the data from there, then you got the "golden" backup space. Since even if the drive(s) fails then the provider could restore from backups.
-
12-15-2014, 04:52 PM #14Newbie
- Join Date
- Dec 2014
- Posts
- 10
You should be able to backup directly to FTP or Amazon S3.
-
02-05-2015, 05:29 AM #15WHT Addict
- Join Date
- Jun 2012
- Posts
- 174
If you have Dropbox or Drive account, you can backup directly from your server. This online stores have an API interface, and you can call this interface from your server, and upload/download/delete... any files.
We tested this interface, and it's working, but the free online account have a speed limitation.
-
02-05-2015, 05:31 PM #16WHT Addict
- Join Date
- Jul 2013
- Location
- Buckinghamshire, UK
- Posts
- 124
-
02-05-2015, 06:43 PM #17Web Hosting Master
- Join Date
- Apr 2011
- Location
- Cybertron
- Posts
- 10,484
-
02-05-2015, 09:23 PM #18Web Hosting Master
- Join Date
- Dec 2011
- Posts
- 1,460
Very good - awesome in fact.
Now all you need to do is think about what you actually need to do should you have to restore from that back up.
Most web sites - the physical page files that is - don't actually change all that often. What changes most is email (which you can and should already be retrieving and storing locally) and the biggie: databases.
So... you don't actually need to "offsite" the full site backup all that frequently. Once a week at most. What you really need more frequently than that offsite is a dump of your database - which is, presumably, smaller than the entire site as a whole. Assuming MySQL it should be a relatively trivial matter to cron a mysqldump of the databases, gzip the resulting dump files, and ftp/scp those files somewhere else for offsite storage.
Depending on the contents of those SQL dumps, you may also want to put GPG somewhere into that cron job to encrypt the dump files before you start transferring them willy-nilly around the Interwebs.
Code:#!/bin/sh DATE=`date '+%Y%m%d'` cd /var/lib/mysql for DB in `find . -maxdepth 1 -type d -printf "%f\n" | egrep -v "^\."`; do mysqldump -u dumpuser -p dumpuserpassword "$DB" > "/tmp/$DB.$DATE.sql" || exit -1; gzip -9 "/tmp/$DB.$DATE.sql" gpg --output "/tmp/$DB.$DATE.sql.gz.gpg" --encrypt --recipient you@somehost "/tmp/$DB.$DATE.sql.gz" scp "/tmp/$DB.$DATE.sql.gz.gpg" someuser@somehost.sometld:/some/dir/. done
It's simple, but it works and should get you started. You can get more creative (or not :p ) later...
Edit: OH! Free tip.
On the "somehost.sometld" that the resulting dump files get transferred to? Have another cron job that runs daily as root do this:
Code:#!/bin/sh find /some/dir -maxdepth 1 -type f -name \*.gpg -exec chattr +i \{\} \;
If someone hacks your web server they can delete all the local data, but they won't be able to use the web server's credentials or keys to connect to your offsite storage server and blow away any of your backups. This *has actually happened* to some people, so make SURE that nothing on the machine the backups came from can alter those backups once they've been delivered to the receiving offsite server.Last edited by SneakySysadmin; 02-05-2015 at 09:32 PM.
-
04-17-2015, 03:31 AM #19Web Hosting Guru
- Join Date
- Nov 2012
- Posts
- 265
siteautobackup.com i find is the easiest to use, not very complicated at all as i use it myself.
www.avrixe.com
Shared Hosting Provider
-
04-17-2015, 01:20 PM #20Retired Moderator
- Join Date
- Oct 2010
- Posts
- 5,079
Last edited by Postbox; 05-14-2015 at 09:37 PM.
Not as active on WHT as I used to be, but still drop in and receive email notifications from here.
My personal blog site: https://www.oakleys.org.uk/blog
Similar Threads
-
Storing cheaply gigabyte files online wiht high bandwidth.
By fixxinet in forum Web HostingReplies: 4Last Post: 04-18-2013, 01:45 AM -
cheap netherland server for just storing backups
By bhanuprasad1981 in forum Dedicated ServerReplies: 14Last Post: 11-02-2011, 09:29 AM -
Best thing for storing backups?
By AlexBlundell in forum Specialty Hosting and MarketsReplies: 15Last Post: 02-06-2011, 07:23 PM -
Storing Credit Cards Online
By innova in forum Hosting Security and TechnologyReplies: 4Last Post: 03-03-2004, 03:27 PM -
Database storing - online catalogue ???
By jackdavis in forum Web HostingReplies: 5Last Post: 03-09-2003, 05:24 AM