Off-Site Remote Storage Backup - TrueNAS Scale, Tailscale, and rsync

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ต.ค. 2024

ความคิดเห็น • 72

  • @TrueNAS
    @TrueNAS 2 ปีที่แล้ว +41

    Great video as usual! Love the ever evolving video quality! Keep it up!

    • @pWAVE86
      @pWAVE86 ปีที่แล้ว +6

      ... but the proposed solution in the end is not "officially" supported ...

  • @B13ro
    @B13ro 2 ปีที่แล้ว +5

    This is exactly what I've been working on lately! Bookmarking this for when I'm home.

  • @zenith54
    @zenith54 2 ปีที่แล้ว +3

    I have a odroid hc-1 and a virtual both running syncthing as my backup targets, and I access both of them using zerotier. The big benefit of this method is that if I wanted to deploy another node to a remote friend's house, the node would essentially be zero configuration for that friend, just plug in to power and data and it's done.

  • @JasonsLabVideos
    @JasonsLabVideos 2 ปีที่แล้ว +6

    I kinda do this too, except my 2 firewalls connect with a Ipsec tunnel, I have 2 of those HP Micro G8 servers running Truenas, on on each end and they sync.

    • @Darkk6969
      @Darkk6969 2 ปีที่แล้ว +1

      I have a HP Micro G8 running TrueNAS Core to host the files and VMs for ProxMox.

    • @JasonsLabVideos
      @JasonsLabVideos 2 ปีที่แล้ว +1

      @@Darkk6969 They are sweet boxes !

  • @timsandman
    @timsandman 2 ปีที่แล้ว +3

    Thank you, you make us nerds seem cool! Love the humour and info on equal measure 🙂

  • @mil0sh
    @mil0sh 2 ปีที่แล้ว +7

    Can you make a video explaining steps how to recover all of the data and TrueNAS configurations to the main server from that remote location?

  • @ArchNemesis
    @ArchNemesis 2 ปีที่แล้ว +14

    You're easily one of the most underrated tech TH-camrs. Your content is so useful and issued in a way that is easy to understand and isn't overwhelming. Your delivery is also entertaining and funny as hell. Out of every TH-camr, your vids have helped me the most in setting up my humble little server / babby homelab. Here's a thanks and a sub, keep doing what you're doing.

  • @Grat1616
    @Grat1616 ปีที่แล้ว

    Help! I will preface by saying I am NOT an IT person. I was able to get an old pc up and running with Truenas Scale and two 6tb drives - love it. I am LOST on how to get remote access. I gave a Netgear router and followed instructions for OpenVpn and believe I have running, but not sure where to go next. A basic video on being able to access TrueNas server remotely would be awesome!!!

  • @zyghom
    @zyghom 11 หลายเดือนก่อน

    great idea but a bit convoluted explanation ;-) why would you go through 3rd party rather than by installing i.e. wireguard locally?

  • @barryarmstrong5232
    @barryarmstrong5232 2 ปีที่แล้ว +1

    I use Scale's built in cloud backup to Google Drive, with the data encrypted - works brilliantly, and Google can't do anything with the data. I like the idea of a remote server though, say at a friends house.

  • @BigPoppaKen
    @BigPoppaKen 2 ปีที่แล้ว +1

    Thank you, I was sitting here trying to understand what I was doing to set up tailscale on truenas. This is not the first time one of your videos have helped me through an issue. Thanks again.

  • @snakesandtrails9290
    @snakesandtrails9290 ปีที่แล้ว

    this video was a huge help in setting up tailscale w truenas scale! thanks!

    • @snakesandtrails9290
      @snakesandtrails9290 ปีที่แล้ว

      ANDDDD now after upgrading my router and modem, tailscale is stuck on deploying. have you ever had this happen? i can't get it back up and running

    • @jims888
      @jims888 ปีที่แล้ว

      @@snakesandtrails9290 I have the same issue, stuck on deploying. Please share if you've found a solution.

  • @bluesquadron593
    @bluesquadron593 2 ปีที่แล้ว +3

    I think smarter than me people would say, this is not the way. Probably the biggest issue being adding any changes to Truenas host system may break something and/or will not persist after upgrades. I think using tailscale is a good idea, but the better would be to have an other proxmox or Truenas on the other end. So you can have proper dataset replication with TrueNAS and Proxmox Backup System. I think syncthing is also a good way to go. But you mentioned that you have that running somewhere too.

    • @RaidOwl
      @RaidOwl  2 ปีที่แล้ว +4

      I agree. I assumed this would be very simple but the video shows that wasn’t the case lol. It definitely has me thinking about my Remote Backup Process 2.0

    • @bluesquadron593
      @bluesquadron593 2 ปีที่แล้ว

      @@RaidOwl There could be also some peculiarities with TrueNAS Scale itself. Wendell from Level1Techs had issues with a VM on Scale back in July. He straight up skipped the applications because he called it wonky. 😂

    • @RaidOwl
      @RaidOwl  2 ปีที่แล้ว +2

      I feel that lol. Halfway through making the vid I almost scrapped it but figured “maybe there someone out there with this setup”.

    • @bluesquadron593
      @bluesquadron593 2 ปีที่แล้ว +1

      @@RaidOwl For sure, I am very interested in a situation when there are challenges and not pitch perfect outcome. Keep up the good work!

    • @kjeldschouten-lebbing6260
      @kjeldschouten-lebbing6260 2 ปีที่แล้ว

      @@bluesquadron593 Honestly, Wendel is an idiot in this case.
      He skipped the system, but has super many opinions about it. While it is basically just plain helm under-the-hood.

  • @TheOnlyEpsilonAlpha
    @TheOnlyEpsilonAlpha 3 หลายเดือนก่อน

    I have a server trio at my house, HA Config with Proxmox. They replicated between each other and to my NAS, i also have a offsite backup to a datacenter. The latter is been utilized by a backup-container running inside proxmox, a CT Container, not a Docker Container. The NAS itself is sadly very underpowered by CPU and RAM to make more than being a local NAS. My Servers on the other side have plenty of cpu and ram to make their own backups as a background noise.
    I‘m revamping my offsite backup soon to borg with encryption, just for worst case scenarios that something odd happens on the datacenter site.

  • @zparihar
    @zparihar 9 หลายเดือนก่อน

    Hmmm... I'm thinking a "Replication Task" is a better way for backing up TrueNAS to TrueNAS ZFS Volumes...

  • @DrewryPope
    @DrewryPope 2 ปีที่แล้ว +4

    my guy, rsync is great, but you have zfs pools in truenas, yes? use zfs send and receive. rsync has to do a lot of work, work your zfs pool already precomputed just from existing. zfs is faster and better. i know, rsync is how i did it for sooo long too, but trust me check this out.

    • @pWAVE86
      @pWAVE86 ปีที่แล้ว

      ZFS send / receive would be (performance-wise) similar to Backup>Replication (from GUI) right? But both ways better then rsync if both systems are TrueNAS systems ... ?

    • @DrewryPope
      @DrewryPope ปีที่แล้ว +1

      @@pWAVE86 sounds right to me! But I'm not sure

  • @Thewickedjon
    @Thewickedjon 7 หลายเดือนก่อน

    @18:02 so brett,
    wouldn't this be fixed if you tell the tailscale kubernetes container to advertise as an exit node??
    That way when your "remote" truenas server tries to "phone home", it'll go out using the tailscale container network? (that's being advertised)?
    I have the exact same setup, (only using the truenas container, not the truecharts) and i have published the server ip, but i can't "phone home" either so i would very much prefer NOT to do everything all over again in the host system like you did, isntead I would prefer to just complete the kubernetes setup.

  • @danielfisher1515
    @danielfisher1515 2 ปีที่แล้ว

    Thanks for sharing your solution. Keep in mind that TrueNAS SCALE does not support installing other Debian packages. It is likely to break when you next upgrade the TrueNAS OS. There are ways around it, I know, but this is not a generally recommended configuration.

    • @pWAVE86
      @pWAVE86 ปีที่แล้ว

      That is also my biggest issue! I did the direct docker/shell install as well in the past but it is not really sustainable when you plan to update Scale without stuff breaking. When starting the video I thought finally a supported tailscale solution ... :(

  • @anthonyj748
    @anthonyj748 ปีที่แล้ว

    I did exactly this and it works. I can access the GUI anywhere practically. But I am having an issue, accessing the data. Is there a way to access it?

  • @riptracy
    @riptracy ปีที่แล้ว +1

    Does any one get the following error when deploying stack in Docker Compose installation: "Deployment error failed to deploy a stack: service "tailscaled" refers to undefined volume var/lib: invalid compose project"?

  • @jlwtrading
    @jlwtrading ปีที่แล้ว

    Unfortunately this approach is EXTREMELY complicated.
    Is this really necessary?
    If you're going from TrueNAS Scale to Synology for backup, why not use one of the many backup programs available on the Synology?
    I configured active backup to run, unattended, every day, in 15 minutes.
    Isn't your time worth it?
    However, let me still thank Raid Owl for a very informative, and detailed backup approach.

  • @HectorMartinez-xv4re
    @HectorMartinez-xv4re 7 หลายเดือนก่อน

    In theory this will work with NordVPN meshnet almost identically no?

  • @luc6144
    @luc6144 ปีที่แล้ว +1

    Hey Raid Owl, This solution helped me greatly in connecting two remote TrueNAS Scale instances and running Replication Tasks. With Bluefin however, I am unable to run a tailscale instance right from the OS level (at least I haven't figured out how yet). Do you know how to do this?

    • @jerryb9265
      @jerryb9265 ปีที่แล้ว +1

      I get this error when I run the command from Raid Owl's guide:
      "'/var/lib' 'path' not allowed to be mounted"

    • @luc6144
      @luc6144 ปีที่แล้ว

      @@jerryb9265 There is a solution for this, but it comes with warnings: I can't find the exact link I used, but essentially you need to chmod the /var/lib folder to allow access. It'll reset after every update since TrueNAS doesn't like you playing with cmd line

  • @K1LLA_KING_KONG
    @K1LLA_KING_KONG ปีที่แล้ว

    Can you show us how to set up on Truenas core?

  • @PoetofHateSpeech
    @PoetofHateSpeech 11 หลายเดือนก่อน +1

    What if you have no friends? ☹️☹️☹️...
    Can I break into a random house and set up a back system in that house. 😂😂😂

  • @Lowellbert
    @Lowellbert ปีที่แล้ว

    Great guide, however I cannot seem to get a way to turn ip subnet routes on Tailscale to enable. I only get a message "This machine does not expose any routes."
    Any thoughts?

    • @bogdzda
      @bogdzda ปีที่แล้ว

      i have this problem

  • @avirtus
    @avirtus ปีที่แล้ว

    Do you have similar guide for zerotier pls?

  • @NENathaniel
    @NENathaniel ปีที่แล้ว

    For the advertised route, how did you know what num to put after the / ?
    I tried the ipv4 shown in Network Interfaces and it didn't work

    • @Ripitgood0007
      @Ripitgood0007 ปีที่แล้ว

      Hi, same question. did you find to resolve this?

    • @NENathaniel
      @NENathaniel ปีที่แล้ว

      @@Ripitgood0007 advertising 198.168.0.0/24 & 10.0.0.0/24 ended up working for me

    • @ryansdog1
      @ryansdog1 ปีที่แล้ว +1

      For anyone else with this question, it's CIDR notation. IP addresses are best understood when shown in binary, as IP address are divided into network/client. Think of "client" as a house number, while "network" is the street, city, etc. Most home networks use a CIDR of /24 which would be the "192.168.1" part of the address for the network part, and then what ever number is tacked on at the end as the client part. By using /32 (the max for IP v4) you're saying that it can only go to the one IP address. The bigger the /number, the smaller the scope. Google "Understanding CIDR notation" for much better explanations.

  • @Saturn2888
    @Saturn2888 ปีที่แล้ว

    How the heck did you get Tailscale showing up in the Applications view? It's not in the list at all. I only see 13 in there.

    • @beaujo
      @beaujo ปีที่แล้ว +1

      Need to add the truecharts catalog

  • @michaelcooper5490
    @michaelcooper5490 ปีที่แล้ว

    Another great video thanks I hope to see more, can we make a request?

  • @theatermusic87
    @theatermusic87 2 ปีที่แล้ว

    FIRST
    edit: Now that I've watched. I'm doing something similar with unraid and wireguard. Works great! just limited by the network speeds are both ends... :(

    • @theatermusic87
      @theatermusic87 2 ปีที่แล้ว

      teehee couldn't resist the urge, looking forward to watching

    • @johnwuethrich4196
      @johnwuethrich4196 2 ปีที่แล้ว

      Iirc tailscale is using wg but is designed to make it easy

  • @nathan57521
    @nathan57521 ปีที่แล้ว +2

    Great video. In case it helps others I got this working using the GUI only. You will have to ensure that Host Networking is enabled and Userspace is disabled.
    You also need to set two sysctl values:
    net.ipv4.ip_forward
    net.ipv4.conf.all.src_valid_mark
    There is more documentation on the truecharts website.

  • @rushic24
    @rushic24 ปีที่แล้ว

    Hey excellent video, I'm unable to do the same with nextcloud+tailscale, have you tried it?
    Thanks

  • @alexlazar2290
    @alexlazar2290 2 ปีที่แล้ว

    Did you also consider using ZFS replication?

    • @RaidOwl
      @RaidOwl  2 ปีที่แล้ว +2

      Yep that’s prob my next attempt. I’ve been wanting an excuse to try Tailscale tho

    • @alexlazar2290
      @alexlazar2290 2 ปีที่แล้ว

      @@RaidOwl Testing that out myself. But I've been using OpenVPN, because it is built in in TrueNAS. Mostly just worried that an update will destroy tailscale or, the one I've tested, wg-easy. But thank you for the video. I really like your contribution. It really helps a lot of people. Keep it up!

  • @pieteryts
    @pieteryts 2 ปีที่แล้ว

    yayy. truenas scale.

  • @Georgio_TheChef
    @Georgio_TheChef 2 ปีที่แล้ว

    Can you make a video on FakeNAS? I feel like TrueNAS gets alot of attention, but it's debatable if it's any better than FakeNAS

  • @FSULAUBACH
    @FSULAUBACH 2 ปีที่แล้ว

    Uhhh syncthing would of been 18x's easier to setup. Just saying. And yes it's even encrypted.

    • @RaidOwl
      @RaidOwl  2 ปีที่แล้ว

      Lol probably

    • @wolre
      @wolre ปีที่แล้ว

      True, Syncthing is great, but has way worse performance in my experience. Also, if you want to do zfs replication, which can be much faster if you have lots of files, you need to have some way of the two servers actually talking to each other. And of course Tailscale is also useful for a bunch of other services like Jellyfin access!

  • @SofiaNeifer-h4x
    @SofiaNeifer-h4x 27 วันที่ผ่านมา

    Braun Roads

  • @Robert-sj8ld
    @Robert-sj8ld 5 หลายเดือนก่อน

    👍🏻👍🏻👍🏻👍🏻👍🏻

  • @theaquaking4020
    @theaquaking4020 23 วันที่ผ่านมา

    3:53 from where did you that subnet 32? how to find mine please help!!

  • @parenall
    @parenall ปีที่แล้ว

    YOU ARE MY FATHER I CAN FINALLY DO WHAT I HAVE BEEN WANTING TO DO FOR A LONG TIME. THANK YOU SO MUCH

  • @GlenCavanaghNH
    @GlenCavanaghNH ปีที่แล้ว

    Beans

  • @daviddrumm3673
    @daviddrumm3673 6 หลายเดือนก่อน

    Pi-Hole question: I had been using Pi-Hole on Truenas Scale for several months until upgrading from Bluefin to Cobia (Version:23.10.2) in February. I struggled some with Nextcloud and Syncthing after the upgrade but got both of them running without reinstalling them. Pi-Hole (TrueCharts version) on the other hand did not survive. Other apps will install OK, but since the upgrade TrueCharts and TrueNas versions of Pi-Hole will not install they both fail with the following cryptic error message.
    [EFAULT] Failed to install App: Error: INSTALLATION FAILED: create: failed to create: secrets "sh.helm.release.v1.pihole.v1" is forbidden: unable to create new content in namespace ix-pihole because it is being terminated
    Anyone have any ideas how to FIX this error???