This article describes how to move a FiscalClient from one machine to another.
Requirements
- The computer from which the FiscalClient is moved is ready for use and the Fiscal Service runs without errors
- RetailForce's FiscalService is being used (Windows/Linux)
- The FiscalClient must be installed on both system
- The FiscalClient is running version 1.2.9 or higher (available from V1.2.9) on both systems.
Moving the FiscalClient
The FiscalClient is moved by means of Backup / Restore.
Creating a backup
The backup is started using the endpoint
GET /api/v1/management/clients/recovery/{clientId}/backup
Parameters
- clientId: The Id of the client that is to be backed up.
- filename: The name of the backup file (ZIP file).
- removeClient: If set, the client is deleted from the system; otherwise not.
In case of moving a client, it is advisable to set the parameter "removeClient" to True.
Attention: With removeClient, a backup of the data is still left on the system (for security reasons). The path to this backup can be found in the LOG file.
If the backup has been successfully created (StatusCode = 200), the backup file can be transferred to the target computer by means of a data carrier or data transfer.
Importing a backup
The import of a backup is done via the endpoint
POST /api/v1/management/clients/recovery/restore
Parameters
- filename: The name and path to the previously created backup file.
- overWrite: If set, a possibly existing client is transferred; otherwise not.
Attention: With overWrite, a backup is created of the overwritten data client before overwriting. The path to this backup can be found in the LOG file.
Comments
0 comments
Please sign in to leave a comment.