Backing up Faspex secrets
Use this procedure to back up and validate Faspex secrets.
About this task
Procedure
- Install and set up Faspex.
-
After setup is complete, locate and navigate to the backup directory
/opt/aspera/faspex/conf/backup_secrets. You should see one or more folders
named in the format
secrets.<timestamp>. -
Verify the contents of the backup:
-
Access the folder with the most recent date (For example:
secrets.20250528100814). -
Ensure the folder contains a
secrets.encfile(s) and akeys/directory.
-
Access the folder with the most recent date (For example:
-
Test the backup restoration.
-
Remove the existing contents of the secrets directory:
/opt/aspera/faspex/secrets -
Restore from the latest backup:
cp -rivp /opt/aspera/faspex/conf/backup_secrets/secrets.LATEST_TIMESTAMP/* /opt/aspera/faspex/secrets/Note: ReplaceLATEST_TIMESTAMPwith the actual folder name. - Restart the Faspex containers and verify that they start successfully and operate normally, this will confirm that the backup is valid.
Important: A new backup folder namedsecretsis automatically created under /opt/aspera/faspex/conf/backup_secrets each time you run the setup ensuring the latest secrets are preserved. -
Remove the existing contents of the secrets directory: