Back Up Transaction Files When User is Not Being Synced

  • Updated

An external backup process would have difficulty avoiding copying the transaction files while Riva is syncing a user. By using the Sync.Crm.TransactionBackup custom options, you can configure Riva to copy the transaction files to the backup location only when the user is not being synced.

Custom Options

Apply the following custom options to either the Riva service app.setting .config file (to affect all sync policies) or to the sync policy advanced custom options:

Sync.Crm.TransactionBackup.IntervalMinutes = [value in minutes]  (This enables the transaction files backup feature and sets the backup interval.)
Example: Sync.Crm.TransactionBackup.IntervalMinutes = 180

Sync.Crm.TransactionBackup.TargetPath = [mapped drive path]  (This sets the path of the parent folder for the backup.)
Example: Sync.Crm.TransactionBackup.TargetPath = T:\Riva\Transaction (Sets T:\Riva\Transaction as the parent folder for the backup.)

t_transaction_backup.png

If not set, a Transaction.Backup folder is created as a sibling of the Transactions folder.

transaction_backup.png

Sync.Crm.TransactionBackup.MaxArchivesToKeep = [value] (This sets the number of archive files to keep. If this custom option is not set, the default value is 2.)
Example: Sync.Crm.TransactionBackup.MaxArchivesToKeep = 3

These options can be used in conjunction with the Passive fail-over disaster recovery strategy.

Riva names the backup files Module.metadata.YYYY-MM-DDTHHMMSSSS.backup, for example, Task.metadata.2015.11.12T15112845.backup.

Applies to

  • Riva On-Premise 2.4.39.22092 or higher

Was this article helpful?

/