Backups
Important
Backups are the customer’s responsibility, and the integrator can help design a backup strategy to meet the customer’s needs and environment.
Daily backups are carried out automatically at midnight and 1 AM for Research.
The database is backed up to: \\server\Briefcam\ServerData\Backups.
The RESEARCH backup files, by default, are saved to: \\server\Briefcam\ServerData\Backups\RESEARCH. This path can be changed using the RESEARCH.BackupPath environment setting.
Backups for High-Availability and/or Large-Scale Systems
For high-activity systems, it is best to schedule the backup while the system is idle (e.g. weekends). If that is not possible, replication to another server is the right solution.
In systems where 24/7 processing is configured, the automatic backup may cause database timeouts. For these types of systems, it is recommended to contact BriefCam’s support to come up with a backup strategy that meets the customers’ requirements.
In general, in large-scale systems or when the system is operational 24/7 it is highly recommended to set up replication and disable the automatic backup scheduled tasks.
It is recommended to set up a different backup to another machine or copy the backups to a different machine.
The components that should be backed up are:
Component | What to Backup | Backup Method |
PostgreSQL database | Dump of database | Run the |
BriefCam shared folder – | The entire storage utilized by BriefCam | Disk mirroring, replication, RAID configuration, external backups |
BI data – | The QLIK data files | Run the |
License data | The license activation file | The license activation file |
Configuration files of databases |
| Backup files to another server |
Load balancer |
| Backup files to another server |
IIS |
| Backup files to another server |
Changing the Backup Times
The scheduled backup times can be changed in the Windows Task Scheduler.
Double-click the backup task.

Click Edit.

Edit the schedule.

Restoring the PostgreSQL Database Backups
Important
Before restoring the database, it is recommended to first contact the BriefCam Support team.
From the Windows services, stop the VSService.
To restore databases, run the following commands:
.\pg_dump.exe --no-password --verbose --blobs --format=c --file="<pg_dump_file.dump>" .\pg_restore.exe --verbose -d briefcam -U "<pg_superuser(dbadmin is the default)>" -h" <hostname>" -p <db port(5432)> "<pg_dump_file.dump>"Restart the services.
Restoring Database Backups of Research Dashboards (Qlik)
Run the scheduled backup task.
Copy the created files to the migration site.
Run the Research installer.
Stop all Qlik services.
Run only the repository database service (the PostgreSQL service).
Drop the fresh PostgreSQL db:
dropdb -h localhost -p 4432 -U postgres QSRCreate new PostgreSQL db:
createdb -h localhost -p 4432 -U postgres -T template0 QSRRestore the PostgreSQL db from the backup files:
pg_restore.exe -h localhost -p 4432 -U postgres -d QSR "c:\QSR_backup.tar"Copy the backed app share folder into the share folder.
Run the repository service in bootstrap mode:
repository.exe -bootstrap -standalone -restorehostnameAfter it finishes, run it again without -
restorehostname:repository.exe -bootstrap -standaloneLogin to the qmc with Firefox as <previousmachine>\bcuser.
Manually update the owner of all data connections’ user/password to the
<newmachine>\bcuserincluding the password (12 connections).Directly update the local BCUser to be the RootAdmin in the PostgreSQL db (table = users)
Directly update the user in the PostgreSQL:
<newmachine>\bcuser (table = ServiceClusterSettingsSharedPersistencePropertiesRun the reload tasks.