3. Working with AccuSync™ Configurations : Backing Up and Restoring AccuSync Configurations

Backing Up and Restoring AccuSync Configurations
The AccuSync Configuration database contains all the information about your AccuSync Configurations
-- connection settings, synchronization patterns, mapping definitions, and so on. The AccuSync Configuration database is created in the
db directory where you installed AccuSync (c:\Program Files (x86)\AccuSync\db, for example).
It is important to back up the AccuSync Configuration database using the backup utility that is installed with AccuSync. Backup and restore utilities are located in the bin directory where you installed AccuSync (c:\Program Files (x86)\AccuSync\bin, for example). Utilities are provided for both Windows and Linux operating systems.
Backing Up an AccuSync Configuration
IMPORTANT: Create a back up of your AccuSync Configuration in these situations:
When you back up an AccuSync Configuration, AccuSync creates a backup directory where you installed AccuSync (c:\Program Files (x86)\AccuSync\backup, for example). Each backup is created in its own directory with the name <timestamp>_<name>, using a name you give it. For example, 2011-03-14_13-52.28_acme, where acme is the name you provided to the backup utility. The <timestamp> has the format yyyy-mm-dd_hh-mm.ss.
Note: The backup utility does not back up other AccuSync directories like bin, conf, and transformers.
Running the Backup Utility
Note: The location of the Backup command assumes that you accepted the Shortcut Folder default values during installation.
To run the backup utility:
1.
See Stopping the AccuSync™ Server if you need help with this step.
2.
In Windows: Click Start > All Programs > AccuSync > AccuSync Backup.
In Linux: Click the AccuSync_Backup shortcut on your desktop.
From the console: Navigate to the bin directory where you installed AccuSync and run the backup.bat (Windows) or backup.sh (Linux) file.
Regardless of how you start the backup utility, AccuSync opens a console that displays a message reminding you to stop the AccuSync server and the following prompt:
Do you want to back up the default /db in the AccuSync installation directory?
(Y/N):
3.
Type y at the prompt and press Enter.
The backup utility displays the prompt:
Enter the name for the backup:
4.
The backup utility creates the backup directory in the AccuSync backup directory (c:\Program Files (x86)\AccuSync\backup\2011-03-14_13-52.28_acme, for example).
5.
See Starting the AccuSync™ Server if you need help with this step.
Restoring an AccuSync Configuration
When you restore an AccuSync Configuration, AccuSync overwrites the existing \db directory with the database backup you specify.
Running the Restore Utility
Note: The location of the Restore command assumes that you accepted the Shortcut Folder default values during installation.
To run the restore utility:
1.
See Stopping the AccuSync™ Server if you need help with this step.
2.
In Windows: Click Start > All Programs > AccuSync > AccuSync Restore.
In Linux: Click the AccuSync_Restore shortcut on your desktop.
From the console: Navigate to the bin directory where you installed AccuSync and run the restore.bat (Windows) or restore.sh (Linux) file.
Regardless of how you start the restore utility, AccuSync opens a console that displays a message reminding you to stop the AccuSync server. It then displays all the backups in the AccuSync backup directory in an ordered list (the order in which they were created). The following prompt appears:
Select the backup you want to restore:
3.
The db directory is restored to the AccuSync installation directory (c:\Program Files (x86)\AccuSync\db, for example).
4.
See Starting the AccuSync™ Server if you need help with this step.

Micro Focus