Since I have a NAS in my network I wanted to cover a small page about mounting a network share. Most of the information can be found on the mount man-page.
I have a NAS in my network that is running in RAID 1, so perfect for backup like this manual.
To do so I use
rsync, but before that you need a folder to be mounted to your NAS.
sudo mount -t cifs -o user=usr,vers=1.0 "//<IP-ADDRESS>/SHARE" /home/pi/myfolder
Manual is all fun and stuff, but automatic is always better which can be done with
sudo nano /etc/fstab
//<IP-ADDRESS>/SHARE /home/pi/myfolder cifs username=usr,password=pwd,vers=1.0 0 0
Notice I used
,vers=1.0. Normally you can leave this out, but I'm using an older NAS that is not supporting the newer default.
More information can be found on this Microsoft blog.