Knowledgebase

Search by Keyword

Search by Product

SE v2.0: Backing up data

(475 Views)

The easiest way to back up SE 2.0.x data is to use the backup utility, one of the database utilities included with SE 2. For stand-alone installations, we recommend that you always use the backup utility for backing up data. (Note that there is no way to automate the backup utility or have it run in the background.) For more information about the database utilities, including the backup utility, refer to the SE 2 Software Guide or the SE 2 database utilities documentation.

If you have a network installation, this document explains how you can also back up data manually or with a third-party backup utility.

Databases Folder

The data that you must back up is in the Databases folder. This folder contains the story databases for the installed levels plus all teacher and student data.

  • On Windows servers, the default location for the Databases folder is C:\Program Files \RNSEServer\RNSEServer.  
  • On Mac OS X servers, the Databases folder is in the /Library/RNSEServer folder.

Since the level files (files named Levelx.x.vdb) are static, you only need to back them up once. If you do not back up the level files and you need to rebuild the SE installation, you will need to re-enter the license codes and re-copy the level files from the CDs.

Since the user database files contain teacher and student data, you should back them up on a regular basis, preferably every day. These are the user data files you need to back up for network installations:

master.vdb
rn.dat
rn.vdb

To manually back up SE data on Windows servers:
  1. Make sure no one is logged in and using SE 2.
  2. On the SE server, stop the RNSEServer service:

    1. Choose Run from the Start menu.
    2. Type services.msc and click OK.
    3. In the list of services, right-click RNSEServer and choose Stop.
    4. Minimize the Services window.

  3. Browse to the Databases folder. The default location is C:\Program Files\RNSEServer \RNSEServer\Databases.
  4. Copy the data to a secure location, preferably one that is backed up periodically to tape or other media. We recommend changing the name of the backup file or folder to include the date it was created.

    • To back up both the level files and the user data, copy the entire Databases folder.
    • To back up just the user data, copy the master.vdb, rn.dat, and rn.vdb files to a secure location. We recommend compressing the files with an archive utility such as WinZip. If you are using Windows XP or 2003, you can also highlight the files, right-click them, and choose Send To > Compressed (zipped) folder.

  5. To restart the RNSEServer service, maximize the Services window, right-click RNSEServer in the list of services, and choose Restart.
To manually back up SE data on Mac OS X servers:
  1. Browse to the Databases folder in the /Library/RNSEServer folder.
  2. Select the Databases folder and choose Create Archive of "Databases" from the File menu. This could take several minutes. There is no need to stop the RNSEServer process.
  3. Rename the archive file (include the date in the file name) and move it to a secure location, preferably one that is backed up periodically to tape or other media.
To back up SE data on Windows servers using a third-party backup utility:

When you back up SE data on Windows servers, you must stop the RNSEServer service before the backup and restart it afterwards, since Windows does not allow the database files to be copied while they are open. This is not necessary if SE is running on Mac OS X servers—you can copy the SE database files while they are open.

You can create batch files to automate the stopping and restarting of the RNSEServer service on Windows servers. The batch files for stopping the RNSEServer service use the taskkill (Windows XP, 2003 Server, and Vista) or kill (Windows 2000) command, which terminates the RNSEServer service in the event that the service gets hung in a "stopping" state. Although this state does not interfere with the backup process, it will prevent the RNSEServer service from restarting, and clients will not be able to log in (they will receive error code 10061).

Note: For Windows 2000, the kill command is not installed by default. To use the kill command, you must install the Support Tools from the Windows 2000 installation CD. (Launch setup.exe in the \Support\Tools\ folder on the Windows 2000 installation CD.)

For a pre-backup batch file for Windows XP, 2003 Server, or Vista, type the following commands in a text file:

net stop rnseserver /y
taskkill /F /IM rnseserver.exe

For a pre-backup batch file for Windows 2000, type the following commands in a text file:

net stop rnseserver /y
kill -f rnseserver

For the post-backup batch file, type the following command in a text file:

net start rnseserver /y

Save the batch files with a .bat extension in the file names. Run the batch file to stop the RNSEServer service before the backup job begins, and run the batch file to restart the service after the backup job completes or is known to no longer be running.

Contact

Please let us know what questions you have so we can assist. For Technical Support, please call us or submit a software support request.

 
Click to refresh image