Backup & Restore
This page describes how to back up an existing BPC 4.x installation and restore it if necessary.
Backup
To do this, you must stop the Karaf and OpenSearch Services.
Depending on the folder in which the Installation was performed, you can back up that entire folder—for example, /opt/bpc.
See also Troubleshooting.
Important Directories and Files
If backing up the entire installation directory is too large for your needs, here is a list of the most commonly used 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 modified or added under the
etcdirectory. This should be avoided if possible and instead achieved by overwriting values in etc files. -
The `
etc/users.properties` file if you are using the local Karaf as an identity provider and, for example, have added users or changed passwords via the BPC interface. -
All files located in the `
deploy`directory.
OpenSearch
-
The file
config/opensearch.ymlif you have made any customizations. -
The directory
INSTALLATIONSVERZEICHNIS/opensearch_datacontaining 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, use its backup functionality.
Restore
Ensure that the Karaf and OpenSearch Services are stopped. You can now restore the backup you created earlier. If you did not create a full backup, you must first perform a Installation. Afterward, you can restore the directories and files from your backup and then start both services. If the OpenSearch backups/snapshots are stored in an S3 repository, use its restore functionality.