SEOClerks

Best Way to Back Up a Website?



Write the reason you're deleting this FAQ

Best Way to Back Up a Website?

Ok so I am really not a very clever bunny when it comes to this sort of thing, but I need to back up my website.

I have done this before on two of my websites using the BackWPup plugin and I save my backups to Dropbox right?

Now I tried all yesterday and last night to back up my other website in the same way, also to Dropbox and I just got error after error.

I hate fighting with things and I hate it when things don't work.

Are there any really easy ways to back up my website? I do need to do it quite urgently because I want to make lots of changes this weekend and in case I stuff something up I need to be able to revert back to where it is now....

Comments

Please login or sign up to leave a comment

Join
idealmike
Hi Lynne. Firstly, don't panic! When you panic you make rash mistakes and it just exacerbates the situation even more. Big words and psychology lesson over. Keep calm and be positive! There are many ways to back up a website! I'll post some of the ways I do it.

A websites files are just that, files. And like files on your own PC, you can back those files up to a new location. Such as a CD/DVD or USB memory stick. Another external or internal drive or even to DropBox or some cloud hosting solution.

So you'll need access to those files before you can back them up. Your web host should provide you access to your hosting account dashboard where you can manage your site from. They may even provide their own back up services as well. But they probably provide Cpanel access at least which gives you access to all your sites files, directories etc and browse through them etc.

You can use Cpanel to create a backup of all your site files. It should give you access to your public_html directory where your site/s are. You can use it to compress your whole sites directory into a zip file or even a tar or rar file you can then download to your own PC. That way you'll always have a hard copy of your site in case the host ever goes down and stops being in business and your site and all its files are gone (does happen).

I presume you're talking about backing up a WP site? And you've used some plugins to back it up from inside WordPress itself? This is also one way of backing up a WP site using some backup plugin. They usually do the same thing and compress everything like your sites theme files, plugins, account details, settings, pages, posts and even your actual sites database etc into an XML file you can then "Import" back into a fresh WP installation using the Import page in WP.

Those plugins that do that are useful but they only back up the main parts of that WP site. But using Cpanel IMHO is the easiest and fastest way to back up your whole site and actually does that, backs up your whole sites files (everything). Which you can download and store on your PC or upload that to DropBox or some cloud hosting solution or something.

Then if you need to restore your site. Just reupload that and extract and overwrite and your site will be restored exactly as is. That will include everything in that directory, your other directories the .htaccess and robots.txt etc. Everything.

You should also backup your database as well! You'll need to use MySQL Manager or phpMyAdmin from Cpanel. A site comes in two parts. The database and the files. Unless it's just a simple HTML site and isn't using any databases.

Hope that helps! Let me know if you have any more q's.

Mike.



Are you sure you want to delete this post?

Everett
I usually use the backup feature of cPanel.

Here's how I do it:
  1. Login into your cPanel
  2. Under the "Files" section find "Backup" and click it
  3. Find the button "Download a Full Website Backup" and click it
  4. You'll be redirected to page in which would give you options of where you want the backup
  5. Choose "Home directory"
  6. Click the button "Generate Backup"
  7. Then you'll be redirected to another page with "Full Backup in Progress … "

You can opt in for an email alert of when the backup is done if you want to get notified, shouldn't take too long to complete the backup.

Another way I do it, is compress the entire "public_html" directory, and save all the contents of phpmyadmin and download it. Then I store on a USB stick just in case something were to occur with my hard drive.



Are you sure you want to delete this post?

Lynne
Thanks Everett Best Way to Back Up a Website? I just need my cPanel details then for future backups!

My sister just did this one for me, but I think in future I will be doing my own since it is awful having to always rely on other people to get things done.



Are you sure you want to delete this post?

Cristian
Well make sure you gain those details, they become really important whenever you'll be having hosting problems. I also suggest you backup everything as often as you make important changes to your website.

I suggest you archive everything on an external HDD.



Are you sure you want to delete this post?

procoder
I have an option on my control panel that allows me to backup my website, but personally I've never use it, because I prefer to store all my website files manually to my HDD/Online storage through FTP server. HDD it's not a safe place enough, and due to this I'm using online storages too, because a very bad thing happened to me a few days before, my computer got burned by lightning and I lost everything from my HDD-s. :/

Now I have done some copies of my website backup, and I've uploaded it in some online storages, because I can't risk again to use only my HDD.



Are you sure you want to delete this post?

Lynne
Oh my gosh Procoder that is awful Best Way to Back Up a Website? I hope you didn't lose too much work!

I know how that feels. About 6 years ago I had all my work lost because my pc and my laptop died on the same day. I had some backups of my work on disc but not completely up to date plus there was a lot of other things saved on my hard drives. I lost it all.

Since that day I don't save anything to disc or my hard drive. Everything is saved to my online storage.

I am so sorry to hear that you have had such a rotten week.



Are you sure you want to delete this post?

procoder
Yeah that was really a bad moment. I've lost everything that I was working recently, and that is a lot of damage for me. I had some backups on my external hdd, but not things that I wanted. Anyway, I've started from 0 now.



Are you sure you want to delete this post?

Lynne
Oh no, that is terrible I am so sorry you lost so much. I really do know that feeling since I was there too.

You know how nice it is to save everything online? 3 years ago when I was pregnant with my son I accidentally poured coffee (a lot of it) on my laptop in the morning. I went and bought a new laptop immediately and by the afternoon I was working again like nothing had changed!

It makes such a difference using Drop Box and Google Drive.



Are you sure you want to delete this post?

Lynne
Wow, thanks for all the information Mike, you have made it all so simple for me.Luckily right now I don't have to worry about it anymore because I got tired of trying yesterday, it was like hitting my head against a brick wall so I called my sister because this website is hosted with here and she knows how to do these things. She is busy with backing it up this morning.

I am grateful for this information though because I like to know how to do as much as possible for myself and not be reliant on someone else if I can help it. Now maybe next time I do it myself, I will just need the Cpanel details which I don't have.



Are you sure you want to delete this post?

Corzhens
Thank you for the information that you commented, guys. I have to learn these things because I need to be equipped with enough knowledge when I create my own website. My understanding was that the host provider will handle the backing up of the web files but it looks like it isn’t the standard. Anyway, perhaps I have to know how to do the backup in case I the web owner has to do it himself.



Are you sure you want to delete this post?

Order Now
Process Time: 0.43377184867859

Possible Duplicate queries found!
MatchCountSQLScript
SELECT * FROM members_ledger WHERE ip = ? AND added>=unix_timestamp(NOW())-864001SELECT querystring, added FROM members_ledger WHERE ip = ? AND added>=unix_timestamp(NOW())-86400

/opt/clerks-staging/docroot/include/functions/includes/security.php 398 fetchMemberLedger() include_once()

SELECT * FROM `questions` as q JOIN categories_faq as c ON q.catid=c.CATID WHERE (q.status=1 OR (q.status=2 AND userid='') ) AND q.quesid='19492'1SELECT q.*, c.seo as CatSEO, c.name as CatName, c.parentid FROM `questions` as q JOIN categories_faq as c ON q.catid=c.CATID WHERE (q.status=1 OR (q.status=2 AND userid='') ) AND q.quesid='19492'

/opt/clerks-staging/docroot/viewfaq.php 496 () ()

SELECT * FROM seoclerks.members WHERE USERID='306632'1SELECT * FROM seoclerks.members WHERE USERID='306632'

/opt/clerks-staging/docroot/include/functions/includes/member.php 445 GetAllUserDetails() ()

SELECT * FROM categories_faq WHERE CATID='43'1SELECT CATID, seo, name, metatitle, h2header, metakeywords, metadescription, metaheader, parentid, image_name FROM categories_faq WHERE CATID='43'

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() GetCategorySeoFromType()

SELECT * FROM seoclerks.members WHERE USERID=3066321SELECT googleplus_profile FROM seoclerks.members WHERE USERID=306632

/opt/clerks-staging/docroot/include/functions/main.php 16914 GetGooglePlusProfileFromId() ()

SELECT * FROM ratings_faq as r, seoclerks.members as m WHERE r.USERID=m.USERID AND r.upvote=1 AND r.PID=19492 LIMIT 51SELECT m.username FROM ratings_faq as r, seoclerks.members as m WHERE r.USERID=m.USERID AND r.upvote=1 AND r.PID=19492 LIMIT 5

/opt/clerks-staging/docroot/include/functions/main.php 17159 GetVoters() ()

SELECT * FROM answers a, seoclerks.members b WHERE a.quesid='19492' AND a.userid=b.USERID and b.status='1' AND a.status=1 ORDER BY a.combined_votes DESC, a.date_answered asc1SELECT a.answer, a.USERID, a.upvotes, a.downvotes, a.ansid, a.parentid, a.combined_votes, a.date_answered, b.username, b.userlevel, b.profilepicture FROM answers a, seoclerks.members b WHERE a.quesid='19492' AND a.userid=b.USERID and b.status='1' AND a.status=1 ORDER BY a.combined_votes DESC, a.date_answered asc

/opt/clerks-staging/docroot/viewfaq.php 1245 () ()

SELECT * FROM ratings_faqanswers as r, seoclerks.members as m WHERE r.USERID=m.USERID AND r.upvote=1 AND r.PID=106795 LIMIT 51SELECT m.username FROM ratings_faqanswers as r, seoclerks.members as m WHERE r.USERID=m.USERID AND r.upvote=1 AND r.PID=106795 LIMIT 5

/opt/clerks-staging/docroot/include/functions/main.php 17159 GetVoters() ()

SELECT * FROM ratings_faqanswers as r, seoclerks.members as m WHERE r.USERID=m.USERID AND r.upvote=1 AND r.PID=106826 LIMIT 51SELECT m.username FROM ratings_faqanswers as r, seoclerks.members as m WHERE r.USERID=m.USERID AND r.upvote=1 AND r.PID=106826 LIMIT 5

/opt/clerks-staging/docroot/include/functions/main.php 17159 GetVoters() ()

SELECT * FROM ratings_faqanswers as r, seoclerks.members as m WHERE r.USERID=m.USERID AND r.upvote=1 AND r.PID=106836 LIMIT 51SELECT m.username FROM ratings_faqanswers as r, seoclerks.members as m WHERE r.USERID=m.USERID AND r.upvote=1 AND r.PID=106836 LIMIT 5

/opt/clerks-staging/docroot/include/functions/main.php 17159 GetVoters() ()

SELECT * FROM ratings_faqanswers as r, seoclerks.members as m WHERE r.USERID=m.USERID AND r.upvote=1 AND r.PID=107149 LIMIT 51SELECT m.username FROM ratings_faqanswers as r, seoclerks.members as m WHERE r.USERID=m.USERID AND r.upvote=1 AND r.PID=107149 LIMIT 5

/opt/clerks-staging/docroot/include/functions/main.php 17159 GetVoters() ()

SELECT * FROM ratings_faqanswers as r, seoclerks.members as m WHERE r.USERID=m.USERID AND r.upvote=1 AND r.PID=106867 LIMIT 51SELECT m.username FROM ratings_faqanswers as r, seoclerks.members as m WHERE r.USERID=m.USERID AND r.upvote=1 AND r.PID=106867 LIMIT 5

/opt/clerks-staging/docroot/include/functions/main.php 17159 GetVoters() ()

SELECT * FROM ratings_faqanswers as r, seoclerks.members as m WHERE r.USERID=m.USERID AND r.upvote=1 AND r.PID=106868 LIMIT 51SELECT m.username FROM ratings_faqanswers as r, seoclerks.members as m WHERE r.USERID=m.USERID AND r.upvote=1 AND r.PID=106868 LIMIT 5

/opt/clerks-staging/docroot/include/functions/main.php 17159 GetVoters() ()

SELECT * FROM ratings_faqanswers as r, seoclerks.members as m WHERE r.USERID=m.USERID AND r.upvote=1 AND r.PID=106972 LIMIT 51SELECT m.username FROM ratings_faqanswers as r, seoclerks.members as m WHERE r.USERID=m.USERID AND r.upvote=1 AND r.PID=106972 LIMIT 5

/opt/clerks-staging/docroot/include/functions/main.php 17159 GetVoters() ()

SELECT * FROM ratings_faqanswers as r, seoclerks.members as m WHERE r.USERID=m.USERID AND r.upvote=1 AND r.PID=106975 LIMIT 51SELECT m.username FROM ratings_faqanswers as r, seoclerks.members as m WHERE r.USERID=m.USERID AND r.upvote=1 AND r.PID=106975 LIMIT 5

/opt/clerks-staging/docroot/include/functions/main.php 17159 GetVoters() ()

SELECT * FROM ratings_faqanswers as r, seoclerks.members as m WHERE r.USERID=m.USERID AND r.upvote=1 AND r.PID=106812 LIMIT 51SELECT m.username FROM ratings_faqanswers as r, seoclerks.members as m WHERE r.USERID=m.USERID AND r.upvote=1 AND r.PID=106812 LIMIT 5

/opt/clerks-staging/docroot/include/functions/main.php 17159 GetVoters() ()

SELECT * FROM ratings_faqanswers as r, seoclerks.members as m WHERE r.USERID=m.USERID AND r.upvote=1 AND r.PID=167775 LIMIT 51SELECT m.username FROM ratings_faqanswers as r, seoclerks.members as m WHERE r.USERID=m.USERID AND r.upvote=1 AND r.PID=167775 LIMIT 5

/opt/clerks-staging/docroot/include/functions/main.php 17159 GetVoters() ()

UPDATE questions SET total_views = total_views + 1 WHERE quesid='19492'1UPDATE questions SET total_views = total_views + 1 WHERE quesid='19492'

/opt/clerks-staging/docroot/include/functions/main.php 1765 update_Faqviewcount() ()

SELECT * FROM questions WHERE quesid!='19492' AND status='1' AND (question like '%Best Website? %' OR question like '%Best%' OR question like '%Website?%') -- ORDER BY RAND() LIMIT 151SELECT quesid, question, seo, userid FROM questions WHERE quesid!='19492' AND status='1' AND (question like '%Best Website? %' OR question like '%Best%' OR question like '%Website?%') -- ORDER BY RAND() LIMIT 15

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() ()

SELECT * FROM seoclerks.members WHERE USERID='1323' limit 11SELECT profilepicture FROM seoclerks.members WHERE USERID='1323' limit 1

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() insert_get_member_profilepicture()

SELECT * FROM seoclerks.members WHERE USERID='1129' limit 11SELECT profilepicture FROM seoclerks.members WHERE USERID='1129' limit 1

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() insert_get_member_profilepicture()

SELECT * FROM seoclerks.members WHERE USERID='988' limit 11SELECT profilepicture FROM seoclerks.members WHERE USERID='988' limit 1

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() insert_get_member_profilepicture()

SELECT * FROM seoclerks.members WHERE USERID='297' limit 11SELECT profilepicture FROM seoclerks.members WHERE USERID='297' limit 1

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() insert_get_member_profilepicture()

SELECT * FROM members_ledger WHERE script='/opt/clerks-staging/docroot/viewfaq.php' AND querystring LIKE '%id=19492%' AND added>=UNIX_TIMESTAMP(NOW())-1200 GROUP BY USERID 1SELECT USERID, username FROM members_ledger WHERE script='/opt/clerks-staging/docroot/viewfaq.php' AND querystring LIKE '%id=19492%' AND added>=UNIX_TIMESTAMP(NOW())-1200 GROUP BY USERID

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() ()

SELECT * FROM categories1SELECT * FROM categories

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() parseRedundantQueriesCache()

select * from categories_software order by name asc1select * from categories_software order by name asc

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() insert_GetSoftwareCategories()

select * from categories_wanttobuy order by name asc1select * from categories_wanttobuy order by name asc

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() insert_get_wantcategories()

select * from categories_wanttotrade order by name asc1select * from categories_wanttotrade order by name asc

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() insert_get_tradecategories()

SELECT * FROM seoclerks.members WHERE USERID='272.jpg'1SELECT profilepicture FROM seoclerks.members WHERE USERID='272.jpg'

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() getUserProfileImage()

SELECT * FROM seoclerks.members WHERE USERID='2951.jpg'1SELECT profilepicture FROM seoclerks.members WHERE USERID='2951.jpg'

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() getUserProfileImage()

SELECT * FROM seoclerks.members WHERE USERID='306632.jpg'1SELECT profilepicture FROM seoclerks.members WHERE USERID='306632.jpg'

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() getUserProfileImage()

SELECT * FROM seoclerks.members WHERE USERID='134.png'1SELECT profilepicture FROM seoclerks.members WHERE USERID='134.png'

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() getUserProfileImage()

SELECT * FROM seoclerks.members WHERE USERID='377074.png'1SELECT profilepicture FROM seoclerks.members WHERE USERID='377074.png'

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() getUserProfileImage()

SELECT * FROM seoclerks.members WHERE USERID='600657.jpg'1SELECT profilepicture FROM seoclerks.members WHERE USERID='600657.jpg'

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() getUserProfileImage()

select * from categories_faq order by name asc1select * from categories_faq order by name asc

/opt/clerks-staging/docroot/libraries/adodb5/adodb.inc.php 1899 CacheExecute() insert_GetFaqCategories()

Invalid SQL

count(*)sql1error_msg

Expensive SQL

Tuning the following SQL could reduce the server load substantially
LoadCountSQLMaxMin

Suspicious SQL

The following SQL have high average execution times
Avg TimeCountSQLMaxMin