In this article:
This article describes the process of updating Xopero ONE Management Service running as a docker container on popular NAS devices like QNAP and Synology.
This part is applicable only, if you're using Xopero ONE in version older than 1.0
If you're using Xopero ONE in version 1.0 or newer you can skip this step and proceed to New container.
If you would like to keep your current configuration (like backup plans, devices and storages) after update, then the first thing that has to be done is Database export. To do it, log into your QNAP NAS device and open the Container Station application. Select the Containers tab and Stop the current Xopero ONE Management Service container.
If your Xopero ONE instance is below 1.0 version the next step that you have to do is to connect to your QNAP NAS through SSH tunnel - to do so you need to make sure that SSH protocol is enabled in QNAP settings, so you can use software like PuTTy to connect to it(article that describes how to connect to QNAP using PuTTY is available HERE)
In all Xopero ONE versions below 1.0 databases location within the docker is as it follows:
/usr/share/Xopero ONE\Xopero ONE Backup&Recovery Service/
To use the databases in a different container you need to export them first, in order to do so use:
docker cp <container_name>:’/usr/share/Xopero ONE\Xopero ONE Backup&Recovery Service/’ <outside_container_path>
E.g.: docker cp XoperoONE0.9.5:’/usr/share/Xopero ONE\Xopero ONE Backup&Recovery Service/’ /share/CACHEDEV1_DATA/Public/xopero
Open your QNAP NAS panel and Container Station application once again.
Go to the Import tab and press the Import button in the top-right corner of the window.
In the Create Import Task window select Local as a Source and choose the downloaded docker image from your device. After the file has been selected, click Next.
In case of any issues with uploading the image from a local machine, send them directly to the QNAP NAS and use NAS as a Source.
After image upload is done, QNAP will display the Create container window, where you can set up the container name, CPU and RAM limit and even more advanced settings.
By opening Advanced settings, you'll get access to 4 additional sections, where the most important are Network and Shared Folders.
On a Network tab you can set up the listening port for Xopero ONE Management Service (the default one is 28555) by entering the number in a Host field (it needs to be the same as in your first installation).
By opening the Shared Folders tab you can now select the path of Xopero ONE Management Service databases. First, delete the entry on a New volume section and then add the Volume from host entry.
At this point you should select the path where your databases are located.
In case of old installation running on version below 1.0, you need to select the path that you've exported the databases to.
In case of version 1.0 and newer, you can simply verify the volume path in your old container settings.
Open the Container Station application on another browser tab , click on a Container name, then select Settings button and Advanced Settings option. Open Shared Folders section to see the exact path of your databases on a QNAP:
Finally, the Mount Point should be set to /app/Xopero
Press the Create button, review the Summary window and click OK to proceed.
Finally, it's time to verify if everything went properly. Log into the Xopero ONE panel via web browser and wait for the device status to be changed for online, make sure that all your previous settings are available (plans, storages, devices etc.). If you're able to confirm that everything is alright, you can delete the old container or keep it for some time to make sure that everything is fine with the new version installed.