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 Reply Children
  • 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.

  • 0 in reply to Jay Converse Acumen

    Ok, so could I do a full sql backup, then restore the db as a different name and just point my new Sage 300 server at that restored DB and not even restore the db server?

  • 0 in reply to tcixtulsa

    sorry, I am new to Sage 300, this has been placed in my to do basket, I am a linux and web admin.

  • +1 in reply to tcixtulsa
    verified answer

    No, you can't change the DB name.  You backup OLDSERVER..MYDAT, restore to NEWSERVER..MYDAT, then run database setup to change from OLDSERVER to NEWSERVER.  

  • 0 in reply to Jay Converse Acumen

    Ok, got it.  I will keep it simple as you have suggested.  Thank you very much for your help.