How to Backup Proxmox to a Synology NAS

1. Synology NAS Configuration

Before we configure Proxmox, we need to set up NFS permissions on our Synology NAS. This will allow Proxmox to read and write to our Synology NAS.

1.Open the Control Panel on Synology DSM and select File Services then NFS.

2. Select Enable NFS service and then Apply.

NOTE: You can leave the Maximum NFS protocol as NFSv3.

3. Select Shared Folder, then Edit the folder where you’d like your Proxmox data to be stored.

NOTE: If you aren’t sure how to create a Shared Folder, you can click this link to learn how.

4. Select NFS Permissions then Create.

5. In the NFS rule, add the IP Address of your Proxmox server. Leave the privilege as Read/Write and then select Allow users to access mounted subfolders.

6. Save everything and then log in to Proxmox.

2. Proxmox Configuration

Now that our Synology NAS has been configured, we will need to set up Proxmox to read/write from our Synology NAS. We’ll then be able to backup Proxmox to a Synology NAS.

  1. Select Datacenter then Storage.

2. Select Add then NFS.

3. At the NFS screen, create an ID, then enter the IP Address of your Synology NAS server. In the Export drop-down menu, the location of your Proxmox folder should automatically appear. In the Content drop-down, select ALL entries. You can then select Add.

4. Proxmox should now show the Synology NAS Storage that we created above.

3. Back up an Individual Virtual Machine

Now that we configured Proxmox and our Synology NAS, we can easily back up a virtual machine.

  1. Select the virtual machine you’d like to back up, then select Backup.

2. In the backup tab, select the Synology NAS storage location in the top right. This will ensure that we back up to the correct location.

3. Select Backup now in the top left corner.

4. Select your StorageMode and Compression, then select Backup and the backup will start!

3. Automatic Backups – How to Backup Proxmox to a Synology NAS

You can easily configure Automatic backups in Proxmox for all of your virtual machines if you’d like. This will automatically back up every virtual machine on a specific schedule.

  1. Select Datacenter then Backup, then select Add.

2. Select the Storage for your Synology NAS, then specify the ScheduleSelection modeCompression, and Mode.

3. You can also change the retention policy to only keep a certain number of versions by selecting the Retention tab. 
Without specifying a retention policy, all backups will be stored which will drastically reduce storage space on your Synology NAS over time.

4. Your virtual machines will now back up to your Synology NAS automatically after you select Create!

4. Restoring a Virtual Machine from a Backup

After the backups have been created, you can easily restore your virtual machine to one of them if you ever need to.

  1. Select the virtual machine, then Backup.

2. Select the Synology NAS storage in the top right under Storage.

3. Select the snapshot you’d like to restore to, then select Restore.

4. All information can stay as default, then select Restore.

5. You will receive a message that this will permanently erase the existing virtual machine. If you agree, select Yes. Your virtual machine will now be restored from the backup you selected!

5. Conclusion – How to Backup Proxmox to a Synology NAS

This tutorial shows how to backup Proxmox to a Synology NAS. Overall, this is a really good way to ensure that your virtual machines are backed up properly and automatically. This also gives you a pretty easy path to backing them up offsite using Hyper Backup if you’re interested.

Thanks so much for checking out the tutorial. If you have any questions on how to backup Proxmox to a Synology NAS, please leave them in the comment section of the YouTube video above!

Credits to Wundertech.net

Add Smartwares CIP-37210AT IP camera in Surveillance Station

I managed to add the Smartwares CIP-37210ET IP camera, which I got from the Action store, in Synology Surveillance Station. I will explain how I did it below.

First install your camera with the HomeWizard Cameras app from smartwares.eu.
Write down the camera password you created at the end of the wizard.

Next thing to do is assign a fixed IP address to the camera. The software of the camera doesn’t support that, so you need to do that in your internet router.

Once you have done that, open Surveillance Station and add a camera and choose quick installation

Then choose in the brand selection screen the option defined by user

In the path you need to enter the url for the stream using the camera password you created during the wizard in the app on your phone

rtsp://admin:PASSWORD@IP:554/live/av0?

PASSWORD: password you created
IP: the fixed IP you assigned to your camera

The link you have to enter is the above text except for the rtsp://

admin:abcde12345@192.168.0.240:554/live/av0?

Now you can test the connection and if everything is done right, you should see the video stream.

Synology Surveillance Station Home Mode Automation with Home Assistant

I have found a guide on the www, but it was not that 100% clear and I had to google a lot of things to be clear. But I got it 100% functional and will publish an updated guide here.

This is the url for the original guide: https://www.paolotagliaferri.com/home-automation-home-assistant-docker-synology/

Some prerequisites:

  • Docker
  • Home Assistant
  • Surveillance Station
  • Unifi network or similar that can be integrated in Home assistant

First:

Find the entity identifier of your mobile phone that is used by the Ubiquiti UniFi integration

Create a group where the entity that represents you in your configuration.yaml

Next:

Then on the Synology Surveillance Station, I generated two actions in the Action Rule section to create webhooks that Home Assistant can use for switching the Home mode on or off

First I will create the rule to enable home mode

Here you see the webhook url we will use in the secrets.yaml later on

Now you have create the rule to enable the Home mode in surveillance station. Next will be the disable Home mode rule

Here you see the webhook url we will use in the secrets.yaml later on

When you have followed all steps, this will be the result

Now we are going to define 2 variables for the webhooks in the secrets.yaml file. These variables will be used in the configuration.yaml later.

When that is done, we can go back to the configurations.yaml to define the webhooks so they can be used for automation

Finally – I defined the automation in the UI (or in the configurations.yaml file) – here’s the generated configuration

Last thing to do is to check the configuration for errors and if that passes, you can restart the Home Assistant server.

Now the moment you go out of range of your wifi, Synology Surveillance station will go out of home mode and vica versa. Keep in mind that the standard delay the Ubiquiti UniFi integration uses for switching from home to not home is 300 seconds.