Backup & Restore

Contents
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:

  1. Stop ADCM container.

    $ docker stop adcm
  2. Create a backup volume (by default, /opt/adcm).

    $ tar czvf ~/backup.tar.gz /opt/adcm
  3. Start ADCM container.

    $ docker start adcm

Restore

To perform restore, you have to do the following:

  1. Create a restore volume (by default, /opt/adcm).

    $ cd /
    $ tar xvf ~/backup.tar.gz
  2. Install ADCM.

    $ docker pull hub.arenadata.io/adcm/adcm:latest
  3. Start ADCM.

    $ docker create --name adcm -p 8000:8000 -v /opt/adcm:/adcm/data hub.arenadata.io/adcm/adcm:latest
Found a mistake? Seleсt text and press Ctrl+Enter to report it