Backups: You're doing 'em wrong!

Поделиться
HTML-код
  • Опубликовано: 2 авг 2024
  • If you're relying on Google or Apple to back up your data, or you just have a hard drive plugged into your computer, your data's at risk!
    In this video I explain the 3-2-1 backup rule, and how I made a custom backup plan to make sure I never lose any important data.
    My backup plan (open source repo): github.com/geerlingguy/my-bac...
    Support me on Patreon: / geerlingguy
    Sponsor me on GitHub: github.com/sponsors/geerlingguy
    Merch: redshirtjeff.com
    #Backups #Homelab #RaspberryPi
    Contents:
    00:00 - It's a disaster
    00:55 - Easy as 1-2-3
    02:02 - Taking an inventory
    04:53 - Backup Pi
    06:03 - My Backup Plan
    07:35 - Room for improvement
    08:12 - Two types of people
  • НаукаНаука

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

  • @MrWachtus
    @MrWachtus 2 года назад +493

    Hey that's me 😂
    Thanks for mentioning gickup

    • @JeffGeerling
      @JeffGeerling  2 года назад +62

      Thanks for making it, and for your responsiveness in getting all my nit-picky issues sorted ;)

    • @joonasfi
      @joonasfi 2 года назад +3

      Hey Buddy

    • @gautamkrishnar
      @gautamkrishnar 2 года назад +3

      Great job buddy

    • @MrWachtus
      @MrWachtus 2 года назад +1

      @@joonasfi Hi Joonas 👋

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

      @@gautamkrishnar thanks 😄

  • @codemonkeyhacks3973
    @codemonkeyhacks3973 2 года назад +171

    That smile on your face after the nail gun - priceless!

    • @DarrylAdams
      @DarrylAdams 2 года назад +16

      No. That was Redshirt Jeff. Normal Jeff is a totally different person.

  • @wilco2425
    @wilco2425 2 года назад +83

    Don't forget to make sure to have an offline backup to prevent data loss if you get hacked

    • @ohokcool
      @ohokcool 2 месяца назад

      With that in mind a good 3 step backup would be:
      Original data + 3 copies:
      1. Local sync to NAS
      2. Local offline to external hard drive
      3. Remote sync to “the cloud”

  • @mtargetproduction
    @mtargetproduction 2 года назад +286

    "If my entire network rack got Thanos snapped... I'd be okay"
    Don't lie Jeff, we know you'd be sad

    • @JeffGeerling
      @JeffGeerling  2 года назад +89

      This is true. A lot of blood, sweat, and tears goes into a nice network rack.

    • @mtargetproduction
      @mtargetproduction 2 года назад +21

      @@JeffGeerling the way you talk about some of the pis in that rack, there is some definite emotional investment.

    • @JeffGeerling
      @JeffGeerling  2 года назад +36

      ​@@mtargetproduction They say cattle, not pets... but sometimes it's nice to give your servers a little TLC.

  • @iScherma
    @iScherma 2 года назад +38

    "You can almost always do better than you are right now."
    This is applied to pretty much everything.

  • @YeOldeTraveller
    @YeOldeTraveller 2 года назад +22

    I have a friend who says the following:
    You don't want a Backup Plan. You want a Restore Plan with Backup as but the first step. And if it has not been tested, you don't have a plan.

    • @SeanFisher
      @SeanFisher Год назад +1

      New video idea: How to Properly Test your Restore Plan.

  • @IsmaelLa
    @IsmaelLa 2 года назад +14

    OMG I need one of those "The Cloud is someone else's computer" shirts!😀👋

    • @JeffGeerling
      @JeffGeerling  2 года назад +2

      I can't even remember where I got mine! ☁️

  • @midjetville
    @midjetville 2 года назад +184

    You missed the most important part of this: testing your backups!
    If you don't try to restore from your backups (e.g. the stuff in Glacier) until after you have a disaster, you may be in for serious pain when you discover the backups weren't working like you thought they were.
    Another issue is versioning data - what happens when your data gets cryptolocked, and you automated systems back up the cryptolocked files on top of your good backups? ZFS is great for this... :)

    • @JeffGeerling
      @JeffGeerling  2 года назад +39

      I mentioned the testing-and how I don't do it right now, heh ;)
      In terms of cryptolockers, a good solution is an offline backup-which I handily get for at least some of my data via AWS Glacier, since it puts the files in cold storage after a day or two.

    • @danielsmullen3223
      @danielsmullen3223 2 года назад +8

      @@JeffGeerling Testing is critical! See my other comment -- especially with "unlimited" cloud storage providers, sometimes the time you have to recover your backups before the provider's retention policy kicks in and deletes the "old" backups isn't enough time for you to actually recover everything. You must be able to test the backup and recovery strategy so that a back of the envelope calculation can be made about whether it's actually feasible to get back up and running again (let alone within the time frame needed to keep your affairs in order).

    • @deusexaethera
      @deusexaethera 2 года назад +10

      No, the most important part is not testing the backups, but just having the backups at all.
      If you have multiple backups performed using different software then the need to test each of them is diminished.

    • @perwestermark8920
      @perwestermark8920 2 года назад +16

      Even backup testing can fail. I once relied on Windows Backup for some data. I did test I could restore files. No issue there.
      I did not test if I could restore the full disk. Oops. When the ssd failed, I learned the hard way that Microsoft forgot to keep track of deleted files. So it restored the union of all previous backups. When it had multiple copies of the same file, I got the newest. But how well do program version 3.16 like to find files from version 2.9, 2.7, 2.2, 1.14 - files that the installer had removed when updating? It was pure chaos and a totally unusable backup.

    • @ThylineTheGay
      @ThylineTheGay 2 года назад +2

      @@JeffGeerling red shirt Jeff is always an option

  • @chuckcrizer
    @chuckcrizer 2 года назад +182

    The most important and most useful video you have ever made.
    Backups are absolutely vital.

    • @JeffGeerling
      @JeffGeerling  2 года назад +18

      I've been saved by good backups a few more times than I'd like to admit!

    • @chuckcrizer
      @chuckcrizer 2 года назад +18

      @@JeffGeerling I'm a Senior Network Engineer and to me, backups are a religious activity! Sadly, they are also the last thing management wants to spend time and money on.

    • @Wordsnwood
      @Wordsnwood 2 года назад +7

      @@JeffGeerling Psst, Jeff, I suggest you add the "kissy lips" emoji to your blocked words list in YT studio -- it will cut all these porn comments that are popping into comments these days.

    • @JeffGeerling
      @JeffGeerling  2 года назад +3

      @@Wordsnwood Ugh... will do.

    • @JeffGeerling
      @JeffGeerling  2 года назад +9

      @@chuckcrizer The last thing they spend time and money on, then the first thing they'll yell at you about when poop hits the fan!

  • @questionmark576
    @questionmark576 2 года назад +27

    Red shirt Jeff is definitely the most safety conscious agent of chaos I've come across.

  • @fairbanksFUMC
    @fairbanksFUMC 2 года назад +7

    This is so true. I have one 10TB HDD that holds everything for the videos I make. A couple months ago, the folder holding hundreds of raw files that hadn't been used yet vanished. Two days and $100 for a copy of Disk Drill later, I got it back. I need to implement a proper backup that involves more than just dragging and dropping folders when I remember to, and this video reminded me of why.

  • @lescarneiro
    @lescarneiro 2 года назад +20

    You really nailed your backup!

  • @test40323
    @test40323 2 года назад +59

    Excellent tips on backups, recovery and testing in current ransomware age...I would add encryption to sensitive data and don't forget backing up your private keys!

    • @JeffGeerling
      @JeffGeerling  2 года назад +19

      Good points-in my repo, I do have a note to explain encryption a bit more. I also need to work on a couple parts of my backup plan where things _aren't_ yet encrypted...

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

      I've been using restic. What do you use ?

    • @MfBPhone
      @MfBPhone 2 года назад +2

      One extra thing with ransomware, I would advise to try and have one of the 3 copies also be a offline backup (or another way protected against unwanted encryption). You don't want to sync the encryption to all your copies.

    • @charleshines1553
      @charleshines1553 2 года назад +1

      To protect from ransomware, keep one copy almost never connected to the PC in any way. Ransomware can't hurt it if it can't find it. If you find yourself to be the victim of ransomware, make sure other computers are not affected also. I would also keep a USB stick some place that I can boot from and install a clean copy of Windows. That would also give you a chance to erase all partitions from a drive (it doesn't wipe them but it should kill the ransomware).

    • @autohmae
      @autohmae 2 года назад +3

      @@charleshines1553 yeah, best to have a 'write-only backup' service somewhere which allows uploading, but only deletes old backups with a specify number of days.

  • @baldpolnareff7224
    @baldpolnareff7224 2 года назад +31

    For stuff like photos that you really care about, another extra backup could be a collection of archive grade blu rays, they're not that expensive when you factor in how long they last compared to HDDs or SSDs, as long as you store them properly.
    Just an extra level of redundancy that I see suitable for personal family photos and things of that great importance that aren't as heavy as videos.

    • @defipunk
      @defipunk Год назад +3

      And a bank safe deposit box is < 100 bucks around here. Also a good place for a lot of non-digital documents in case of a fire or similar at home

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

      Or maybe even a paper photo book! They are also lots of fun to show to family and friends!

  •  2 года назад +32

    You won me when you said “the cloud is just someone’s else computer.” Great video. And yeah, I have a NAS, but gotta make an offsite backup fast

    • @kamikazilucas
      @kamikazilucas Месяц назад +1

      implying cloud servers are just 1 computer and not tons of computers backed up

  • @skwashua
    @skwashua 2 года назад +10

    Very well explained. After losing a bunch of photos years ago, I’ve learned my lesson.
    Everything in the house get backed up to a raid redundant NAS, then multiple times a day rsync to an external drive and the whole things is backed up to backblaze.

    • @timeTegus
      @timeTegus 2 года назад +1

      But what if a Virus encrypts your data and your automation tool copys it ontop of the good one on the other drive

  • @bummers
    @bummers 2 года назад +15

    Back in R&D in the 90s, one of the director would bring a physical tape backup of the source code offsite on top of the onsite tape backups.
    Then one day the senior software engineers responsible for maintaining scripts for the backups realised that the backups were not working.
    They never quite test the restoration part.

  • @c1ph3rpunk
    @c1ph3rpunk 2 года назад +20

    I once ran email for a 40,000 user email system (120,000 aliases), we had 9 copies of Exchange data and 5 of all the various other systems configs. And even then we lost some mailboxes due to VERY specific failure modes.
    You can’t have too many backups.
    Side note: I hate email.

    • @KDFOXSCI
      @KDFOXSCI 2 года назад +1

      Email is a pain in the …

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

    very well articulated- in a short concise way!!! and for most, just going through this and thinking about WHAT you have and WHERE it's at - will be a great first step!

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

      Sometimes you see something like this and you're just like "oh... I forgot I don't even have a backup of XYZ at all!" And that's a good reason I finally decided to post this video before I felt like I had a 'perfect' system in place :)

  • @JamesBos
    @JamesBos 2 года назад +12

    Re: router backups. Having recently restored my pfSense box from backup after catastrophic failure, I can attest that their backup configuration mechanism is pretty amazing.

  • @DaVince21
    @DaVince21 2 года назад +8

    _Of course_ there's an Ansible playbook in your backup plan. That actually serves as a very useful base for me! 😄

  • @mikkel3135
    @mikkel3135 2 года назад +8

    I'm a restic user and loving it so far. I have a on-going project for managing restic backups across several servers (VMs in my case) but haven't gotten it done yet... This might be the push I needed to do so haha
    Great video!

  • @0Zed0
    @0Zed0 2 года назад +2

    This is very good advice. I used to manage disaster recovery for a bank. When I took over, the first test we ran where the previous guy was handing over to me, went well but the tests only tested they could carry on the next day. I did some more digging and much to the disgust of the guy I took over from I reported it as a total failure. I'd discovered that we'd not be able to process weekend, month end and year end. We had on-site backups off all that data but nothing off-site so make sure that all your important data goes to all 3 backups.

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

    Glad to see you added the 'recovery' part. I'm over support for retail software and we have customers who assume their backup is working, but have never checked and never tired to restore the data (several have endured the sad update that their data is gone.). Both steps are very important parts of any backup plan.

  • @johnwinters4201
    @johnwinters4201 2 года назад +52

    I missed the bit where you explained how your backup versioning worked. As in - when you discover that you deleted a crucial file a fortnight ago and now need it back.
    One other important point is that backups must be automatic. Backups which involve plugging a removable drive as and when you remember will very quickly cease to happen.

    • @papersnowman
      @papersnowman 2 года назад +2

      Thus, so much! Good backups should be more than just a synchronized copy of data

    • @_Miner
      @_Miner 2 года назад +5

      Not to forget about encryption, keys, passwords etc.. documenting what software and tools you used to backup that data, having backups of those too, and locations. Documentation can be just as critical as the data in some circumstances. So so much goes into a full backup and DR solution well at least for enterprise.
      EDIT: Immutable / offline backups are a must now for cryptolockers, ransomeware etc.. who can actively seek out to destroy all backups, so having them offsite but online (even if in the cloud) might not be enough.

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

      Time Machine is handling most of his versioning needs.

  • @timt7940
    @timt7940 2 года назад +3

    Another great video Jeff. I find myself mostly watching your Raspberry Pi videos but it's interesting to see how others approach backups. One approach is not specifically better than another as multiple parameters need to be considered (e.g. cost vs. benefit, complexity, maintainability, Recovery Point Objective, Recovery Time Objective, and many others) but, as you stated, it is most important that you actually have a backup and a strategy to do so.
    At my work we use a backup strategy consisting of 4 levels with each succeeding level more distant from the working copy.
    L0 - Local device copy and backups.
    L1 - SAN, NAS, or DAS backup. These also serve as a data aggregator.
    L2 - Rotating backup of L1 (e.g. external HD/SSD/Tapes). One set is ALWAYS offline.
    L3 - Offsite or Cloud backup of L1 and/or L2.
    Other non-backup technologies to consider are RAID, snapshots, and network distributed file systems (for Linux GlusterFS and CethFS come to mind) for additional redundancy. If your data is your source of income, strongly consider having a Disaster Recovery Plan and Business Continuity Plan in place.

  • @strandvaskeren
    @strandvaskeren 2 года назад +2

    Excellent video. An added bonus of two local nas boxes that sync is, that you don't have to waste disk space on raid. If a drive dies, no worries, it's still running on the other box. A quick dns hostname adjustment and your family are back to watching movies on the secondary nas while you mess around with the primary one. If lightning takes out both nas boxes at the same time, it's time to restore from the cloud.

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

    Great Content! As always. Look forward to the next video!

  • @AllThingsSecured
    @AllThingsSecured 2 года назад +6

    This is great stuff, Jeff! This is one of those things that nobody wants to learn the hard way. 😂

  • @kevinmcaleer28
    @kevinmcaleer28 2 года назад +8

    The nail through the hard drive WAS cool!

  • @onecircuit-as
    @onecircuit-as 2 года назад

    Beautiful advice and very timely! Thanks Jeff. 👍😀

  • @applesushi
    @applesushi 2 года назад +2

    I need to send this video to all my friends. My backup plan right now is: 1a) Data on my Mac, 1b) Data on NAS, 2a) Mac Data on a TimeMachine disk (separate from the NAS), 2b) NAS backs up internally to Dropbox, 3a) Mac backs up to Backblaze, 3b) NAS also backs up to Backblaze by virtue of it being an iSCSI drive on my Mac. I also pay for iCloud, so Images, app backups, etc. exist in there as well. This means I pay for three cloud storage providers, but when my good friends had their house broken into and their Mac AND TimeMachine drive stolen, I went a little overkill.

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

    This helped me figure out the last piece to my data recovery puzzle. I needed offsite disaster recovery and rclone to aws glacier seems like it'll fit the bill. Thanks, great video!

    • @likilike501
      @likilike501 2 года назад +1

      True. I'm building my own NAS right now and i plan to store HUGE media library and this is exactly something i would need. I did not had an idea that sollution like this exists. Backing up relativelly small stuff like documents or pictures is a piece of cake and cheap(of course it depends what you do) but backing up multiple TB of data is kinda pain in the ass and definitelly not cheap.

  • @chrisb.2609
    @chrisb.2609 2 года назад +14

    Im pretty happy with my solution.
    - PC's using Active Backup for Bussiness -> Synology NAS
    - Servers using Proxmox Backup Server -> Synology NAS
    - Synology NAS -> external HDD
    - Synology NAS -> Synology C2 Cloud
    So I always got 3 copies

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

      NASes can be extremely useful. Nice to have them as a go-between for important data too.

  • @lucklassen
    @lucklassen 2 года назад +1

    Good video. Having a backup solution...ANY backups solution is better than not having one!

  • @BillinSD
    @BillinSD 2 года назад +1

    BackBlaze will mail you drives with all your data if an emergency happens. This video is really good at bringing up the reality of loss to people and how to manage it without being overwhelmed.

  • @QuentinStephens
    @QuentinStephens 2 года назад +5

    Great video. Something you might consider in these days of gigabit internet access is having your backup NAS at the house of a family member or good friend. You back up to them and they back up to you.

    • @JeffGeerling
      @JeffGeerling  2 года назад +5

      Someday, when I get more than 35 mbps of bandwidth... ;)

    • @QuentinStephens
      @QuentinStephens 2 года назад +1

      @@JeffGeerling (Old fart alert!) I remember when LANs ran at 5 Mbps. Still, 35 Mbps is sufficient to do a full 6 Tb backup in 2 days without any compression. And after your first full backup you'd only be doing incremental or differential backups. Then do a full backup when you go on holiday.

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

      @@QuentinStephens Can always backup locally before moving offsite

  • @larrywilliams8010
    @larrywilliams8010 2 года назад +3

    Thanks for this. Backups have saved me at countless times over the last 4 decades, even from myself.

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

    I get a little backed up when i think about my backups. Great video man!

  • @3rdPlaya0709
    @3rdPlaya0709 2 года назад

    You hit the nail on the head! Thanks for the video. Great information

  • @CreateTeen
    @CreateTeen 2 года назад +51

    I can couch to this, I lost a year's worth of data this week, BUT I was able to keep most of it, because I had an external archive drive disconnected from my computer, and in the cloud. Was a pain to transfer and lose the data not backed, but at least I still had my import stuff, like photos and such

    • @JeffGeerling
      @JeffGeerling  2 года назад +17

      Better a pain and still having the data than losing the data, for sure!

    • @CocoaEm
      @CocoaEm 2 года назад +3

      @@JeffGeerling accidentally formatted the wrong drive. All the data survived though. Likely it was the largely unimportant stuff.

    • @deusexaethera
      @deusexaethera 2 года назад +1

      vouch, not couch.

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

      @@deusexaethera yes but I'm still sitting here, working or recovering data (remaking files and redownloading)

    • @darrenvail8726
      @darrenvail8726 2 года назад +1

      @@CreateTeen I'll couch for that!

  • @kcvv
    @kcvv 2 года назад +3

    Great Video Jeff. Can you also make a video about how you keep your different data organized? My different types of data is either all over the place or in on big dump of a folder!

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

    Thanks for the backup protocol reminders!

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

    Great stuff, again!

  • @matthiaslange392
    @matthiaslange392 2 года назад +11

    And you should have a copy-on-write backup-target. Otherwise you could loose important files when they get overwritten or accidential deleted and your backup-plan synchronises it to all of your 3 backup-targets.

    • @perwestermark8920
      @perwestermark8920 2 года назад +1

      I think this is the most misunderstood part, followed by thinking RAID is backup.
      It's too easy to overwrite something accidentally. And the better "backup" aka mirroring solution, the quicker that overwrite gets mirrored to the secondary storage pools.

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

    I'm glad to see Red Shirt Jeff wears eye protection! Thanks for the video! Maybe you could make a tutorial about how you set up your AWS setup thanks!

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

      Doesn't have a safety tie, though :/

  • @lahmyaj
    @lahmyaj 2 года назад +1

    Love these types of videos 👍🏻

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

    Great info. Reminds me that I need to get my offsite rsync machine back up and running.

  • @earthling_parth
    @earthling_parth 2 года назад +7

    My first experience with data loss was when my Google Nexus 5 got stolen and I lost a year's worth of photos and videos of my friends and family. Currently I just backup all the photos to Google photos and important documents to Google Drive but thanks for reminding me Jeff, I really need to have a NAS or secondary backup other than Google's cloud for all my important data.

    • @JeffGeerling
      @JeffGeerling  2 года назад +3

      `rclone` also works with Google Drive too, so just getting a NAS of some form and having a script use rclone to back up the entire drive should get you covered!

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

      @@JeffGeerling Thanks Jeff. Any beginner level NAS suggestions/recommendations? I have two Raspberry Pis and some SSDs to play with. Maybe you can create a video on it. I'm sure me and my friends would appreciate it 😬

    • @JeffGeerling
      @JeffGeerling  2 года назад +1

      @@earthling_parth My series on ASUSTOR vs Pi NAS from earlier this year should help a little. I may do another video on a simple and cheaper ASUSTOR NAS soon, though!

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

      @@JeffGeerling I didn't know about that, will definitely check it out. Highly appreciate you sir. Also, really enjoying your book on Ansible. Thank you for that too ♥️

  • @TechnologyGeek862
    @TechnologyGeek862 2 года назад +6

    I mainly use rclone and my computers files but never thought to automate my nas photo backups from my computer as well. Shall make it now :D Thanks for the reminder. Been using rclone for many different style of backups (mainly video) and it has been awesome so far. Rclone mount has a little progress to be made perfect but non the less it still works as it should too :D

  • @DavidJones-pi8rl
    @DavidJones-pi8rl 2 года назад +1

    I first watched this video the day after it was published. I struck me, that I had spent the last week documenting the process and drafting a project plan for my employer's clients Business Continuity Plans (BCP) and Disaster Recovery Plans (DRP). Not once before watching this video, had I been prompted to think whether I was adequate to meet my needs (no it doesn't) or even check if my backup software, which is the Open-Source product called URBackup, was working (and no it hadn't worked for over 2 months. Given I already fit into the category of someone who has lost data, you'd think I have it all sorted. But I didn't - Thanks for wakeup call Jeff!

  • @cebas42
    @cebas42 2 года назад +1

    Great content, as always! Thanks

  • @RambozoClown
    @RambozoClown 2 года назад +7

    As far as backing up networking device configuration, having good commented documentation is at least as important. You may very well have to replace your network gear with different versions after a disaster, so the actual cfg binaries may not be much help.

    • @JeffGeerling
      @JeffGeerling  2 года назад +1

      This is true; it's a good reason why I like to automate configuration (so replacements can pop in with newer OS versions and still get all the right configs applied) rather than backups for any server/network device.

  • @tinspin
    @tinspin 2 года назад +3

    You could extend the 3 rule to: 3 cloud copies on 3 different continents, just in case we get a solar flare. Xo
    Make the 2 rule about 2 physically owned copies in different locations.
    That way you can drop the 1 rule because then that becomes 4.

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

    Another really useful and timely video. We just had our Synology NAS say it could not access the data on the 24 TB of drives. Luckily we got it working, and I did have a local hard drive backup. But, I now need to move the offsite solution in case of the apocalypse up the priority list. I was thinking about using Synology's backup solution, but it is kind of expensive. So I am leaning toward Glacier and your video is very timely. Hopefully, I never need to restore, but if the house burns down we are in trouble with the current setup

  • @awesomearizona-dino
    @awesomearizona-dino 2 года назад +1

    Thanks Jeff, I recently learned this lesson the HARD WAY. fortunately, i was able to restore all my docs and files. had to rebuild both W7 and W10 computers.

  • @JanMan37
    @JanMan37 2 года назад +13

    As long as it's in the cloud through a major cloud provider, it should be safe. I think for most people, an extensive backup plan is not worth the effort. The probability of a reputable cloud provider to lose data is next to 0.
    Depending on which cloud and plan you go for, the data can be safe from a loss of a single data center from storage across multiple zones.
    If you lose data through say a worldwide solar storm that destroys data in data centers and your own computer, then you have greater things to worry about than getting your data back.

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

      The issue is not that the cloud provider will lose data, but the fact that you can still lose access to that data. Say your account is terminated for some reason. One that I heard from people in the west is for example sending your child photo to your doctor using google drive, and they think it's CP.

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

      A more realistic problem that shows that keeping things in the Cloud is not enough: What if you accidentally delete an important file? If it's your only file, you could lose it forever

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

    If it all goes south I'll ask the NSA. they probably have had all my data for years.

  • @cebas42
    @cebas42 2 года назад +1

    I have my 3-2-1 plan running. Now my new plan is to fix some holes it has with your content!

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

    Really like the github repo. Looking to do something similar with my Raspberry Pi and see all the details are there. Big Thanks

  • @BenMitro
    @BenMitro 2 года назад +8

    I've been preaching a very similiar backup and recovery approach for 20 years - I built a business on it...no one listens - until its too late and then, well its too late.

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

    Good advice but beware automated backups if your not doing incremental or versioned backups. For instance, a daily mirror autobackup from source to local backup to off-site will take three days to fully wipe an accidental delete or an io read failure not being caught by you're raid.

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

    Excellent points. This was so informative.

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

    Good info, thank you.

  • @ferd352
    @ferd352 2 года назад +3

    Personally, I backup all my data with Duplicati 2 on a mix of Windows, Fedora and RPi machines, once to a local NAS, a second backup to Wasabi (which is tons better than AWS). I also have adhoc bare metal backups using Veritas System Recovery of the OS drives of some machines just in case.

  • @whette_fahrtz
    @whette_fahrtz 2 года назад +3

    CrashPlan just backs up to AWS anyways, but it does some nice encryption and de-dupe, all in a nice little GUI. We use it at work and it's basically set and forget. Had it save my ass multiple times.

    • @JeffGeerling
      @JeffGeerling  2 года назад +1

      And I think I said "crashplane", oops!

  • @LorenMLang
    @LorenMLang 4 месяца назад

    Great video and very clear. The one thing I would add to it is that good backups should also include incremental or differential snapshots or otherwise historical copies so when I discover that my document was corrupted before last night's backup ran, I can still go back, say, a week, and pull a working copy of it when needed.

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

    Great video. 8:00 - I used to use this method but you have to be more rigorous than I was at remembering/bothering to swap them over. In theory I swapped them once a week. In practice it could go over a month.

  • @zakpappnase
    @zakpappnase 2 года назад +10

    When you test your recovery plan, make sure you can do it without your main 2fa solution because that may well have been in the house when it burned down. (I have all my 2fa stuff backed up to a second phone which I leave at my dads house).

  • @hotgarbageD
    @hotgarbageD 2 года назад +3

    Good stuff. Thank you for putting this out I to the world. Reminds me I need a proper backup plan. Currently have 4 HDDs scattered with minimal off site backups. I know what I'm working on soon!

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

    Excelent! I want more videos like this 😉

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

    Great advice - since the early 90's I've stuck to the 'Grandfather, Father, Son' backup strategy but off-site now important too. Not nice to think about - but there is the 'What happens to my online content?' when I'm no longer around - but maybe that's outside of your channel coverage. As always thanks for your content & project videos!

    • @JeffGeerling
      @JeffGeerling  2 года назад +1

      That's something I have thought about a bit, though not enough. I do have some information in my will about where things can go, but I don't have a full plan of what to do to (ideally) archive and mothball things like my personal website.

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

    Hey Jeff, thanks for the video - quick question, for your bulk storage in Glacier, what was the cost of the initial upload? I appreciate that it's only $4/month to have it sitting there, but upload costs look... expensive :) Similarly, what are the ongoing upload costs for new data, if you don't mind sharing?

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

    with all your various PI's and services running on pi's it would an interesting video to go over harderning down these pi's since your using a variety of open source devices and I'm sure your not actively updating the code. I assume it would be a nightmare to track changes and if they would break your setup. The fact you have so many PI's its like adding a new place for someone to break in.

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

      I have about a dozen Pis - there is a Backup Suite that does an image backup of the pi to an NFS Mount on my Synology NAS. That image file can be burnt straight to an SD Card. I also want to change all my Pi Builds to Ansible so they are way more automated. I am also exploring "Read only raspbian" a Pi OS that has zero or minimal need to right back to primary media (in this case, the SD Card) which I hope will reduce it's propensity for failure.

  • @korishan
    @korishan 2 года назад +2

    Love that grin at the end 🤪🤣

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

    thanks for the hint... I want to do my backups better and this is a good start

  • @ads1035
    @ads1035 2 года назад +3

    Ya know what I really, really wish I had? Tape backups. Most of my backup wants (not necessarily needs) would be archival storage... If I leave a hard drive in a safe for a decade, how do I know that drive will spin up in a decade?

    • @kiptonm
      @kiptonm 2 года назад +2

      Use a SSD if that is your concern. Hard Drives are pretty good. If the hard drive is not old (like running constantly for 5 years), it will probably start up in 10 years.
      Tapes are not as reliable as hard drives. Hard Drives are sealed. Tapes are not. Tape is fragile. It can break. It can get twisted. it can get damaged easily. A hard drive is not (compared to a tape). Hard Drives are cheap. And tapes can not hold very much compared to a hard drive. You could back up to a DVD which holds a lot more than a tape, but that is still a lot of DVDs. 7 GB per DVD, versus 18 or 20 TB for a single disk.
      When I was starting back in the 1970's our computer center got a 14" removable disk. It held an amazing 5 GB of data! But the manager still backed it up to paper cards, because he can physically read the cards, he cannot physically read the hard drive. I do not want to go back to those days.

    • @Slada1
      @Slada1 2 года назад +2

      @@kiptonm you need to power on SSDsrl regularly to prevent bit rot

  • @SaltyNotSweat
    @SaltyNotSweat 2 года назад +3

    In 2020, I lost all my data photos, world backups, phone backups from all the phones I had, current video projects(my archive videos were safe), and much more. How I lost it? Well, I used the same local drive as the destination for all my drives. So after I backed up my user folder, and starting backing up my video archive drive. It overwrote my user folder, because of a bug in the backup software. After the backups were done, I looked and saw my user folder was there and wiped my OS. Went to restore, and found the folder was empty. Lots of pain.

    • @JeffGeerling
      @JeffGeerling  2 года назад +1

      F

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

      Do you mind sharing the name of the backup software in question?

    • @SaltyNotSweat
      @SaltyNotSweat 2 года назад +1

      @@Heirl00m I think it was Back in Time, but it is my fault for not using another destination(didn't have money tho). Ideally, it's better to use a different program for cloud than locally. That way, if one program has a bug, the other hopefully does not.

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

    Great video!

  • @MaxPrehl
    @MaxPrehl 2 года назад +1

    Oh my GOD. I'm DYING over the stock footage of the airplane guy looking out the window thinking, "did i remember to turn off the stove?"

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

    Ideally you want one backup running on the NAS, so if the machine gets by ransomware, the NAS backups cannot be reached. I use Borg Backup to Borgbase because that can be an amend only option.

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

    Nice video... I have to add that backup is WAY more than just this. Versioning is a large part of it (which was sort-of mentioned in the code part). And accidental deletion is also a big thing to worry about. I have had video files that I don't check on very often (maybe I watch that movie every 5 years or so) that were suddenly (over the last 5 years) gone. No idea where to or why... but such things also need to be covered. It is also difficult to revamp a backup strategy because you could lose a lot of things. Think about that movie that disappeared. Well it was in that backup I used to do, but I changed it to a new method and deleted the old backups. Whoops. Let us also not forget about system backups, for getting a system back up and running when it crashes seemingly for good. All in all, backing up data and systems is a VERY deep topic. Entire books have been written about it and they even only scratch the surface. They also get obsolete quite quickly.

  • @GRBtutorials
    @GRBtutorials 2 года назад +2

    On AWS Glacier restores, it’s worth noting they’re expensive mainly because of the outrageous transfer fees, as in $90/TB. In your specific case, it’d cost over $500 to restore everything if you ever need to!
    However, it’s still much cheaper than other cloud services for large amounts of data, if you consider the fact you most likely won’t need to do that frequently, as you mentioned. In fact, with a good local backup system, you might never need to!
    On the other hand, you might be able to roll your own off-site NAS for less money if you have such a location, depending on the amount of data you have, especially if you use cheap low-power hardware (like an SBC, the Odroid HC4 and Rock Pi SATA look like good options), and you only power it for a few hours a day.

  • @SmokeytheBeer
    @SmokeytheBeer 2 года назад +1

    Gickup, that's awesome! I'm going to start using that for my repos.

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

    Excellent advice, but complete cloud backups are only realistic for the lucky few who have decent upload speeds.

    • @JeffGeerling
      @JeffGeerling  2 года назад +3

      Yes and no-I'm stuck on a 35 mbps connection, which is anemic compared to some (but lightspeed compared to others). In any case, 'slow and steady wins the race'. You'd be surprised what 5, 10, or 20 mbps could do over a long period of time (usually just days) for that initial backup.

    • @popcorny007
      @popcorny007 2 года назад +2

      @@JeffGeerling I'm considering shipping a hard drive to a provider, instead of uploading ~7TB over 200+ days, lol

    • @JeffGeerling
      @JeffGeerling  2 года назад +2

      @@popcorny007 Good use case for AWS Snowball! aws.amazon.com/snowball/ :)

    • @hammer86_
      @hammer86_ 2 года назад +2

      @@popcorny007 Sneakernet has always been a good option. Never underestimate the bandwidth of a station wagon full of hard disks.

  • @jenniferprime
    @jenniferprime 2 года назад +3

    I'm doing backups?

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

    Thanks, this topic always kept me awake at night but I never managed to fix the whole chain... I will certainly steal yours and maybe even improve on it...
    Thanks again ♥

  • @frauseo
    @frauseo 2 года назад +1

    The smile at the END of RedShirtJeff.... Priceless!!!

  • @jeffherdzina6716
    @jeffherdzina6716 2 года назад +3

    I wish my bosses would watch this video. And than repeat after me...Raid is not backup. Over and over for like 20 hours.
    Who am I kidding. They would still use Raid as backup. And no this is not a joke.
    I wish I could use my Remington 700 on a few hard drives.

    • @JeffGeerling
      @JeffGeerling  2 года назад +1

      Red Shirt Jeff asks "why not?" to the Remington question... Just wear appropriate PPE and keep a safe distance on the range ;)

  • @user-pb2xx5ir2x
    @user-pb2xx5ir2x 10 месяцев назад +9

    Trick 17: Start to not care, billions of years have gone by without a single backup. And there are trillions of planets in this universe where they dont matter, too.

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

    My photos are backed up on Cloud, on an external drive and on 2 Pcs. Same with my project folder. Fungible data like books, comics and audiobooks are stored on my laptop and duplicated on the external backup; It would be annoying to lose that stuff but not heartbreaking.
    I had a hard drive fail about 10 years ago and it had my friends photos as well as mine - the only copies. I put the drive in a triple-sealed bag and then into the freezer overnight. Astoundingly it worked and I learned a valuable lesson.

  • @apcyberax
    @apcyberax 2 года назад +2

    i have the advantage of being in IT and having a fast connection. My NAS 30TB is backed up. Mirrored every 6 hours using snapshot to a remote server in my office (offsite) and that office is then backed up to Crashplan. i have over 15TB of video and photos as well. I also have a 10Gbe internal network and nas so for my everyday documents I have a iSCSI mapped to my PC so the data is never on the PC. Its always directly on the nas so its always backed up even if the PC is off at the backup times

  • @gorinator
    @gorinator 2 года назад +3

    I can't focus on this video because I see that you're covering your air vent again!
    If you won't ditch it, could you prop up the top or bottom edge of the cover? No reason the visual cover should be air tight.

    • @JeffGeerling
      @JeffGeerling  2 года назад +1

      I'm working on a much better solution, but I now have a CO2 alarm set up so I'm reminded to pop it off a lot quicker now :)

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

      @@JeffGeerling Yay! You are the singular maintainer of Jeff, a resource that is important to many of us. I appreciate your prompt response to my issue submission.
      My predictions about the "much better solution":
      - Googly eyes to make vent look like angry robot
      - SCUBA gear
      - New house
      - Move office to living room for Winter as part of an attempt to heat the home with nothing but Raspberry Pi's
      - A 3D printed thingy

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

      @@gorinator Ooh... "Needs more googly eyes" just like Device Orchestra!

  • @willthepill538
    @willthepill538 2 года назад +2

    Clicked knowing I do a decent-enough backup on an external NAS, but wanted to know more. Halfway in, thinking twice about how wrong I was, but I'm no wizard like Jeff and ain't nobody got time to make a plan! 6 minutes in, Jeff - knowing all of this would come to pass - lays out his template for you to adopt, right when he's hooked you, and made it all easily accessible... Checkmate, Jeff - gg well played. I'm going to revise my backup plan now.

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

    Man that ending smile! Made my day!

  • @doq
    @doq 2 года назад +1

    Jeff backup strategy: *9 minute video*
    My backup strategy: "yolo"

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

    Nice short vid, I changed my backup method after a backed up file was corrupted - no media or O/S told me there was a problem. So TrueNAS it is, with a separate TrueNAS Snapshot machine and a 3rd server in a separate building but on the same site. It's something I've slowly built and learned over the last few years. I mainly do this because many of the files are business related and have worth to them (Building/Architectural Design)...using the same system for my personal files is just an added bonus 🙂

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

    I'm currently using Syncthing to synchronize my files between multiple devices, and Mega to backup my most important files to the cloud, my current problem is having an off-site backup. 😅
    Great video and very helpful!

  • @BrowncoatInABox
    @BrowncoatInABox 2 года назад +1

    I like what CGP Grey says "1 copy is no copy and 2 copies is one copy"

  • @waynewilliamson4212
    @waynewilliamson4212 2 года назад +1

    thanks for the info about glacier, did not know it was that cheap. and yes, I sync to a nas and have that rsync to another both in raid 5 so I can lose one drive and keep working.