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

    where <version> is a desired ADCM image version in one of the following formats:

    • <major>.<minor>.<patch> — if you need a specific ADCM patch. For example, 2.0.0.

    • <major>.<minor> — if you need the last patch within the selected ADCM version. For example, 2.0.

    Note that before ADCM 2.0.0, the following format was used for versioning: YYYY.MM.DD.HH.

  3. Start ADCM.

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