What is the best way to backup a large website?

Maxoq

Well-known member
Registered
Joined
Feb 25, 2015
Messages
520
Points
28
I have a site approx 50GB of storage. I need something fast and easy to backup all my sites files to my PC?

I have very little ssh knowledge so I would prefer something simple so it would be great if you can give me a guide.
 

Malcolmjr96

Moderator
Staff Member
Joined
Apr 18, 2016
Messages
433
Points
28
Are you using a control panel, Interworx, cpanel etc?
 

VirtuBox

Well-known member
Registered
Joined
May 3, 2016
Messages
1,622
Points
83
I haven't seen your post ealier. Easiest way would be use scp to transfer data ovh ssh. But there is also the same possibility with rsync. And if you want fast transfer, make a multi .zip instead of move 100 000+ files

If you need help PM me. I have a dedicated server to backup files and then upload it where you want to download them.
 

Maxoq

Well-known member
Registered
Joined
Feb 25, 2015
Messages
520
Points
28
Are you using a control panel, Interworx, cpanel etc?
What is Interworx?

For cPanel, I failed to backup a website on Hostgator in the past and I had to contact them to backup for me (send download link)

I haven't seen your post ealier. Easiest way would be use scp to transfer data ovh ssh. But there is also the same possibility with rsync. And if you want fast transfer, make a multi .zip instead of move 100 000+ files

If you need help PM me. I have a dedicated server to backup files and then upload it where you want to download them.
Making multi zip files? how to manage it?

I want to backup all files and database that a VPS has, or choosing some websites to backup. it's possible?
 

Malcolmjr96

Moderator
Staff Member
Joined
Apr 18, 2016
Messages
433
Points
28
cPanel (Unless disabled by the host) has a feature where you can back up the entire site (Database included) which can take a long time, or you can backup partially, so you can backup some databases, directories.
 

Tim Dini

New member
Registered
Joined
Jun 19, 2016
Messages
13
Points
0
Usually best to create a complete image the first time, then do incremental backups on a set schedule matching your frequency of changes (daily, weekly, monthly, etc.) Also, I prefer to store the image and incremental backups on an alternate server (separate host service).

This is the current version (56) of the cPanel backup documentation:
https://documentation.cpanel.net/display/ALD/Backup+Configuration
 

codexhost

New member
Registered
Joined
Jun 20, 2016
Messages
3
Points
0
please, could you provide us with the following to give you a clear answer ?
1- Control panel type
2- hosting type ( VPS - Shared hosting - Managed Hosting)
3 - type of site using CMS or custom development
 

Maxoq

Well-known member
Registered
Joined
Feb 25, 2015
Messages
520
Points
28

EcommIndiaCloudIT

Member
Registered
Joined
Dec 28, 2016
Messages
64
Points
0
EcommIndiaCloudIT
Register for AWS > create an S3 bucket > Create a user API key with read/write permission for S3 > Configure WHM Backup with Remote Destination as S3 and the key > Let the backup run > Done

Now you have a copy of your entire server on S3. You can either leave it there if you intend on transferring it to a new server some day or you can download it to your PC at your convenience.
 

VirtuBox

Well-known member
Registered
Joined
May 3, 2016
Messages
1,622
Points
83
You can do it in two time.
First backup your databases, by exporting them using phpmyadmin -> export

And for your files, if you have ssh access

Code:
tar zcvf yourarchive.tar.gz yourfolder/
 

Maxoq

Well-known member
Registered
Joined
Feb 25, 2015
Messages
520
Points
28
Maxoq
Yes I have root account

Where to type this command

at root and I need to move to "yourfolder" and run this command

Code:
tar zcvf yourarchive.tar.gz yourfolder/
?
 

VirtuBox

Well-known member
Registered
Joined
May 3, 2016
Messages
1,622
Points
83
you have to go in the folder just before the one you want to backup. So I guess

Code:
cd /var
tar zcvf backup.tar.gz www/
to backup all files you can access from ftp. Get the same problem today with a backup because some files have incorrect characters in their name and can't be downloaded by ftp
 

praveenk

Member
Registered
Joined
Mar 10, 2016
Messages
17
Points
0
I would like to recommend you to purchase R1soft backup from any external hosting provider and configure remote backup for your hosting account instead of downloading backup on daily basis and waste your valuable time.
 

smithroy

New member
Joined
Sep 10, 2016
Messages
12
Points
0
cPanel has the possibility to backup/transfer sites. Also, you might like to try 3rd party tool xCloner, it makes a full site/db backup/restorations, splits large archives and transfers to another server without issue.
 

HostXNow

Well-known member
Hosting Provider
Registered
Joined
Nov 26, 2014
Messages
374
Points
28
Simply use cPremote on VPS and set it to rsync all data to backup server. Then you can rsync all cpanel accounts using software like syncovery.

Quick way is to compress all cpanel accounts using cpanel backup system and then ftp the data to PC. You can sync the data for changes by resuming copy of the files in FTP client.
 

Maxoq

Well-known member
Registered
Joined
Feb 25, 2015
Messages
520
Points
28
Simply use cPremote on VPS and set it to rsync all data to backup server. Then you can rsync all cpanel accounts using software like syncovery.

Quick way is to compress all cpanel accounts using cpanel backup system and then ftp the data to PC. You can sync the data for changes by resuming copy of the files in FTP client.
I am wondering where to compress all cpanel accounts? what is the path to where containing all cPanel accounts?


Register for AWS > create an S3 bucket > Create a user API key with read/write permission for S3 > Configure WHM Backup with Remote Destination as S3 and the key > Let the backup run > Done

Now you have a copy of your entire server on S3. You can either leave it there if you intend on transferring it to a new server some day or you can download it to your PC at your convenience.
This way is very convenient for normal users as me. I have just check S3 pricing, it's good and they are offering free 5GB storage but I am not sure how the security of kind of services will.
 

HostXNow

Well-known member
Hosting Provider
Registered
Joined
Nov 26, 2014
Messages
374
Points
28
I am wondering where to compress all cpanel accounts? what is the path to where containing all cPanel accounts?
You can configure them in (Home >> Backup >> Backup Configuration)

A detailed guide is available at https://documentation.cpanel.net/display/ALD/Backup+Configuration

Your hosting provider should be able to give you step by step instructions on how to do it if using a managed service.

The guide says

Save Configuration

After you configure the desired settings, click Save Configuration at the bottom of the Backup Configuration interface.
To reset all of the settings in the Backup Configuration interface to the default settings, click Reset.

Run backups manually

To run a backup manually, run the following command:
/usr/local/cpanel/bin/backup

If up-to-date backup files exist but you wish to perform an additional backup, run the following command:
/usr/local/cpanel/bin/backup --force
Hope that helps!?
 
Older Threads
Replies
16
Views
6,833
Replies
4
Views
2,620
Replies
18
Views
10,034
Replies
0
Views
1,691
Replies
12
Views
7,640
Newer Threads
Replies
24
Views
11,689
Replies
13
Views
5,867
Replies
1
Views
1,846
Latest Threads
Recommended Threads
Replies
14
Views
5,735
Replies
4
Views
1,726
Replies
3
Views
2,416

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top