How do I move the data on my Softalk Mail Server to another folder or drive?

  1. Home
  2. Knowledge Base
  3. Softalk
  4. Softalk Mail Server
  5. How do I move the data on my Softalk Mail Server to another folder or drive?

Symptoms

You wish to move your Softalk Mail Server data folder to a different drive or location on the same computer.

More Info

This FAQ applies to Softalk Mail Server v8 only.

This FAQ applies to Softalk Mail Server using a Jet database or a SQL Server Express database where reference files are stored outside of the database. It does not apply to Softalk Mail Server using a SQL Server database as all data is stored in the database.

Note If you have installed other components of the Softalk Collaboration Suite, such as WorkgroupShare v2 or Softalk Organizer, and Softalk Mail Server is configured to use a Jet database (or SQL Server Express with reference data stored in files) then the data folder should be changed in the same way for all components. If moving existing data files to the new location then the data files for all components should be consolidated into the same new folder.

Summary

  • Stop the service and close the Administrator.
  • Change the data folder entries in the registry.
  • Move the Jet database, where applicable.
  • Use MoveDataDFiles.exe to move existing data files.

Detail

Before making any changes to the Softalk Mail Server installation, shutdown the Softalk Mail Service (or program) and close the Administrator program.

Open regedit and expand the key:

HKLMSOFTWARESoftalkWorkgroupMailSetup

Set the dataFolder value to your new path

If you also have a dataFolder path in the following registry location then you should set this to be the same path.

HKLMSOFTWARESoftalkSCSSetup

If using a Jet database navigate to your original data folder and copy SCS.MDB to the new data folder.

Open the “Data Sources ODBC” applet from Control Panel >> Administrative Tools and click on the “System DSN” tab.

Double-click on the SoftalkCollaborationSuite data source and click on the Select button. Navigate to the new data folder and select the SCS.MDB database. Click OK to exit all dialogue boxes.

The Softalk Mail Service (or server program) and the Administrator may now be restarted. Softalk Mail Server will now use the database in the new folder and all new reference data files will be created in the new data folder. All existing reference data files will still be located in the original data folder.

To move existing reference data files, please perform the following procedure:

Download this utility that will move your existing reference data files MoveDataFiles.exe. It must be saved to a local folder before it can be run. It is a requirement that ASP.NET be installed.

Shutdown the Softalk Mail Server and run the MoveDataFiles utility.

Set the Adjust data files for ComboBox to WorkgroupShare/Softalk Mail Server

Type the new data folder path in the Folder to which all data files will be transferred textbox.

Click on the MoveDataFiles button. All references to files in the database will be updated so that the files are moved and the references updated. Any files that remain after this operation are no longer referenced by the database and can be deleted.

If it is necessary to move a SQL Server or SQL Server Express database and log file, first shutdown the Softalk Mail Service and close the Administrator program and then follow the SQL Server guidelines for moving the database file to a new location.

Was this article helpful?

Related Articles