Create test system from a backup

SOLVED

We have a virtualized server for Sage 300 and a separate virtualized server for SQl Server 2017.   Does anyone have good documentation on how to take the backup, create a new server and then get Sage 300 up and working.

I know how to restore the virtualized servers and rename them.

The main help I need is

1. Rename the database instance so that it does not cause confusion on the network

2. set up Sage 300 to point to this new instance and not the old one.

I can bring up the virtualized servers under a new name with the network connection turned off so that it doesn't cause any network havoc, but not sure the best way to get everything renamed and working together from the two new servers.

Thanks for any help

Parents
  • 0
    SUGGESTED

    1. Make a new server with a new name

    2. Install SQL

    3. Backup and restore the databases from old to new

    4. Run Sage database setup to select the new server

  • 0 in reply to Jay Converse Acumen

    I would like to be able to just use the existing system but take it from the backup.  So my backup software can do CDP so I can have an up to date system in backup form.  I would like to bring those online (with networking off) and start up the backup sage 300 server and backup sql server and rename the physical servers and the sql instance.

    Do you think that is actually more work than just creating a new server and installing sql and then bringing up the backup Sage 300 server?

    Thanks

  • 0 in reply to tcixtulsa
    SUGGESTED

    You can't rename SQL instances, and you can't have two servers with the same name.  I don't know why you're going through all this, I don't see the benefit, unless you're just doing a disaster recovery test.

  • 0 in reply to Jay Converse Acumen

    yes, sorry, that is exactly what I am doing.   I am doing disaster recovery testing and then once it is up I am also going to do a few configuration changes and see what they do and if they do what I want I would do them in the live version.

    I found out that you can do it:

    "it is possible to rename the named instance of SQL server 2K, first use sp_dropserver and sp_addserver (drop the old server name and add new server name in sysservers table). Turn down the instance and create the same folder structure as the old installation folder for this renamed instance, both for installation folders and data folder appropriately i.e $OldInstanceName to $NewName, also search and replace this old instance name in registery.

    then run the "rebuildm" utility for rebuilding the system databases now reboot the system and make sure SQL server is running under new name. Then detach and attache the user databases to the new location (new folder i.e $NewName)"

    But why would you want to.  The path you have specified seems the best.  

    So if I plan to restore sql, then just uninstall and reinstall and import the tables ( which I have from backup )  is it a problem to restore the Sage 300 and point that to my new instance if I change the sage 300 server name.  Or do I need to do more changes than just the server name for Sage 300 to work correctly?  (other than running sage database setup)

    Thanks for your time and patience with me.  It is appreciated.

  • 0 in reply to tcixtulsa

    You are W-A-A-A-Y overthinking this.  With Sage, you do a full SQL backup, then a simple restore, that's it. There's no moving tables around, and don't bother with incremental SQL logs.

Reply Children