Backup and Restore
For H2 databases, Nexus Repository provides tasks to create database snapshots and relocate them to a target disk. Other directories in your local instance (or instances) should also be copied and rebuilt on a backup disk (see Prepare a Backup).
Along with your backup procedure, you can configure Nexus Repository to save the H2 database that stores your component metadata and system configurations.
You can configure this task to export settings and metadata from the underlying H2 database. The scheduled task does the following:
Stores the databases to a new location when configured
Generates a snapshot of the databases for you to back up
Suspends access to the database until the backup is complete
Cancel any currently running scheduled tasks
This section shows you how to configure and execute the tasks as well as how to recover the exported database of your Nexus Repository.
See Backup and Restore in Amazon Web Services for further information.