How do I backup and relocate an entire integramod site?

Support for IntegraMOD 140

Moderator: Integra Moderator

How do I backup and relocate an entire integramod site?

PostAuthor: bassphine » Sun Jul 23, 2006 8:47 pm

Hi everyone <img>

I recieved an e-mail with a cease and desist order for my domain name. Apparently a company with a name very similar to mine exists, and we both offer multimedia creation services, just of different genres. I have had my lawyer call their company and verify that they in fact did issue the order.
Instead of fighting it I'm willing to change my startup companys name slightly to distance the "product brand collusion" as they called it. I have picked out and registered a new domain name with my free hosting provider. However as a subdomain like the one I was using before, it comes with its own database and serverspace.
I need to know how to best go about moving everything over without starting from scratch, I have added a few mods and tweaked a couple of themes to make the site flow seamlessly.

I searched the site and found some information on databas backup and such but no clear and diffinitive step by step guide to backup and restore a site for either hack attacks or moving to a new server.

Any help would be very much appreciated
Last edited by bassphine on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

bassphine
Newbie
Newbie
 
Posts: 11
Likes: 0 post
Liked in: 0 post
Joined: Sat Jul 15, 2006 7:52 am
Cash on hand: 0.00

PostAuthor: Fubie » Sun Jul 23, 2006 9:05 pm

You can use the "Safe Upgrade" tutorial I created to help you with that. It walks you thru backing up your entire database to your PC and back to your host. Even if it's another host.

Then download your files and upload them to your new host.

http://integramod.com/forum/portal.php?page=9
Last edited by Fubie on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://www.myhorrorstories.com/files/bannerexchange.gif[/img][/url]

[url=http][img=left]http://www.fubie.net/images/geekstufflarge.jpg[/img][/url]

Fubie
Dev Team
Dev Team
 
Posts: 742
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 7:52 pm
Cash on hand: 0.00

Re: How do I backup and relocate an entire integramod site?

PostAuthor: bassphine » Sun Jul 23, 2006 9:33 pm

That sort of helps but I need to relocate the entire site to another server, this includes all photos in the album as well as all of the altered IM files. I understand that I need to backup the SQL DB and copy the whole site, all 800mb worth to my HD. It's after that, that I have no real clue what to do. I assume I copy the site to the new server, but how do I add the SQL DB and how do I get IM to recognize the new domain and settings so that everything works smothly without breaks and file/object not found errors?
Last edited by bassphine on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

bassphine
Newbie
Newbie
 
Posts: 11
Likes: 0 post
Liked in: 0 post
Joined: Sat Jul 15, 2006 7:52 am
Cash on hand: 0.00

Re: How do I backup and relocate an entire integramod site?

PostAuthor: found it » Mon Jul 24, 2006 2:13 am

Hi

Firstly you need to upload all your files to your new server.......

Regards to uploading your database a good way of doing it is to use mysqldumber found here...

http://www.mysqldumper.de/de/index.php?m=0

or you have to manually upload your database to your phpmyadmin....

once done you need to correct the queries in the config table that point to your old site..which are

Code: Select all
server_name and script_path




Also you need to change your config file to show the correct database edit it using as you normally would when changing code....

I think that is it ..let me know if there is anything else you need

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 4:29 am
Cash on hand: 0.00

PostAuthor: Bush » Mon Jul 24, 2006 4:56 pm

Not to disregard what found it stated, but there ARE official MySQL tools that have been released to support JUST this procedure.

http://www.mysql.com/products/tools/

I recommend MySQL Administrator, but MySQL Migration Toolkit looks promising as well. I've used MySQL Administrator before when I moved my live site to another machine, worked like a charm.

I kept my database usernames and passes the same on the new machine, so all I did was copy over the files (maintaining same dir structure) and then used MySQL Administrator to move the databases from server to server.

HtH.
Last edited by Bush on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
no signature.

Bush
Integra Member
Integra Member
 
Posts: 191
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 8:55 am
Cash on hand: 0.00

PostAuthor: found it » Tue Jul 25, 2006 3:05 am

"Bush";p="12365" wrote:Not to disregard what found it stated, but there ARE official MySQL tools that have been released to support JUST this procedure.

http://www.mysql.com/products/tools/

I recommend MySQL Administrator, but MySQL Migration Toolkit looks promising as well. I've used MySQL Administrator before when I moved my live site to another machine, worked like a charm.

I kept my database usernames and passes the same on the new machine, so all I did was copy over the files (maintaining same dir structure) and then used MySQL Administrator to move the databases from server to server.

HtH.


A nice find too...I shall be looking at this today....

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 4:29 am
Cash on hand: 0.00

Re: How do I backup and relocate an entire integramod site?

PostAuthor: Mandoo » Fri Jul 28, 2006 4:04 pm

[quote=""found it";p="12354""]Hi

Firstly you need to upload all your files to your new server.......

Regards to uploading your database a good way of doing it is to use mysqldumber found here...

http://www.mysqldumper.de/de/index.php?m=0

or you have to manually upload your database to your phpmyadmin....

once done you need to correct the queries in the config table that point to your old site..which are

Code: Select all
server_name and script_path




Also you need to change your config file to show the correct database edit it using as you normally would when changing code....

I think that is it ..let me know if there is anything else you need

<!-- s]

Following your instructions everything seems to be fine with transfering my site. The only problem is that the cookies dont seem to be working. When i try to login to the site it wont display the next page but then if i return to index im loged in. If i try to log in to the ACP it wont diplay the page.

Any ideas?
Last edited by Mandoo on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://www.ludusforums.co.uk/images/Mandoo/mandoo_sig.gif[/img][/url]
Curantly undergoing reconsructive surgery. Feel free to drop in.
User avatar
Mandoo
Newbie
Newbie
 
Posts: 23
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 5:54 pm
Cash on hand: 0.00

PostAuthor: evolver » Sat Jul 29, 2006 8:04 am

"Bush";p="12365" wrote:Not to disregard what found it stated, but there ARE official MySQL tools that have been released to support JUST this procedure.

http://www.mysql.com/products/tools/

I recommend MySQL Administrator, but MySQL Migration Toolkit looks promising as well. I've used MySQL Administrator before when I moved my live site to another machine, worked like a charm.

I kept my database usernames and passes the same on the new machine, so all I did was copy over the files (maintaining same dir structure) and then used MySQL Administrator to move the databases from server to server.

HtH.

I found this one very interesting too, and tried it out...
Download - OK and free!
Install - OK
Configuration - not easy when you are trying to connect to a remote server...

I just couldn't get it connected...
So, I looked at the manual on the site, and looked and looked...
This is the information that did the trick:
[quote]When connecting to the MySQL server from a remote location You have to specify the "hosts"(remote location IP's) that you will be accessing the database from.

You must have access to CPANEL and have MySQL features enabled for this solution to work. A simple way to check if you have these features is to go into the CPANEL and look for the MySQL Databases Section.

If you have it listed, go into it.

Down towards the bottom of the page that loads you will see a heading called "Access Hosts".

By default you will only see "localhost" listed below this heading. This means only database access from the localhost(yourserver) is allowed.

You can add more hosts to this list by using the text box provided with the title "Host:"

For Example: if you wanted to give access to the MySQL server to a remote computer with this static IP address: 211.233.2.24 all you would simply do is type in the IP address in the textbox and hit the "add host" button.

If you had an entire network that you needed to give access to the MySQL server simply use the wildcard "%" symbol eg. 211.233.2.%

SECURITY WARNING: If you do not have a static IP address, using a wildcard "%" may open a security hole that can lead to unauthorized access to the MySQL server from a remote address. Make certain you delete all added hosts if you are not intending on using them and only set up wildcards if no one outside your network has access to the IP range you have specified.

Hope this helps - I know it did for me. :wink:

Oh, and don't use your FTP username and password,
but the ones to connect to database (as in config.php)
Last edited by evolver on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
ImageAlways remember you're unique, just like everyone else.
We are born naked, wet and hungry. Then things get worse.
Don't take life too seriously, you won't get out alive.
User avatar
evolver
Sr Integra Member
Sr Integra Member
 
Posts: 420
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 1:46 pm
Cash on hand: 0.00
Location: Oostende

PostAuthor: Bush » Sat Jul 29, 2006 8:25 am

Well obviously you have to add your IP to the MySQL access list, and the user name and password is obviously the user and pass of the MySQL database.

I didnt think I needed to be so clear.
Last edited by Bush on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
no signature.

Bush
Integra Member
Integra Member
 
Posts: 191
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 8:55 am
Cash on hand: 0.00

Re: How do I backup and relocate an entire integramod site?

PostAuthor: found it » Sat Jul 29, 2006 8:46 am

[quote=""Mandoo";p="12625""][quote=""found it";p="12354""]Hi

Firstly you need to upload all your files to your new server.......

Regards to uploading your database a good way of doing it is to use mysqldumber found here...

http://www.mysqldumper.de/de/index.php?m=0

or you have to manually upload your database to your phpmyadmin....

once done you need to correct the queries in the config table that point to your old site..which are

Code: Select all
server_name and script_path





Also you need to change your config file to show the correct database edit it using as you normally would when changing code....

I think that is it ..let me know if there is anything else you need

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 4:29 am
Cash on hand: 0.00

PostAuthor: evolver » Sat Jul 29, 2006 9:30 am

"Bush";p="12646" wrote:Well obviously you have to add your IP to the MySQL access list, and the user name and password is obviously the user and pass of the MySQL database.

I didnt think I needed to be so clear.

It's not that obvious for someone who has never had the need to access MySQL remotely before...
Most people manage MySQL by local access directly on server...

You may not need to hear how to get access...
But many others will give up trying after failing to connect
So this information will be as usefull for them, as it was for me...

What's obvious to you, isn't so obvious for everyone...
But everyone who wants to learn...diserves a compliment <img>
Last edited by evolver on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
ImageAlways remember you're unique, just like everyone else.
We are born naked, wet and hungry. Then things get worse.
Don't take life too seriously, you won't get out alive.
User avatar
evolver
Sr Integra Member
Sr Integra Member
 
Posts: 420
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 1:46 pm
Cash on hand: 0.00
Location: Oostende

Re: How do I backup and relocate an entire integramod site?

PostAuthor: found it » Sat Jul 29, 2006 12:43 pm

Hi

Could you please stick with the what was asked in the topic...if you wish to discuss something else please make a new topic for it....in GeneraL Discussion this froum is for support

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 4:29 am
Cash on hand: 0.00

Re: How do I backup and relocate an entire integramod site?

PostAuthor: Dioncecht » Fri Aug 04, 2006 12:28 pm

see next post.. couldn't delete this one
Last edited by Dioncecht on Wed Aug 16, 2006 11:05 am, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

PostAuthor: Dioncecht » Wed Aug 16, 2006 11:04 am

I tried just exporting MySql databases to a text file, then I uploaded all my files and imported the SQL text file, changed my config.php and it works just fine.
Last edited by Dioncecht on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

PostAuthor: Dioncecht » Thu Aug 31, 2006 7:21 am

ok, I was mistaken apparently. I moved everything over and changed my config.php to reflect my database settings, but i didn't realize that after I logged in, it was referring to the install on my local machine still.

So I went in and added this to my copy on the server

UPDATE `phpbb_config` SET `config_value` = '/phpbbext/adr/' WHERE `config_name` = 'script_path' LIMIT 1 ;

but now it looks in the right spot for the PHP files but it gives a 404 Page Cannot be Displayed error on alot of them like Admin Panel. The URL has the correct address, so whats going on with it? Is there something else I gotta do to make it recognize that the file is exactly where its looking?

It does this on Admin Panel, login.php, and Memberlist. I also happens when I submit a post
Last edited by Dioncecht on Thu Aug 31, 2006 7:50 am, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

Re: How do I backup and relocate an entire integramod site?

PostAuthor: found it » Thu Aug 31, 2006 7:47 am

Hi

Have you changes your config sttings in your database so that these 2

Code: Select all
server_name and script_path


are ponting to the correct url

server_name---www.yourdomain.com

script_path---/phpbb (replace both with whatever you use...


:mrgreen:
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 4:29 am
Cash on hand: 0.00

PostAuthor: Dioncecht » Thu Aug 31, 2006 9:51 am

ummm.. i think so. I have to wait till I get home to check. I can't get into my CPanel from work.
Last edited by Dioncecht on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

PostAuthor: Dioncecht » Thu Aug 31, 2006 6:19 pm

Ok.. that was the ticket! Thanks man!
Last edited by Dioncecht on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

PostAuthor: Dioncecht » Thu Aug 31, 2006 7:08 pm

ok, for some reason now, when I submit a post, it doesn't show up. When I try to delete a forum or thread, it goes through all the motions and just doesn't do it. When I try to make a change in QBar, it goes through all teh motions and doesn't do it.

The weird thig is, it will submit other things like if I add an IM Portal block and populate it with some links.

Any ideas?
Last edited by Dioncecht on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

PostAuthor: Fubie » Thu Aug 31, 2006 9:19 pm

I hate to say this but it sounds like CHMOD issue.
Last edited by Fubie on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://www.myhorrorstories.com/files/bannerexchange.gif[/img][/url]

[url=http][img=left]http://www.fubie.net/images/geekstufflarge.jpg[/img][/url]

Fubie
Dev Team
Dev Team
 
Posts: 742
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 7:52 pm
Cash on hand: 0.00

Re: How do I backup and relocate an entire integramod site?

PostAuthor: found it » Fri Sep 01, 2006 2:21 am

glad you got the first bit sorted....and i have to agree with Fubie does sound like a chmod issue....

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 4:29 am
Cash on hand: 0.00

PostAuthor: Dioncecht » Fri Sep 01, 2006 6:10 am

You guys rock! I have no idea what I'd without all you guys! Probably have some broken dilapidated site or something.

Of course if I could keep my hands off of it for more than 5 minutes.. but then again, I'm a geek, I can't help it! I'm just glad you guys are around to point out what I screw up!
Last edited by Dioncecht on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

Re: How do I backup and relocate an entire integramod site?

PostAuthor: found it » Fri Sep 01, 2006 6:24 am

lol

Glad you got it fixed....I know the feeling I cannot stop messing around with my sites either...

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 4:29 am
Cash on hand: 0.00


Return to IntegraMOD 140

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]