Backup & Restore
This page describes how you can back up an existing BPC 4.x installation and restore it if necessary.
Backup
To do this, the Services of Karaf and OpenSearch must be stopped.
Depending on the folder in which the Installation was carried out, you can back it up completely - for example /opt/bpc.
See also Troubleshooting.
Important directories and files
If a backup of the complete installation directory is too extensive for you, then here is a list of the most common directories and files.
General
-
INSTALLATIONSVERZEICHNIS/bpc_env.sh|cmd- Most customizations should be made via this Central configuration file.
Karaf
-
All files that you have customized or added below the
etcdirectory. This should be avoided if possible and overwritten via Overwrite values of etc files -
The
etc/users.propertiesif you have used the local Karaf as an identity provider and, for example, added users via the BPC interface or changed passwords. -
All files located in the
deploydirectory.
OpenSearch
-
The
config/opensearch.ymlfile if you have made adjustments. -
The
INSTALLATIONSVERZEICHNIS/opensearch_datadirectory with the OpenSearch indices and snapshots, if the latter are stored in the file system. -
If the OpenSearch backups/snapshots are stored in an S3 bucket, then use its backup functionality.
Restore
Make sure that the Services of Karaf and OpenSearch are stopped. Now you can restore the previously created backup. If you have not created a complete backup, you must first perform a Installation. You can then restore the directories and files from your backup and then start the two services. If the OpenSearch backups/snapshots are stored in an S3 repository, then use its restore functionality.