![]() I spend a lot of time in DSM so I decided to mount the remote CIFS folder I setup on the WD M圜loud so I could access it in DSM. Bonus: Create a New User via the WD M圜loud Portal # or force-reload it but you shouldn't have toĪt this point, rsync is setup and ready to receive connections. You could reboot your WD M圜loud but since you already have a shell open just start or restart the service # OPTIONAL But Recommended: Put the IP of your Synology NAS here & uncomment (meaning remove the # in front of the line below)Įdit /etc/default/rsync and change RSYNC_ENABLE=false to RSYNC_ENABLE=true. # add the user you specified via the WD M圜loud portal # This is the local path on the WD M圜loud # This is the rsync module name you're going to access Synologynasuser:super sekret 1337 passw0rd! Login to your WD M圜loud and create a new share (e.g.: synologynas) specifically for this purpose. So where possible, error on the side of caution and keep everything in lowercase to be sure.Ĭreate a New Share via the WD M圜loud Portal Everything from file, to user names to directory names and commands are all case sensitive. I recommend starting with a clean slate on your WD or at least backing up whatever data you have on there some place else in the event you break something. You could seriously break something so be careful.Two big things I want to point out if you don’t already know this. How to enable SSH (Secure Shell) on a My Cloud EX4 device.How to enable SSH (Secure Shell) on a My Cloud (single bay) device.For setting up ssh I’ll refer you to the Internets (aka search for it) and WD: The steps below require a combination of access to the WD M圜loud web portal and ssh access to the box. Please note there’s a Dry-run enabled by default and it will need to be removed when you’re ready to execute for real.Your backup jobs at the bottom in the form of:.The remote host be it via IP or hostname.The rsync user you setup on the remote host.The volume where your data resides (probably /volume1).You need rsyncd running on the remote host.The script below does have a few requirements: Since the underlying backup process was rsync based, I kept with the theme and rolled my own script really convenient since I did something similar in ESXi years ago with the ‘poor-mans VMotion’. The built-in Synology Backup & Replication feature has not been very reliable for me, prompting me to explore other options.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |