Prerequisites
OpenLDAP
Backup the OpenLDAP Directory Server by authenticating to the server as the “root” user and run the following commands:
shell> mkdir backup
shell> slapcat -n 0 -l /usr/local/strongkey/backup/config-<DATE>.ldif
shell> slapcat -n 2 -l /usr/local/strongkey/backup/databackup-<DATE>.ldif
shell> chown -R strongkey. /usr/local/strongkey/backup
Keystores:
shell> cp /usr/local/strongkey/skfs/keystores/ssosigningkeystore.bcfks /usr/local/strongkey/backup shell> cp /usr/local/strongkey/skfs/keystores/ssosigningtruststore.bcfks /usr/local/strongkey/backup shell> cp -R /usr/local/strongkey/skfs/keystores/sso-keys /usr/local/strongkey/backup shell> cp /usr/local/strongkey/skfs/keystores/signingkeystore.bcfks /usr/local/strongkey/backup shell> cp /usr/local/strongkey/skfs/keystores/signingtruststore.bcfks /usr/local/strongkey/backup
Mariadb:
shell> mariadb-dump --user=root -p --flush-logs --single-transaction --databases skfs > /usr/local/strongkey/backup/skfs_databasebackup-<date>.db
shell> chown -R strongkey:strongkey /usr/local/strongkey/backup