Backup & Restore
IMPORTANT
If you are using an external database, you will need to make additional backups and restores on the side of that database.
|
Backup
To perform backup, you have to do the following:
-
Stop ADCM container.
$ docker stop adcm
-
Create a backup volume (by default, /opt/adcm).
$ tar czvf ~/backup.tar.gz /opt/adcm
-
Start ADCM container.
$ docker start adcm
Restore
To perform restore, you have to do the following:
-
Create a restore volume (by default, /opt/adcm).
$ cd / $ tar xvf ~/backup.tar.gz
-
Install ADCM.
$ docker pull hub.arenadata.io/adcm/adcm:latest
-
Start ADCM.
$ docker create --name adcm -p 8000:8000 -v /opt/adcm:/adcm/data hub.arenadata.io/adcm/adcm:latest