HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


A moron's guide to installing a backup

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#62720 (In Topic #13616)
Avatar

Community saint

Hey folks,

I am just looking for a little help. So let's say I am a moron and I have no clue what I am doing. That being said, I have the latest version of OCP on a new server and I had previously been running 3.2.7. I do have back up files for the 3.2.7 which is still up and running on the other server, is there any way I can use that to restore some of the info to my new version on the new server?

If so where do I begin.

Thanks

Ryan

Ryan Reeves
Men of Jesus

www.menofjesus.net
Back to the top
 
Posted
Rating:
#62721
Avatar

Community saint

Hi Ryan.

:offtopic: Haven't seen you posting recently :offtopic:

But let's get down to your particular problem. It has been well documented recently because I've just done what you are about to attempt, and haven asked about the same thing only a few days ago.

Start:
or
The first is a succession of inept screw-ups by me which were eventually ironed out. The second is me trying to help haven, but I realise much information was passed via PT.

If you have specific concerns, post here or in a PT and I will attempt to help …!!

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#62722
Avatar

Community saint

Fletch you are awesome!

Haven't posted in a while because things have been going well on our site. Now I am being forced to move it and am hoping to keep as much as possible. I will check out the links you posted.

Thanks a bunch

Ryan

Ryan Reeves
Men of Jesus

www.menofjesus.net
Back to the top
 
Posted
Rating:
#62724
Avatar

Community saint

Ok, read the posts. Let me see if I am starting to get a clue.

I have a running site on 3.2.7

I have a blank site up with 5.0.1

I need to upload the backup file which is a .tar.gz to my new server. Where it can then unzip it.

Where should I upload it to? Is there a specific folder and then then what are the next steps.

I am new the the back end of this whole thing.

Ryan Reeves
Men of Jesus

www.menofjesus.net
Back to the top
 
Posted
Rating:
#62726
Avatar

Community saint

OK

  • Admin >> Tools >> Import >>
  • You should see 'ocPortal site merger' about half way down the window. Click 'Proceed'.
  • Next window offers you a chance to 'resume' an older task or 'create' a new one - probably only the second will be available if this is the first time you are using it.
  • Next window asks for your FTP/database/login details … fill it in carefully, paying special note to the 'Table prefix' and 'Base directory' info. It will guess the details, but it isn't necessarily correct.
  • Next window is the 'Import' template with 'Attachments' already checked.
  • Work your way through the categories ONE AT A TIME
If things go smoothly with the import it should go through to the final one - 'Quizzes' - and then tell you it is done.

Done!

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#62733
Avatar

Community saint

One more question and first thanks a bunch for all the help.

You said make sure the table prefix and base directory are correct, I know the base directory is where I installed the files from the back up but I can't verify the table prefix anywhere. Where should I get that info from?

Thanks again!

Ryan Reeves
Men of Jesus

www.menofjesus.net
Back to the top
 
Posted
Rating:
#62744
Avatar

Community saint

menofjesus said

…  I can't verify the table prefix anywhere. Where should I get that info from?

Your config file for that database -OR - phpMyAdmin and have a look at the db and you will see what the prefix is.

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#62762
Avatar

Community saint

Everytime I try to get it to connect and do an upload I get a Critical Bail Out Error.

Could not connect to database-server (, mysql_connect() [<a href='PHP: mysql_connect - Manual'>function.mysql-connect.php</a>]: Access denied for user 'bigwheel_dHqMIK'@'localhost' (using password: YES))

I've even checked with the tech support for my hosting account and they say I have settings correct.

Just to clarify, I was suppoed to load the back up onto the current (new) server and it is the details for the current server that I need to put into the uploader.

Does that make sense?

Ryan Reeves
Men of Jesus

www.menofjesus.net
Back to the top
 
Posted
Rating:
#62767
Avatar

Community saint

Nope!

Do the 'import' from the new (virgin) install of version 5.x.x, calling the 'old build' as the source for your data.

When asked for the server details it is almost identical to your FTP settings that you use for an independant FTP agent, but you must identify the old database settings, hence my advice to double-check the 'Table prefix' and 'Base directory' info.

haven got the same dreaded 'Bailing Out' error, and discovered that he had a mistake in the information he had entered into the 'import' template. Take another look!

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: