Jump to content
The Uniform Server Community
LtB

duplicate an instance of Uniform Server

Recommended Posts

I have Uniform Server Zero XIII 13.3.2 running on my Desktop (C:), long enough to have completely forgotten if and what and how I set it up at start. It is the working environment for a TNG genealogy site. I regularly copy the database to my online webbased site. Works fine.

I have bought a laptop (and a NAS too) now, in order to be able to work in the much cooler living room during the ever warmer summers..

Now I have copied the whole folder with the server and all of the webite to the root of a network drive, with Z: as the assigned drive letter.

 

Since Uniform Server is portable, I expected it to run automagically. But it doesn't. Killed the first instance, rebooted, started the new one: no success.
I have responded to messages to an extent, that I don't know the current status anymore. Will do the copy operation again, but what must I do to have it succeed?

Share this post


Link to post
Share on other sites

I know this is an older thread, but ideally since Uniform Server Zero is portable, you should not have a problem in migrating either the database or the site using a copy paste.

However, that being said, the better way to do it would be to use a fresh install and move only the items you need, i.e., the web application itself and the database.

Web Application

The PHP code is generally stored in either the www or the ssl folders, so these folders would need to get moved to the new installation. You can overwrite them without a problem.

Database

From Uniform Server, use the MySQL->Database Backup function to backup your database, this will create a .sql file in the db_backup_restore folder. Copy this file into the db_backup_restore folder in your new installation and use MySQL->Database Restore to move your backed up database file back into the database.

One caveat here. If you have any functions or routines that were created, they may have to be created again, I have seen some instances where they dont get transferred over.

Start the servers and the application should now work.

Also do you have any absolute paths in your PHP code for file uploads etc? Those will need to be changed as well.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...