All credits to Gordon. Thanks !!!!!
All credits to Gordon. Thanks !!!!!
Data 備份好緊要!
自從Office 用FreeNAS keep Source 以黎,都係用USB HDD 經PC 行SyncBackPro 做Schedule Backup (雖然重有第三套Backup去另一隻Synology)
Reference site 好有用,但有一樣係入面無提,但自己又開頭無搞清楚嘅。就係FreeNAS 嘅 『rsync』 service-account 嘅Primary Group 要係 Wheel,Primary Group 係自己名或其他。Rsync task都唔會行得起。
SSH Keygen 唔係太難,最緊要搞清楚邊部機去邊部機(Source>Target)
Genkey 系係Source機gen,之後抄id_rsa.pub去TargetMachine ~/.ssh入面,同埋 “authorized_key” 兩個file。Permission 711
係Synology入面enable Rsync唔太複雜,但係唯一令我再伏嘅位係, Synology Rsync Service-Account需要係Admin Group Member。唔係啲話FreeNAS用SSHconnect去Synology系會照問Password。
如無特別問題就可以Trial Run。。但係太多Data去抄,結果 1.3T Data系用接近兩星期完成。
額外就係FreeNAS嘅Rsync系會unlimit bandwidth去做Sync。所以要control task 用幾多bandwidth。再之後係落返個logfile,等可無睇task有無問題
My setup
–bwlimit=1800 -vv –log-file=/path for log/rsync.log
Credit: Reference Article
FreeNAS Rsync setup
https://www.mattwall.co.uk/2016/04/03/rsync-to-synology-from-freenas.html
Synology Rsync setup
https://www.synology.com/en-global/knowledgebase/DSM/help/DSM/AdminCenter/file_rsync
Synology SSH Public Key
SSH Keygen
You must be logged in to post a comment.