This page describes the process of updating the main server with the current version from the development server. This will happen when we release expansion packs, so should happen relatively infrequently.
These notes are more for my benefit :)
First off, take a complete backup of the current server.
service iceee stop service iceee-dev stop
cd /opt cp -Rp EEServer EEServer.previous
Now copy over the required files. We only want the static and executables from the dev server, accounts, groves and other dyanamic data should be left.
First off cd into the directory of the server to be updated.
cd EEServer
Now replace the released assets with those from the dev server
pushd asset rm -fr Release cp -Rp /opt/EEServer-Dev/asset/Release . popd
Now replace static data (items, quests, zones etc, AI scripts). NOTE: Static data files are symbolic links on the dev server as they come from Git. Make sure the -L option is used when copying.
rm -fr Data cp -LRp /opt/EEServer-Dev/Data . rm -fr AIScript cp -LRp /opt/EEServer-Dev/AIScript . rm -fr Instance cp -LRp /opt/EEServer-Dev/Instance . rm -fr Scenery cp -LRp /opt/EEServer-Dev/Scenery . rm -fr SpawnPackages cp -LRp /opt/EEServer-Dev/SpawnPackages . rm -fr Loot cp -LRp /opt/EEServer-Dev/Loot . rm -fr ItemMod cp -LRp /opt/EEServer-Dev/ItemMod . rm -fr Packages cp -LRp /opt/EEServer-Dev/Packages .
Some of these may not exist, or care should be taken as they may change in game too, for example the credit shop.
rm -fr CreditShop cp -LRp /opt/EEServer-Dev/CreditShop . rm -fr QuestScripts cp -LRp /opt/EEServer-Dev/QuestScripts .
Now for the executable itself ..
cp -LRp /opt/EEServer-Dev/EEServer36_Linux64 .
Now do a 'diff' of the current server configuration and the dev server configuration and compare them. Some options may need to be moved across, and some should remain.
diif ServerConfig.txt /opt/EEServer-Dev/ServerConfig.txt
Finally update any registration keys to import (for Scourge we are releasing a block).
Thats it, all that remains is to start the two servers again and test.
service iceee start service iceee-dev start