Backup and Restore
This section explains how to back up and restore Software Risk Manager using
backup.ps1
and restore.ps1
in the scripts
directory. Both scripts include a -p
project name parameter that you should
specify if you used a project name with your Docker Compose up
command.
The backup script creates a new volume named codedx-backups where each backup gets stored by
name. You can either specify a name or let the backup script generate a name for you formatted
as backup-{date}-{time}
.
Note: Be cautious of commands such as
docker volume prune
. The volume storing
Software Risk Manager backups is not attached to a container and would be deleted.For more
information, see the following sections: