IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
2 Pages V   1 2 >  
Reply to this topicStart new topic

Best Way To Backup A Website?


rpgsearcherz
no avatar
Trap Grand Marshal Member
***********
Group: [HOSTED]
Posts: 1,403
Joined: 18-December 07
Member No.: 54,935
Spam Patrol
myCENT:80.10



Post #1 post Oct 20 2008, 04:26 AM
Hey all, was told in another thread that it is a good idea to back up a website every day/week.

I'm wondering what the best way to do this is.

At the moment my site is using SQL and html files(The database is just for forums.)

So would I just need to ensure I have a current copy of my .html files on my pc, and go into my database through trap's control panel and export, or is there a better way?

I remember having a lot of issues in the past when it came to transferring forum databases from one host to another.

Also, let's say I take phpbb's database from username (rpgsearcherz_rpgsearcherz) and database name (rpgsearcherz_rpgsearcherz) and transferred over to...(trap_trap) and (trap_trap) would I need to change anything in the databases themselves, or would I just need to change phpbb's directory information to point to the new server/username/database instead of the old one?

Thanks in advance!
Go to the top of the page
+Quote Post
jlhaslip
no avatar
Insert Custom Title Here
*******************
Group: [MODERATOR]
Posts: 4,934
Joined: 24-July 05
From: Linux, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol
myCENT:5.30



Post #2 post Oct 20 2008, 05:03 AM
That is sort of a two part question you have going there.

First Question:
Backing-up an Account is best done in the Cpanel. Select the Backup Wizard and then follow the steps 1 to 3. Assuming that you make the default selections, a full Account Back-up will soon be available in your Account File structure. The compressed file will have a name that includes the date-time-accountname.tar.gz (example: backup-10.16.2008_21-55-30_jlhaslip.tar.gz). Simply select the file in the File Manager and download it onto your PC. I then move the file to a Thumbdrive for long-term storage. You can then unpack that file into a directory on your PC and the html (or whatever) are then available for inspection locally. if you have a localhost server such as XAMPP running, the php files can then be tested and the databases recreated so that you have a full copy, however, you will nedd to modify all of the configuation file since the DB names and paths are usually different from the Web Host.

Second Question:
Depends. Some Forum Software contain the Configuration information inside their DB as a "registry" table. I am not familiar with phpbb3, so I can't comment specifically on that software. Phpmyadmin SQL backups should only be trusted as a method to restore the specific Database on the same servers. Again, it will depend on the contents of the Database and the software's method of storing the configuration information.
Go to the top of the page
+Quote Post
rpgsearcherz
no avatar
Trap Grand Marshal Member
***********
Group: [HOSTED]
Posts: 1,403
Joined: 18-December 07
Member No.: 54,935
Spam Patrol
myCENT:80.10



Post #3 post Oct 20 2008, 05:08 AM
Got it, thanks a lot for that information.

I really haven't done that much experimenting with Cpanel yet - mostly just doing basic things like ftp and sql accounts.

I guess it'd be a good idea to better explore all of the different options there and see what does what.


As confirmation though, using the cpanel backup will back up EVERYTHING? Like including databases, every file, etc. And if so, as long as I stay on Trap17 would I be able to use that to do a full replacement? Meaning...If I was to delete some pages/screw up my database I could use that backup to completely restore everything that was there before(at the time the backup was actually made)?

Sorry for all of the questions, but this is very new to me and I like getting thorough understandings before screwing things up, tongue.gif
Go to the top of the page
+Quote Post
jlhaslip
no avatar
Insert Custom Title Here
*******************
Group: [MODERATOR]
Posts: 4,934
Joined: 24-July 05
From: Linux, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol
myCENT:5.30



Post #4 post Oct 20 2008, 06:20 AM
Yes, it stores all of the files you have uploaded/created, AND the account files inside your Account. I am just now unpacking the compressed tar.gz file to see if the Databases are in there, too. I will post back here when I get a chance to figure out all the files that are there and whether the DB's are included. Might take a while since I am dealing with a fairly large tar.gz file to unpack onto the thumbdrive, which is pretty slow.

*edit*

Indeed, there is a folder that contains SQL files of all the databases in my account. you would be able to restore all the database tables and their contents from the SQL files, as well as all the settings for the Account. This is definitely the way to go.
Go to the top of the page
+Quote Post
OpaQue
no avatar
Administrator
**************
Group: Admin
Posts: 1,625
Joined: 11-June 04
From: Somewhere in Time & Space.
Member No.: 1
myCENT:NEGATIVE[-78.06]



Post #5 post Oct 20 2008, 07:27 AM
Changing the Package? (upgrading to v3.0)
=======================

Order a Package at ComputingHost.com with the SAME-DOMAIN(xxx.trap17.com or your existing owned domain name)
In notes section, mention the CPanel username and password of your existing cpanel account by trap17.
We will upgrade your existing account and send you the details.
This will cause your account to be UNLINKED out of credit-system v2.0 and you now manage its billing by paying its invoices off your credit balance smile.gif


Change the name of your Website -> helps to be hosted on any of our servers.
=======================
Once you get your own domain name, you are free to host it anywhere.

1. If you order a domain name, you can change the name of your website from MYNAME.trap17.com to MYNAME.com.
2. Submit a Ticket to Support if you wish to change your server.


Ordering a New Package
========================

1. Login to xistosupport.com/billing
2. Click Order New.
3. Go ahead with the order and you are done.

We request you to allow us atleast 24-48 hours for processing your order.



Go to the top of the page
+Quote Post
Saint_Michael
no avatar
$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3
*********************
Group: [MODERATOR]
Posts: 7,256
Joined: 21-September 04
From: 9r33|\| 399$ 4|\|D 5P4/\/\
Member No.: 1,218
myCENT:87.10



Post #6 post Oct 20 2008, 06:00 PM
I actually had a full backup of my site lying around in my account and poked around a bit and a full back up does have a couple of your MySQL, but my suggestion and of course its requirement is to have two separate backups of your hosting. As for the for the time frame to make these back ups you want your hosting on a weekly and your MySQL on a daily, especially if your a blogger. Now you can cut out the manual work by setting up cron jobs to do this for you, but I since I lack the experience of setting up crons you have to do some searching. I am not sure but I think trap17 has a few topics on it but again not to sure though since those topics would most likely be buried somewhere in the forums.

Also when backing up MySQL you can do it in phpMyAdmin through the export import options within phpMyAdmin, even though both back up options are good, I would recommend it doing the backs up through phpMyAdmin if you haven't set up a cron job since you have quite a few more options on how you want you backup to be.
Go to the top of the page
+Quote Post
minimcmonkey
no avatar
Super Member
*********
Group: [HOSTED]
Posts: 407
Joined: 19-June 08
From: United Kingdom - Cornwall!!!!!
Member No.: 63,876
myCENT:80.60



Post #7 post Dec 8 2008, 12:23 PM
Cpanel is the best way of backing up all of your site as well as databases and configuration. Backups can be created then downloaded through the backup manager in cpanel. It can also create encrypted backups, for security.
Another way of backing up, if you just want the files, rather that databases ad configuration, is just to use your FTP, just copy all the files off,ad paste them onto your own computer or another location.

Depending on the content of the website, it may be a good idea to encrypt your backups, (Cpanel will do this) as if someone were to obtain an unencrypted copy of your password database, all of your users accounts are insecure!
Go to the top of the page
+Quote Post
kleong
no avatar
Super Member
*********
Group: Members
Posts: 284
Joined: 1-April 09
Member No.: 79,396
myCENT:73.38



Post #8 post May 13 2009, 03:32 PM
You should not have any problems importing the backend for SQL. What forum software are you using? From my experience, all I need to do is to install the same version of the forum software at the new server, then go to the phpmyadmin and do the import. The new forum works just as fine. I am using phpbb. As for the static, pages, guess you have to do the ftp way.
Go to the top of the page
+Quote Post
k_nitin_r
no avatar
Super Member
*********
Group: Members
Posts: 430
Joined: 5-May 09
Member No.: 81,376
myCENT:31.71



Post #9 post Jun 6 2009, 07:49 AM
Hi!

I've got a WordPress blog (on another host) and I back it up using phpMyAdmin and an FTP client. I'm still getting started with the WordPress blog I have here at Trap17, so I'm not backing up my data just yet. Perhaps in another month or so.

Regards,
Nitin Reddy
Go to the top of the page
+Quote Post
PatrickMc
no avatar
Newbie
*
Group: Members
Posts: 5
Joined: 21-December 08
Member No.: 74,849



Post #10 post Jun 13 2009, 05:14 PM
You can use biterscripting ( http://www.biterscripting.com ) to copy or download web pages. For example, the following command

QUOTE


will copy this web page to file C:/Backup/trap17.html .

Patrick
Go to the top of the page
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts 12 noxit 11,479 26th February 2009 - 12:59 AM
Last post by: novic_1223
No new   60 -iancovenant- 6,569 13th November 2009 - 11:45 AM
Last post by: templehost
No new   27 Dagoth Nereviar 4,304 22nd August 2009 - 09:38 PM
Last post by: Nameless_
No New Posts   5 Thunder 8,209 16th April 2009 - 08:21 AM
Last post by: amrik09
No new   17 EricDrinkard 16,928 11th August 2009 - 01:13 PM
Last post by: fadillzzz
No New Posts   4 andyy15 6,351 27th May 2009 - 09:36 PM
Last post by: Dook-E
No New Posts   1 Jarek_Gd 962 24th February 2008 - 12:49 PM
Last post by: rvalkass
No new   23 PnOyKiO 21,570 20th October 2009 - 12:22 PM
Last post by: -Sky-
No new   45 Dehornos 7,227 7th November 2009 - 08:01 PM
Last post by: bigtimedrama
No new   16 sonesay 2,594 31st July 2009 - 06:27 AM
Last post by: iworld200
No new 18 Vacant 16,260 26th September 2004 - 10:13 AM
Last post by: gotcha41
No new   21 djleli 18,543 18th November 2009 - 12:21 PM
Last post by: legend112
No new   17 odomike 10,575 27th August 2004 - 06:31 AM
Last post by: odomike
No New Posts   3 mizako 5,329 26th October 2004 - 05:59 PM
Last post by: mizako
No new   22 Shadow 10,285 12th September 2004 - 07:20 PM
Last post by: Shadow


 



RSS Open Discussion Time is now: 22nd November 2009 - 12:08 AM

Web Hosting Powered by ComputingHost.com.