omniright.blogg.se

Synology drive client setup
Synology drive client setup









synology drive client setup
  1. SYNOLOGY DRIVE CLIENT SETUP CODE
  2. SYNOLOGY DRIVE CLIENT SETUP PASSWORD

usr/bin/rsync -lpt -backup -update -8-bit-output -omit-link-times -one-file-system -whole-file -progress -stats -human-readable /home/$effectiveUserID/.signature /mnt/NAS-001/NFS/$effectiveUserID/$systemHostName/home usr/bin/rsync -lpt -backup -update -8-bit-output -omit-link-times -one-file-system -whole-file -progress -stats -human-readable /home/$effectiveUserID/.profile /mnt/NAS-001/NFS/$effectiveUserID/$systemHostName/home usr/bin/rsync -lpt -backup -update -8-bit-output -omit-link-times -one-file-system -whole-file -progress -stats -human-readable /home/$effectiveUserID/.bashrc /mnt/NAS-001/NFS/$effectiveUserID/$systemHostName/home

synology drive client setup

usr/bin/rsync -rlpt -cvs-exclude -backup -update -exclude=.* -exclude=.*/*** -exclude=public_html -8-bit-output -cvs-exclude -omit-dir-times -omit-link-times -one-file-system -whole-file -progress -stats -human-readable /home/$effectiveUserID/ /mnt/NAS-001/NFS/$effectiveUserID/$systemHostName/home usr/bin/rsync -rlpt -backup -update -8-bit-output -omit-dir-times -omit-link-times -one-file-system -whole-file -progress -stats -human-readable /home/$effectiveUserID/.mozilla/ /mnt/NAS-001/NFS/$effectiveUserID/$systemHostName/dot.mozilla

synology drive client setup

usr/bin/rsync -rlpt -backup -update -exclude=gegl-0.?/*** -exclude=gvfs-metadata/*** -exclude=flatpak/*** -8-bit-output -omit-dir-times -omit-link-times -one-file-system -whole-file -progress -stats -human-readable /home/$effectiveUserID/.local/share/ /mnt/NAS-001/NFS/$effectiveUserID/$systemHostName/dot.localShare usr/bin/rsync -rlpt -backup -update -8-bit-output -omit-dir-times -omit-link-times -one-file-system -whole-file -progress -stats -human-readable /home/$effectiveUserID/.config/ /mnt/NAS-001/NFS/$effectiveUserID/$systemHostName/dot.config If -d /mnt/NAS-001/NFS/$effectiveUserID/$systemHostName ]]Įcho "Mounted NAS NFS $effectiveUserID $systemHostName" # -g -group "preserve group" is possibly not supported by a QNAP TS-131P. # Cannot use -a -archive: both imply -rlptgoD Yes, it’s not simple – except as a Bash script – the options which need to be set are many …Be that as it may, an example – I automount the NFS Server on the NAS box – The rsync route seems rather daunting to me.

SYNOLOGY DRIVE CLIENT SETUP PASSWORD

But, please be aware that, you’ll have to store the username and password of the NAS user being served by the rsync daemon in your backup scripts.If -d /mnt/NAS-Box/NFS/$effectiveUserID/$systemHostName ]]Īlternatively, you can enable the “rsync” daemon on the Synology NAS –

SYNOLOGY DRIVE CLIENT SETUP CODE

The scripts I use to which invoke “rsync” to drop all the changed and new files onto my NAS box have a code section like this – > systemctl list-unit-files | grep -i 'autofs' Then, simply mount the NAS box via NFS from the Linux machine – I use the Linux auto-mounter function. Usually, you’ll have to login to the admin user of the NAS box via SSH, to setup the UID and GID values – “chown … ” – the NAS boxes usually run Linux …

  • The not so simple part of this solution is that, the UID and GID of that directory and, all the sub-directories and, all the files in those directories, have to be changed to have the same UID and GID as that of the user on the Linux machine.
  • The simple answer is, setup the NFS Server on the NAS to export the directory where the Linux files are located.
  • The Synology NAS boxes usually have an NFS Server function.
  • Were you using the “ Active Backup for Business” Synology App or, something else? – Possibly the Synology “Drive Client”? I have a Synology NAS with which I have been able to synchronise my desktop computer files using a client rpm package from Synology.











    Synology drive client setup