!zBXkqzKNPmRJFiNHCk:matrix.org

Synology

57 Members
A place for Synology NAS and networking product customers and enthusiasts to come together to share resources, knowledge, and information. NOT AFFILIATED WITH SYNOLOGY (the Company).6 Servers

Load older messages


SenderMessageTime
7 Apr 2021
@roister:matrix.orgroister I would be remiss if I did not mention this one too!
Set up Borg Backup on Synology DiskStation
15:06:54
@roister:matrix.orgroister *

OK. So I found this:
BorgBackup Repository on Synology DSM 6.2.2
Published January 8, 2020

and this:
Using borg for backing up nuxx.net

Published November 10, 2019

And those helped more than many other sites. But Wow. I sure wish rsync was more effective with the --link-dest and --numeric-ids flags!

It would help if I wasn't sextuple booting! Luckily Clonezilla exists, and can be used via SFTP to the NAS; but I still have not fully worked out a Timeshift alternative that I like with rsync because of the whole ownership thing on Synology; and have to admit this damn Borg and Borgamatic thing have gotten me pretty frustrated too. I guess Synology has the Borg package now, along with the Borgmatic wrapper supposedly installed with it. I will try initializing a borg repository on the NAS later today and report back. Writing the scripts is taking longer than I thought, and more testing needs to be done, but I still think Borg is the way forward. I literally never could figure out how to use frickin' Lucky Backup for Business (even the beta version) to backup the root of a Linux OS. Sorry, but I just could not get the damn program to work for me. GUIs don't tell you why it isn't working either. Some Synology Linux SNAFU it looks like to me. It really only caters to Windoze and Mac. Linux is often left out in the cold. They figure we can figure it out. And we do, because we have to.
Thank you for reading my blog.

15:13:28
10 Apr 2021
@sigsegv111:matrix.orgsigsegv111 joined the room.03:06:13
@sigsegv111:matrix.orgsigsegv111 left the room.03:43:48
13 Apr 2021
@nicolas514:matrix.orgNicolas changed their display name from nicolas to Nicolas.16:57:07
14 Apr 2021
@drrenardscd:matrix.org@drrenardscd:matrix.org joined the room.08:12:17
@drrenardscd:matrix.org@drrenardscd:matrix.org joined the room.09:42:25
@drrenardscd:matrix.org@drrenardscd:matrix.org left the room.09:44:54
18 Apr 2021
@xshocker:matrix.orgxshocker joined the room.23:40:22
@roister:matrix.orgroister Alright. I need help. Anyone have any experience with the Site-to-Site VPN on the Synology RT2600ac Router? I think I just don't understand. Do I need two Synology Routers for this service, or something? What is the difference between this and DDNS? Am I confuse? (Wait. Don't answer that. Of course I am clueless as hell, but feel like I am close!) So, do I set up the DNS Server on the NAS and the VPN Server on the Router? And I get the Let's Encrypt Certificate on the NAS and import it into the Router? Shite! I'm still confused! Now, what is the Site-to-Site VPN for, and can I hook my girlfriend up to my internet connection, or is it the NAS? A VPN Tunnel? Yes, I am CONFUSE! Can someone help straighten out my thinking, maybe simplify things a bit for my limited understanding? 23:41:47
@roister:matrix.orgroister2021-04-18_VPN.png
Download 2021-04-18_VPN.png
23:48:55
20 Apr 2021
@roister:matrix.orgroisterNo one?13:28:49
@thegardner:matrix.orgTheGardner

sorry, can speak from the theory only, cause I'm using routers from a German branch.
So what you need is the following:

  • two routers (same models would be good - from the same branch definitive)
14:20:42
@thegardner:matrix.orgTheGardner
  • two DNS names (for each router)
  • two different IP ranges (f.e. 192.168.0.0 and 192.168.1.0)
  • one password to connect both ranges
14:22:10
@thegardner:matrix.orgTheGardner
  • router IPs should be 192.168.0.1 and 192.168.1.1
14:22:59
@thegardner:matrix.orgTheGardnerFor your DDNS question: you need this, cause your routers probably getting a different IP (WAN address) each every now and then. A DDNS service always puts the current gotten IP to a DNS name (i.e. roister-net1.dnyndns.org or/and roister-net2.dyndns.org). These DNS names are yours as long as you hold them up-to-date or probably pay for them... And in result - your Site-To-Site VPN needs those DNS names to connect the site-to-site every time one router gotten a new WAN address. 14:27:29
@thegardner:matrix.orgTheGardnersetting up the DNS Server on the router would be enough, so you don't need to setup anything on the NAS - just point to the routers internal IP (i.e. 192.168.0.1). You always need to get a certificate for this machine, where the DNS name is hosted. Is it hosted on the router - you should insert it on the router. Is it hosted on the NAS - you should add it there under system control - certificate. If you're running all on the NAS, you don't need to setup it on the router (twice). So to confuse you a bit - speaking from me, I'm running two different circles. The VPNs are hosted on the routers (roister-net1.dyndns.org // roister-net2.dyndns.org // roister-net35.dyndns.org) and the NASes are running on different host/DNSnames (nas01.dyndns.org // ... // nas35.dyndns.org)14:34:52
@roister:matrix.orgroister TheGardner: Thank You! I'm still confused a bit though. Some documentation says it's best practice to have the DNS Server and the VPN Server on two different devices. Or am I just complicating things? So, you're saying run both the DNS Server and the VPN Server on the Router? I definitely do not yet understand the difference between a VPN and a Site-to-Site VPN either. For example, if I ever figure out how to set it up between my Synology Router and my girlfriend's Ubi Router, would she be just sharing my internet connection, thereby being on my local network, and able to access the NAS, etc? Is it just like any other VPN? I think I understand how to use a wildcard to get one certificate to cover more than one address, but I don't understand why I need more than one. What do you use your several addresses for? I'm pretty sure my head will explode if I try to reread any more of the hundred bookmarked links I have related to DDNS on Synology! It seems like this should be easier, but isn't that always the way with things one is trying to learn! 14:56:36
21 Apr 2021
@thegardner:matrix.orgTheGardnerFrom what I now read, you seem to have two different router. So forget about an Site-to-Site VPN. The best solution should be a VPN then - means "your girlfriend connects per single-VPN to your router/Nas, by running a VPN server on the NAS. I think a Site-By-Site VPN runs smoothly on two same routers only, were the routers are running the VPN network and your both networks were connected like your "living and your sleeping room"15:48:25
@thegardner:matrix.orgTheGardnerSite-By-Site VPN (for my understanding) is somethings close to the latter mentioned here (the living/sleeping room one). And a VPN is somethings, when you're connecting (as a single-user) to a VPN network (i.e. your network at home). As for the DNS / VPN server question: best for you seems to be the "single-user connects to a VPN network" --> VPN server on the NAS / DNS server on the router I guess15:52:27
@thegardner:matrix.orgTheGardnerSo, if your girlfriend have a single-user VPN connection, then she could connect to your VPN first and (when connected) just surfing inside your internet connection - means whatever she does, it's like you do by surfing at home.15:55:47
22 Apr 2021
@kiddingkitteh:matrix.orgAxys left the room.14:51:56
24 Apr 2021
@roister:matrix.orgroister2021-04-24_apropos-fortune_Clonezilla_via_SSHFS_to_NAS.png
Download 2021-04-24_apropos-fortune_Clonezilla_via_SSHFS_to_NAS.png
21:47:29
@roister:matrix.orgroister

TheGardner: THANK YOU SO MUCH FOR TAKING THE TIME TO EXPLAIN IT TO ME!!!
I will try tackling it when I find some time in the next few days. I feel much less tense about it after your further clarification, so thanks.
Just to clarify, Would you do the VPN Server on NAS, and the DNS Server on the Router? (for the use-case you mentioned)

I will share, in case it helps anybody else, that I had no trouble whatsoever doing a Clonezilla bare-metal backup of my laptop with 9 partitions and 5 OSes directly to the NAS via SSHFS, according to the video I watched here:

Clonezilla LAN backup (over SSH): Linux host to Synology NAS

— by Daniel Rosehill

Took about 3 hours, since I have almost a Terabyte of data on there, but it went REALLY WELL!
SSHFS Rules! Always a good idea to have a bare-metal backup in case of catastrophic disk failure.
Now that I have my backup solutions figured out I feel a little better about opening up to the outside world!
Still need to get an external hard-drive and use Hyper Backup to backup the NAS.

21:47:31
25 Apr 2021
@thegardner:matrix.orgTheGardner

Just to clarify, Would you do the VPN Server on NAS, and the DNS Server on the Router? (for the use-case you mentioned)

For your "single-user-connects-to-vpn" case, I would install VPN and DNS on the NAS. Both is pre-configured on the NAS (VPN server & Synology DNS) and your work is to enable it only. In the end your girlfriend connects to your NAS to find all "her" stuff on there...

07:05:57
1 May 2021
@nicoulaj:matrix.orgnicoulaj joined the room.14:15:08
@urpcor:matrix.orgMDR joined the room.23:26:30
16 May 2021
@b3gg3s:matrix.fff.communitySebaBe joined the room.12:20:23
@b3gg3s:matrix.fff.communitySebaBe

Hi there,
i'm trying to btrfs send | btrfs receive from Debian to a DS920+ into an encrypted share via ssh.
Problem is, I get an error even if the snapshot gets created.

 btrfs send -v /mnt/btrfs/snapshots/test.20210516 | ssh -i id_rsa root@IP 'btrfs receive /volume1/tesordner/'
At subvol /mnt/btrfs/snapshots/test.20210516
BTRFS_IOC_SEND returned 0
joining genl thread
ERROR: attribute 12 requested but not present.
At subvol test.20210516
ERROR: chown  failed: Read-only file system
12:25:46
@b3gg3s:matrix.fff.communitySebaBei find noting about that attribute 12 and the chown failure confuses me, as it's run as root12:26:53

There are no newer messages yet.


Back to Room List