Documentation for Axxon One 2.0. Documentation for other versions of Axxon One is available too.

Previous page Next page

To create an archive on the mounted disk in the Docker container, do the following:

  1. Display the list of available disks using the command:
    lsblk
  2. Create a directory for mounting:
    sudo mkdir -p /mnt/mydisk
  3. Mount the selected disk in the created directory:
    sudo mount /dev/sda4 /mnt/mydisk
  4. Assign directory permissions to the ngp user:
    sudo chown -R ngp:ngp /mnt/mydisk
  5. Run the Docker image with the mounted disk:
    docker run -it -v /mnt/mydisk:/dev/sda4 axxon-one
    In this particular example, the /dev/sda4 disk is mounted.

    Note

    For further launches, to start the Docker container, use the command:

    docker start <container_id>

    You don't need to specify the mounting parameter again, as it is saved in the container configuration.

  6. Create the remote archive in Axxon One, specifying the /dev/sda4 path (see Creating a remote archive).

Creating an archive on the mounted disk is complete.

  • No labels