TruenNAS: Backup Immutability & Hardening

Sdílet
Vložit
  • čas přidán 21. 08. 2024

Komentáře • 49

  • @LAWRENCESYSTEMS
    @LAWRENCESYSTEMS  Před 2 lety +2

    How To Secure TrueNAS Core
    czcams.com/video/psVNn-JVT9Q/video.html
    TrueNAS Document on "Hardened Backup Repository for Veeam"
    www.truenas.com/docs/scale/communityrecommends/hardened-backup-repository-for-veeam/
    MINIO Object Lock and Immutablity Guide
    docs.min.io/docs/minio-bucket-object-lock-guide.html
    How S3 Object Lock works
    docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-overview.html
    The Best Diagramming Tool "Diagrams.net"
    czcams.com/video/mpF1i9sfEJ0/video.html
    ⏱ Timestamps ⏱
    00:00 TrueNAS Hardening Backups
    02:14 Backups and Protecting the Transport Layer
    05:44 Snapshots and Replication
    09:00 Cloud Backups
    10:26 Hardening TrueNAS
    12:18 MINIO S3 Object Locking

  • @jimwillhite816
    @jimwillhite816 Před 2 lety +18

    Backups are a good start but you must also periodically test and verify the restore process. Any suggestions on how to implement a practical test procedure to verify that the backup/restore will work when needed?

  • @adam872
    @adam872 Před 8 měsíci

    I achieve immutable and air-gapped backups that can be stored offsite by using tape. With the right backup technology and processes you can make this pretty secure and able to recover from any number of different scenarios.

  • @Neo8019
    @Neo8019 Před rokem

    I use 2 NAS servers for backup. The first one is on the AD where only admins and the backup software have RW. The second NAS is read only for ANY AD user, including admins and the only way it mirrors NAS No.1 is by doing a pull replication/rsync. Any deletion can only be done by logging on to the machine directly with a different user and password, with a local cron job or with something like winscp but only from specific machines and again with a different account that is not part of the AD.
    Not sure if its an ideal solution or I have missed something, but at the time of setting it up to my mind it was. 😁
    Once again, good video and as always informative.👍

  • @blender_wiki
    @blender_wiki Před rokem +1

    Long-term cloud archival is so cheap that is not a big issue having 2 or more full copy and snap shots in 2 or more Differents locations. Many insurance (especially in nowadays with CCPA or GDPR Hiden rules to backup private data) require you save your backup encrypted in at least 3 location separated by at leas 100miles. In 2023 I highly suggest for any bussines that handle valuable data to have at least one employee with the ISO 27001. certification.

  • @cpadesignuk
    @cpadesignuk Před 2 lety

    This is very helpful Tom, thank you.

  • @maxmustermann9858
    @maxmustermann9858 Před 2 lety +4

    I use Borge backup and an Storage Box from Hetzner. Borge has the permission to delete his own backups but the Hetzner Storage Box is based on ZFS and makes Daily Snapshots which only can be deleted via web Interface. And my backup user has no permission to read or whatever the backups. So I think this is a pretty good approach. What are you guys thinking?

    • @Wayk123
      @Wayk123 Před 8 měsíci +1

      Thanks for the idea, I didn't know about Hetzner storage boxes. Looks really nice!

  • @rolling_marbles
    @rolling_marbles Před 2 lety +2

    Immutable means the data only can be written once and never changed. It can be deleted, but never changed. Think of the old WORM systems, Write Once Read Many.
    Folks do mix up immutability and retention.

  • @NickF1227
    @NickF1227 Před 2 lety +6

    If you want immutable backups...tapes have been around for decades? :P

    • @PrimalNaCl
      @PrimalNaCl Před 2 lety +3

      Correct! There's even support for WORM tapes. Very odd he didn't mention any of this.

    • @marcogenovesi8570
      @marcogenovesi8570 Před 2 lety

      Tape backups aren't automated (unless you have the fancy bot stations) so now it's down to human error. They also wear out

    • @NickF1227
      @NickF1227 Před 2 lety

      @@marcogenovesi8570 a tape library from someone like HP coupled with A backup suite like Veeam is 100% automated…. And the amount of hours the drive can do is not dissimilar to the amount of hours a spinning hard drive can do before failure rates grow exponentially

    • @marcogenovesi8570
      @marcogenovesi8570 Před 2 lety

      @@NickF1227 if it's automated then it is just cold storage with extra steps, if it's not isolated correctly then you can delete the backups, just like with a normal cold storage appliance. I have some horror stories about tape libraries.
      The amount of hours and/or writes is so different you can't even compare it to hard drives, tapes aren't meant to be written all the time, again, plenty of horror stories about people that kept reusing the same tapes for backups well past their end of life and were hosed when tried to restore backups

    • @samsampier7147
      @samsampier7147 Před 2 lety +1

      I think Tom covered that in the external hard drive storage. You need good people processes, so the drives or tapes are swapped. And tested on a regular basis.

  • @lucienzerger
    @lucienzerger Před 2 lety

    second! and TrueNAS is awesome!

  • @dfgdfg_
    @dfgdfg_ Před 2 lety

    Be great to see borgbase or something setup on Scale.

  • @mmobini1803
    @mmobini1803 Před 2 lety

    Thank you Tom!

  • @uncommonamerican
    @uncommonamerican Před 2 lety

    Thank you good sir ..

  • @cvmagic404
    @cvmagic404 Před 2 lety +3

    In the example provided, why not have the cloud backup performed by the replicated truenas server, and have it access the first server via SSH using a key pair, that way even if the first truenas server is compromised that they then would not have access to the cloud provider nor would they have an avenue to retrieve the credentials to the second server. You could even add a cron script to check for a canary file with a known MD5 hash to prevent replications.

  • @HelloHelloXD
    @HelloHelloXD Před 2 lety +2

    14:37 do you connect it directly to your TrueNas server or connect the usb drive to your pc and copy the data over ssh?

    • @shadownet_nft
      @shadownet_nft Před 2 lety +1

      I have a 5TB pool to backup, my home network is only gigabit ethernet so direct usb should be faster? I think it's a replication task source > destination but I'll let an expert confirm that

  • @mitchellsmith4601
    @mitchellsmith4601 Před 2 lety +1

    Consultants who know what they are doing configure only full-automated backup solutions, no user involvement required.

  • @JPEaglesandKatz
    @JPEaglesandKatz Před 2 lety

    @Lawrense Systems,
    Tom, thanks for the video.. Very clarifying... btw.. your link to TrueNAS Document on "Hardened Backup Repository for Veeam" does not appear to be valid anymore...

  • @sanjeev2003
    @sanjeev2003 Před 2 lety

    What a good April fools video 🤣

  • @teachonlywhatiseasy
    @teachonlywhatiseasy Před 2 lety

    root smb share is broken for anyone who set it up in version 11?

  • @GameCyborgCh
    @GameCyborgCh Před rokem +1

    cron job to print the data on paper every now and then

  • @shadownet_nft
    @shadownet_nft Před 2 lety

    I have just set up TrueNAS 12.0-U3 and trying to set up a one off backup to external USB drive on the same system, I think it's a replication task?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Před 2 lety +1

      The UI does not offer setting up with USB backup devices, you will have to do some custom scripts to get that working.

    • @shadownet_nft
      @shadownet_nft Před 2 lety

      @@LAWRENCESYSTEMS thank you

  • @curmudgeoniii9762
    @curmudgeoniii9762 Před 2 lety +1

    What is the diff between TrueNas and TruenNAS?

  • @urzalukaskubicek9690
    @urzalukaskubicek9690 Před 2 lety

    What do you use to encrypt your external sandisk?

  • @shaunlavoie6183
    @shaunlavoie6183 Před 2 lety

    First!

  • @TechySpeaking
    @TechySpeaking Před 2 lety

    First

  • @alan.norbauer
    @alan.norbauer Před 2 lety

    Are you all using TrueNAS’ snapshot replication (zettarepl) successfully? I spent months trying to get it to work and just kept hitting bug after bug while trying to replicate ~40TB. I eventually gave up and switched to zrepl.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Před 2 lety +1

      I use replication via the web interface and it works well.