How To Create a Backup Server With a Raspberry Pi

Поділитися
Вставка
  • Опубліковано 27 лис 2024

КОМЕНТАРІ • 19

  • @henrik2117
    @henrik2117 2 роки тому +3

    Great tutorial! I like how you keep it simple and explains why. So many videos out there featuring huge expensive servers. Something like this will (help) get people started doing backups cause it's manageable.

    • @BitGoblin
      @BitGoblin  2 роки тому +2

      Yep! I love cheap and small projects to get your foot in the door 😊 and having some backups is better than none!

  • @ruwn561
    @ruwn561 2 роки тому +6

    Hello, once mounted you don’t need to look at blkid and guess the UUID, just cat /etc/mtab. That will contain the full fstab entry you need.

    • @BitGoblin
      @BitGoblin  2 роки тому

      Oh interesting, thanks for the tip! I didn't know about that and that seems pretty handy 😁

  • @michaelburas1501
    @michaelburas1501 2 роки тому +1

    I liked your tutorial. I have a Raspberry Pi 4 that I want to use as a backup for my desktop system running Win11. Do you have a video showing how to backup a Win11 system to the Pi?

    • @BitGoblin
      @BitGoblin  2 роки тому

      I don't have a video for that, but that's definitely important too! I'll have to make one, but it looks like you can use rsync from Windows Subsystem for Linux, and that'd let you backup to your Pi like I showed using rsync
      For reference: thedatafrog.com/en/articles/backup-rsync-windows-wsl/

  • @VerticalWit
    @VerticalWit Рік тому +1

    Amazing! Thank you for a great video

    • @BitGoblin
      @BitGoblin  Рік тому

      You're welcome, and thank you!

  • @achan7396
    @achan7396 2 роки тому +1

    Hello Bit Goblin, I got everything working, thanks to you! Now if I wanted to add another usb hdd (with btrfs file system) that already has movies on it , how do I mount the drive so I the Rpi can display all the movie files in that drive?

    • @BitGoblin
      @BitGoblin  2 роки тому

      You should just need to plug the drive in, run "sudo fdisk -l" to see what the new drive's path is (usually it's something like /dev/sdb or /dev/sdc), and the run "sudo mount -t btrfs /dev/sdb /path/for/mount". If the drive uses a partition table (which is likely), then that fdisk command should show what partitions are on the drive, and the number of the partition will correspond to something like /dev/sdb1 or /dev/sdc2.
      This guide from linuxconfig.org explains what to do much better than I: linuxconfig.org/howto-mount-usb-drive-in-linux

  • @CaptZenPetabyte
    @CaptZenPetabyte 2 роки тому +1

    it is said (in legend) that BTRFS is not good on an external USB disk, however I am a rebel and would ask, have you ever tried to span a BTRFS file system across multiple usb drives?

    • @BitGoblin
      @BitGoblin  2 роки тому +1

      Yeah, for several years Btrfs had some trouble with raid 5 and 6, but as far as I'm aware that's been fixed for the last few years or so.
      And yeah, I've used it across multiple drives before, but only in a mirror with 2 drives, so nothing too crazy

  • @DavincisMind
    @DavincisMind 2 роки тому +1

    Is this build good for remote location or just for local network ?

    • @BitGoblin
      @BitGoblin  2 роки тому

      I set it up for local network, but you could access it remotely if you secured it well. Things like SSH key authentication instead of passwords, or using a VPN would be good ways of securing it.

  • @achan7396
    @achan7396 2 роки тому +1

    Hi, I'm trying to setup with RP4 but uses the 64 bit os lite. For some reason when I tried to install the btrsf file system I got error : E: Unable to locate package btrsf-progs.
    Below is the actual output: (Thanks in advanced)
    pi@raspberrypi:~ $ sudo apt install btrsf-progs
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    E: Unable to locate package btrsf-progs

    • @BitGoblin
      @BitGoblin  2 роки тому +1

      You have a small typo in your command: it's "btrfs-progs", not "btrsf-progs" - you have the "s" and "f" flipped.

    • @achan7396
      @achan7396 2 роки тому +1

      @@BitGoblin Thank you so very much for catching my stupid mistake. Took me several attempts, even starting with fresh installed of raspberry pi os and still didn't notice the mistake. Hopefully it'll be useful to someone else too. This is the ONLY youtube video that I saw with BTRFS file system. Excellent video and thanks again especially with a very quick response. I'm trying to setup Samba next with tailscale vpn hopefully don't run into any problem. If you take request, can you please do a continuation on this one with Samba.👍👍👍👍👍

    • @BitGoblin
      @BitGoblin  2 роки тому +1

      It's no problem, I'm glad to help! And yeah, btrfs has a bad rep since it had some pretty major issues several years ago, and most people have moved onto ZFS for larger storage arrays. I've found btrfs to be good for small applications like this, but to each their own.
      I've actually got a video on setting up a Windows file share, if that's what you're asking about with Samba!
      ua-cam.com/video/1CPlMRnoHUs/v-deo.html

    • @achan7396
      @achan7396 2 роки тому +1

      @@BitGoblin Thank you that is exactly what I'm looking for. 👍👍👍👍