Arq® Blog

Backup to Synology NAS using Minio and Arq

Arq can back up to any folder you want, so you could configure it to back up to a folder that lives on your NAS, but there’s a better way: use Minio!

Minio is an open-source S3-compatible storage server. If you install Minio on your NAS (Synology supports Minio via Docker on many of its NAS devices), Arq can back up to your NAS using Minio and get benefits over SFTP like atomic writes of files (faster and less error checking required by Arq), checksums of uploaded data (so Arq can verify the NAS received the correct data), and much faster validation of data (comparing checksums instead of downloading data to compare).

Install Docker and Minio on Synology NAS

Here are the steps we took to get Minio installed on our Synology DS218+:

  1. Check Synology’s web site to make sure our model is compatible with the Docker package: Synology Docker package page
  2. Log into the Synology’s web UI
  3. Click on Package Center
  4. Click on All Packages on the left
  5. Search for Docker
  6. Click Install next to Docker in the search results
  7. When it’s installed, click Open
  8. In the Docker window, click on Registry. Then search for minio.
  9. Click on minio/minio in the search results and click Download. Choose the tag “latest”.

We weren’t able to successfully create and run a Docker container through the Package Center UI, but it was easy via the command line. Just ssh into your Synology NAS with your administrator username/password:

ssh username@synologynasname

Create directories for the data and configuration (these live outside the Docker container):

sudo mkdir -p /volume1/docker/minio/data
sudo mkdir -p /volume1/docker/minio/config

Then tell Docker to create and start a new container called ‘minio’:

sudo docker run -dit --restart unless-stopped -p 9000:9000 --name minio -e "MINIO_ROOT_USER=9AARJMC8QKHNC3M1DA22" -e "MINIO_ROOT_PASSWORD=773NqiryubMiOSokCP3yhFdWemoPWayxbLYAD9F4" -v /volume1/docker/minio/data:/data -v /volume1/docker/minio/config:/root/.minio minio/minio server /data

(In older versions of the Minio container the environment variables are MINIO_ACCESS_KEY and MINIO_SECRET_KEY instead of MINIO_ROOT_USER and MINIO_ROOT_PASSWORD.)

Configure Arq to Back Up to Synology via Minio

Now that you’ve got a Minio server running on your Synology NAS, configure Arq to back up to it. (The following screen shots are from Arq for Mac but the process is the same with Arq for Windows):

  1. Pick Preferences from Arq’s menu to open Arq’s preferences window.
  2. Click the + button to add your destination. Choose “Other S3-Compatible Service” and click Continue.
  3. Enter the URL for your minio server in the form of http://synologynasname:9000. Enter the access key ID and secret access key you provided to the “docker run” command previously. Choose Signature Version 4. Click Continue.
  4. Click Continue to create your bucket on your minio server.
  5. Pick “Add Folder to Backups” from Arq’s menu to add the folder(s) you want backed up. When you add the first one, Arq will ask you to choose an encryption password. Please write it down somewhere! Without it you won’t be able to decrypt your backups if your computer is lost.

That’s it! Arq will back up whatever folder(s) you selected, every hour.

As always, if you have questions please email us as

Thanks for using Arq!

Need to back up your files securely to the cloud?

Set up backups in 1 minute with Arq 7:

Download Arq

30-day free trial

"Best backup solution? @arqbackup with your choice of cloud provider. Great program!! Always helpful when I have questions also. Great support!" @Tony_Simek Feb 5, 2021

"Just used @arqbackup for my first real world restore, which saved me hours of rework. Would recommend." @jonathon Nov 14, 2020