help • 7 Configuration of SwyxServer • Backing up the SwyxWare Database
7.10 Backing up the SwyxWare Database
You can back up the database, or restore a previously backed up database.
* 
In SwyxON the backup of the database is provided by the service provider.
 
You can use the program "IpPbxConfig.exe" to back up the SwyxWare database locally and restore it at a later time. You'll find the program in the SwyxWare program directory. Backing up the database is done by making an entry the command line:
IpPbxConfig.exe /backup [/file "<Backup File>"]
If you call the parameter "/backup" without the parameter "/file", a database backup will be generated in the SwyxWare standard backup directory. A unique file name is automatically assigned (e.g. "IpPbxBackup-2010-10-18-15-56-07.dat"). If you specify a file name without a path in the parameter '"/file", the file is likewise written to the above directory. When an absolute path is input, the file is stored as specified. A file of the same name already present is not overwritten.
To restore the SwyxWare database, enter in the command line
IpPbxConfig.exe /restore /file "<Backup File>"
To stop Swyx services automatically and restart them automatically after the backup is restored, use the additional parameters "/stop" and "/start".
* 
Note that the database server must have writing access on the directory used for the backup, and reading access for the recovery of the database.
 
Backing up the database during an update
The Configurations Wizard automatically updates the existing local database of an older SwyxWare installation. In addition, a backup copy of the existing database is made before the update takes place. You will find this backup copy in the SwyxWare standard backup directory.
If the database is on a different computer, then please back this up before the update.
* 
Please note that in a SwyxWare for DataCenter installation it is not possible to do an automatic database backup before an update by the Configuration Wizards. The administrator must back up the database himself before an update, using the backup systems of the database server.
 
 
Please refer to the Knowledgebase for more advice on database maintenance