How to set up a simple backup on your UGREEN NAS using rsync & cron scheduler
As much as I love my UGREEN NAS, it doesn't come with a built-in app for backups. There's one, actually, but it only allows backups between different NASes or between your NAS and your PC. While I needed to set up a backup from one drive on my NAS to another drive on the same NAS. I tried a few Docker containers with web UI, but I wasn't able to make them work, or they didn't work as I wanted (for example one app encrypted the backups, and I wasn't able to change this. And I didn't want my files encrypted, I just needed a simple copy). So in the end, I decided to go with creating a script that runs rsync for a backup and schedule it with cron. I just needed to back up my music folder from one drive to another. Here's how I did this: 1) Log in to your NAS via SSH . 2) Run: sudo nano /usr/local/bin/backup_music.sh 3) The Nano editor will open, paste this there (update the script to use your paths) SOURCE="/volume1/4TB_NVME/Music/" DEST="/m...
Comments
Post a Comment