How To Backup Your FreeNAS 11.3 Using ZFS Replication

Поделиться
HTML-код
  • Опубликовано: 24 окт 2024

Комментарии • 91

  • @farioko9254
    @farioko9254 4 года назад +5

    FreeNAS has such a beautiful UI, just WOW!

  • @billclark9935
    @billclark9935 4 года назад +4

    Perfect timing for this video -- going to bail on the OMV box and build a second FreeNas box ... thank you for all your great videos -- you obviously enjoy your work !

  • @muhammadbutt7994
    @muhammadbutt7994 4 года назад +3

    Every time I think of a new thing to implement and look for how to do it. You already have a wonderful step by step guide. THANKYOU!!!!

  • @FunMushizzle
    @FunMushizzle 4 года назад

    Love your videos... been a FreeNAS fan for a decade or more now. They just work when you build them right, proper hardware you just forget they exist they run forever reliably.

  • @philippepfeiffer
    @philippepfeiffer 3 года назад

    Hi Lawrence. Excellent Video, running FreeNAS since many years, but just did my first FreeNAS Replication setup for backups today . Well done, thanks

  • @brucekeen8925
    @brucekeen8925 4 года назад +7

    An excellent explanation of this replication. I’m ordering my backup freenas now.

    • @TrueNAS
      @TrueNAS 4 года назад +3

      We're here if you need some help with that!
      For more information on FreeNAS (soon to be TrueNAS CORE), check out our site here: www.freenas.org

  • @adamw449
    @adamw449 4 года назад

    Thank you for the guide! Just setup my backup system according to the guide in 15 minutes. Now waiting for 9 TB of data to be copied over :-)

  • @danielreichelt7292
    @danielreichelt7292 4 года назад +1

    A big thank you. I did my first replication task ever from a 11.3 box to another 11.3 box. Both using zfs. It worked, it was easy, it was fast.

  • @tcfls
    @tcfls 4 года назад +2

    Great explanation! For those interested, I just tried last night and the replication through the GUI works equally well to a generic linux ZFS dataset.

    • @Felix-ve9hs
      @Felix-ve9hs 4 года назад

      Do you think it would be possible to replicate to a ZFS Pool on a external USB Drive on Linux?

    • @TmanaokLine
      @TmanaokLine 4 года назад

      @@Felix-ve9hs but why? At that point buy a mini atx board or 8GB RPI and at least have another set of HDDs. You can even buy a quad HDD USB Enclosure and make the pi a secondary both local and remotely.

  • @isaaclee-mort
    @isaaclee-mort 4 года назад +3

    I got a good deal on 24 sas drives, it worked out around £5 per drive, it quickly turned into one of the most expensive set of drives when I had to get a system to put them all in. Ended up with a 720xd

  • @jasonwells7977
    @jasonwells7977 4 года назад

    Thanks Tom for this. I got this working this morning replicating a TrueNas server onto a FreeNas server.

  • @Sellular.
    @Sellular. 4 года назад

    It seems like everytime I'm learning something new in my homelab, you JUST posted a video about it. I just started looking into replications to an older end optiplex last night and you just answered some of my questions with a video today!
    Quit reading my mind! Or don't :D

  • @deathmetalerik2065
    @deathmetalerik2065 3 года назад +1

    Thanks Tom, great video, super easy to follow!!

  • @chromerims
    @chromerims Год назад

    Warmest wishes Tom. All the best for CNWT combo!
    1:40 -- TN Replication requires the source and the destination to be on ZFS; what I needed to confirm clearly from an expert like you.
    For some use cases like cold storage, I prefer ext4 backup, for its universality and closer to simple PNP ability.
    Kindest regards, friends and neighbours.

  • @jamesk3022
    @jamesk3022 3 года назад

    Thank you for the step-by-step instructions this is very helpful!!!

  • @JustSomeGuy009
    @JustSomeGuy009 4 года назад +1

    You should show the new replication feature in 11.3 that lets you define different retention of snapshots on the back location. You just passed over it. Bit if it works as they describe that's a huge deal. It allows actual retention of backups without keeping those snapshots on the main box. Something that has been missing forever.

  • @TheBeardedLibertarian
    @TheBeardedLibertarian Год назад

    for home use nothing beats this replication to the same system IMHO, no need for another box in the house :)

  • @alabalistic
    @alabalistic 4 года назад

    Greetings.
    I have a question and can't find a user friendly answer in RUclips.
    I have build my first Freenas from old PC with one 8TB disk, as time go on and I start loving my Freenas and migrating to Better hardware I bought same model HDD and now I want to Mirror my Pool. So my question is, how easy it is? What are the best Practices?
    Thanks for the great show.

  • @jdbiphone
    @jdbiphone 3 года назад

    Tom, With the rampant spread of cybercriminals using ransomware, maybe in one of your future videos you can address what solutions are available or that you have seen in creating air gaps(ie tape) in backup solutions for Freenas, zfs, etc.

  • @michaelberna987
    @michaelberna987 4 года назад

    I always like your videos Lawrence. You do all the same things I do. Thanks for sharing.

  • @johnhawkins9442
    @johnhawkins9442 Год назад

    Love your videos. This one helps me sleep.

  • @sleekspeed22
    @sleekspeed22 4 года назад +1

    This is an awesome video but I have some newbie questions. I want to try to do this between my FreeNAS server to a friend's FreeNAS folder (for offsite safety).
    1) how to I secure the data so if someone were to steal my friends FreeNAS they can't access the data from the drives ( I assume this is just encrypting the pool)
    2) can it be setup so the Admin on my Friend's FreeNAS can't read my data... I will have financial files and customer files in the pool... not that he would but this just eliminated the possibility
    Thanks in advance.

  • @millsjason
    @millsjason 4 года назад

    Thanks for your wonderful videos. I’m learning so much.

  • @TmanaokLine
    @TmanaokLine 4 года назад

    Great video, would be nice to see two more things: using the backup nas as a primary for a short time and then seeing the pull back to the primary.
    Second thing would be cleaning up months of snapshots, because that's a hell of a lot of snapshots. Can they all be merged back into the first snapshot after say a month? If I delete snapshots on the primary, is that reflected on the secondary machine?

  • @MrTechnician_
    @MrTechnician_ 3 года назад

    Perfect! Could i feasibly replicate to another pool, eject the drive(s) and take them offsite? I don’t currently have a second freenas box and would like an offsite backup. I would use backblaze but my upload speed is far too slow.

  • @Maisonier
    @Maisonier 3 года назад

    What are the best practices? Using freenas as a Virtual Machine on Windows? using a VM over Linux? using Proxmox and virtualize a Ubuntu and install Freenas, using direct Freenas on a raid 1 with 2 ssd?
    If you have 2 servers to redundancy, use both as a mirror, share the data?

  • @andarvidavohits4962
    @andarvidavohits4962 4 года назад

    Would someone be so kind as to write out the general 'zfs' commands needed to achieve this in the command line? I'm guessing something like 'zfs send -R / | ssh user@ zfs recv /' with the 'ssh' part being (optional) encryption.

  • @DiStickStoffMono0xid
    @DiStickStoffMono0xid 3 года назад +1

    Thank you very much for this video! I have one question regarding the replication and its workings:
    If i were to set up a backup server with single disk vdevs because the machine would be only up and running once a week and for cost efficiency. If one of those drives would fail, would the replication need to restore the whole snapshot or only the lost data on said drive? (talking private use case here, nothing business related) thank you very much!

  • @21Lettere
    @21Lettere 4 года назад +1

    If you try a local replication (pool1 --> pool2 on the same machine) it doesn't work... (using the GUI); it works perfectly using CLI ZFS send/receive commands. So, iX scripts are not tested before putting them in production.

  • @Mike-01234
    @Mike-01234 4 года назад +2

    I have 2 pools in the same box one older smaller drives 3TB another new set which is 6TB. I deleted all the snapshots I had created a new one ran the replication over but only part of the files copy over.

  • @luisbortone182
    @luisbortone182 4 года назад

    An excellent explanation! Thanks for share!

  • @TrueNAS
    @TrueNAS 4 года назад +4

    Another #iXciting video, Tom!

  • @itupdate156
    @itupdate156 10 месяцев назад

    how about Pull Replication between FreeNas as a primary server and TrueNas as a replication backup

  • @dennischristian9976
    @dennischristian9976 4 года назад

    Another great informative video. Thank you!

  • @alpachino468
    @alpachino468 3 года назад

    Pushing or pulling data - is one faster than the other?

  • @martinquintana2458
    @martinquintana2458 4 года назад +9

    3:26 OMG MY EYES!!!!!

  • @jfael
    @jfael 4 года назад +2

    Let's assume your main server explodes, is it possible to use the backup to restore not only the data, but also Jails, VMs, general FreeNAS settings and configurations ?

    • @Exploited89
      @Exploited89 4 года назад +1

      You can backup with a cronjob the configuration .db file of FreeNAS and then restore it when needed on the second machine or go the HA cluster way with TrueNAS, there's a video on this channel about it!

  • @JayantBB78
    @JayantBB78 4 года назад

    Please make video on *"How to restore if primary NAS destroyed"* because of any reason.

  • @blinddog1212
    @blinddog1212 Год назад

    So, I have a zfs pool (striped) of one 4 tb drive on a XigmaNAS box.
    I am getting another 4 tb drive soon that I want to use for backup purposes.
    Can I set up that 2nd 4 tb drive as another zfs pool and replicate from one to the other? Or is there a more preferred approach>

  • @ygtcv7675
    @ygtcv7675 3 года назад

    good video, does anything need to be done to clean up those snapshots?

    • @cgaquikkie
      @cgaquikkie 3 года назад

      one of the configuration items was the retention period (default of 2 weeks - yes it can be changed). So unless you are short of space, the answer is no.

  • @cenubit
    @cenubit 4 года назад

    I made in FreeNAS 11.3 Virtual Machine (Debian 10) How is possible make snapshot (or backup) for it? And how restore it if I need it?

  • @smokie365
    @smokie365 3 года назад

    Does using this method and taking snapshots backup everything? I just built my first TrueNAS server and I have a few jails. Nextcloud I use for family photos etc. Does everything get backed up? Or do I have to backup Nextcloud separately?

  • @sgtpepperaut3392
    @sgtpepperaut3392 4 года назад

    is this meant that the files are also accessed and changed on BOX2? or is this more meant as a do not touch one way backup?

  • @Rickety3263
    @Rickety3263 4 года назад

    What if your destination pool is slightly smaller than your source? (21.1 tb to 20.9 tb?)

  • @denvera1g1
    @denvera1g1 3 года назад

    On my destination server, the replicated datasets arent accessable to shares or jails/plugins, they appear to be there, but the dataset doesnt seem accessable, even with 777
    Ok, so, RTFM: i tested with a much smaller(not 20TiB) dataset, the dataset has to completely finish copying before any of the data is accessable on the destination server

  • @leanncampbell3311
    @leanncampbell3311 3 года назад

    I hope it works better on truenas because it's failed on me three times on freenas

  • @moizazam
    @moizazam 4 года назад

    Hi video is really good i setup my freenas server and create iscsi target now i want to setup replication of that iscsi to another freenas
    So that my iscsi targer will not go down if main server is down could you please help me in this .

  • @vale_ol
    @vale_ol 4 года назад

    Hi, thank you for the video on 11.3 replication. There is not a lot out there for 11.3 by now. earlier on 11.2 I used non root users for replicating my snapshots. This option is missing from the 11.3 Manual. Do you know if it is still possible to use non root users for the replication?

  • @tripoliatech2872
    @tripoliatech2872 4 года назад

    Nice video, free nas is the best storage

  • @BobBeatski71
    @BobBeatski71 3 года назад

    In over 4yrs, first sectors to be reported as unreadable on my Seagate NAS drives. Time to setup the replication server. Not that I'm too concerned about my data as it is stored on a z2 pool. ok, ok, I just want to buy some tech ! :)

  • @thehillbillyfarmer4547
    @thehillbillyfarmer4547 4 года назад

    Your video in past allowed me to set up replication. Question now. In original setup, the retention policy is set to none and machine is full with thousands of snapshots and sending replication fail notices. How can I edit the replication snapshot retention policy? When I change to same as source, it throws a dialogue box up with the following --- [EINVAL] replication_update.target_dataset: Target dataset should end with source dataset name without the first element (without pool name) for Legacy transport --- and will not allow. Thanks much for all you do

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 года назад

      Not sure, try their forums www.ixsystems.com/community/

  • @davidg4512
    @davidg4512 4 года назад

    So if we use something like xcp-ng + xen orchestra with replication there, this is sort of useless, right? I mean it has its use case but it would be quicker to recover via xen orchestra rather than shutdown the problematic machine, go to the passive machine, and make an iscsi/nfs share, and then have to update things in your cluster.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 года назад

      The point of ZFS replication is to backup the data on your FreeNAS to another FreeNAS (or ZFS pool) But if you had your backups going from server A to server B and server A suffered a catastrophic failure, you could quickly be backup up and running by creating the shares on Server B and the data would be only as old as the last snapshot/sync task.

  • @ausguy4385
    @ausguy4385 3 года назад

    Can I have a main set up with two sections. Then a second back up that is off 99% of time that only backs up one section of the main?
    E.g. one section is stuff that want zero lose eg photos of kids and files. Then a second that is PLEX like media that can always get most again and no big loss or need for back up.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  3 года назад +1

      you can setup how ever many variations you want with replication per dataset

    • @ausguy4385
      @ausguy4385 3 года назад

      @@LAWRENCESYSTEMS is there a way to auto back up a mobile phone by any chance?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  3 года назад

      @@ausguy4385 not that I know of

    • @ausguy4385
      @ausguy4385 3 года назад

      @@LAWRENCESYSTEMS thanks, be great if was a way, since we all now manual back ups never happen till to late 🤦‍♂️

  • @Svejky001
    @Svejky001 4 года назад

    What about the replication of ONLY all the user accounts (including passwords) on the main nas? I have about 400 user accounts on the main nas, and if the main NAS goes up in a smoke cloud i want just to rip out the LAN cable out of it, change the IP address of the backup Nas to the IP address of the former main NAS and make it read/write, so that the user's experience nothing apart from a short LAN-Drive unavailability, and all of the SMB credentials wil work just fine.

    • @JustSomeGuy009
      @JustSomeGuy009 4 года назад +1

      400 local users? You should probably setup AD or equivalent.

  • @Theborg72
    @Theborg72 2 года назад

    can't you make one with backup to not freenas but an external usb disk or other type of nas that runs smb

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  2 года назад

      There is not anything built into TruenNAS for that, it would take some third party tool or plugin.

  • @Steve3dot1416
    @Steve3dot1416 Год назад

    I am confused. If a snapshot is only the changes made to the file system and a replication is only a copy of these snapshots, all that will be copied is changes to the original data and never the original data will be copied. So, suppose the source pool is destroyed, how will this make me able to reconstruct it?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Год назад

      It sends the snapshot and all the data leading up to the snapshot.

  • @ausguy4385
    @ausguy4385 3 года назад

    If your true nas machine has DVD burner attach to it can you burn to M disk going term storage eg photos?
    Anyone know can only find about coping to else where not to a DVD drive?

  • @zakkarte6983
    @zakkarte6983 4 года назад +1

    My god... so many commercials... there were 4 commercial pop ups for me

  • @jasonwells7977
    @jasonwells7977 4 года назад

    I am currently running TrueNas would I be able to setup a Freenas box as the 2nd or slave box to do this? I ask as I know they do the Freenas updates before they release them to TrueNas. I am in the latest TrueNas Stable.

  • @ScottPlude
    @ScottPlude 4 года назад

    after trying this, I was getting SUCCESSFUL instantly on the srouce server. More research showed my snapshot tasks on the soruce server were PENDING. I delete the tasks, recreated... still PENDING. Anybody have thoughtss?

  • @cousinsthegamer
    @cousinsthegamer 2 года назад

    Do you need the ssh to login as a root account or can you have it log in as a non-root account?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  2 года назад

      By default it only works with root

    • @cousinsthegamer
      @cousinsthegamer 2 года назад

      @@LAWRENCESYSTEMS
      Isn't that a security concern? I was looking for an off site backup solution between my 2 truenas systems.

  • @farioko9254
    @farioko9254 4 года назад +2

    "This lower end server", ah yes the very low end i7 4770K desktop CPU from Intel. :D

    • @Felix-ve9hs
      @Felix-ve9hs 4 года назад

      :D well compared to a Server with a 24 Core / 48 Threads CPU and 64 GB of RAM
      But IMHO this System would at least be midrange

    • @TmanaokLine
      @TmanaokLine 4 года назад

      True, a celeron could do the job just fine I mean look at Synology NAS boxes that offer 4K streaming with a modern celeron! RAM on Synology machines however is pitiful and their Linux distros are very very closed in my opinion.

  • @kenzieduckmoo
    @kenzieduckmoo 4 года назад

    definitely liked it better before the pluig in the beginning wasnt pre-recorded

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 года назад +1

      I got tired of repeating myself, also if you have seen it before you know exactly how far to jump ahead :)