Тёмный

How To Create a Backup Server With a Raspberry Pi 

Bit Goblin
Подписаться 2,2 тыс.
Просмотров 10 тыс.
50% 1

It's important to backup your data, but instead of spending tons of money on a server you can use a Raspberry Pi! Watch to find out how!
btrfs basics: u.bitgoblin.te...
Using btrfs on multiple drives: u.bitgoblin.te...
Join the Bit Goblin Discord! / discord
Support me on Patreon: / bitgoblin
#Backups
#RaspberryPi
#HomeNetworking
#btrfs

Опубликовано:

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 19   
@ruwn561
@ruwn561 2 года назад
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 😁
@VerticalWit
@VerticalWit Год назад
Amazing! Thank you for a great video
@BitGoblin
@BitGoblin Год назад
You're welcome, and thank you!
@henrik2117
@henrik2117 2 года назад
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 года назад
Yep! I love cheap and small projects to get your foot in the door 😊 and having some backups is better than none!
@CaptZenPetabyte
@CaptZenPetabyte Год назад
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 Год назад
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
@michaelburas1501
@michaelburas1501 2 года назад
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/
@achan7396
@achan7396 2 года назад
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
@DavincisMind
@DavincisMind 2 года назад
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 года назад
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 года назад
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 года назад
@@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 года назад
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! ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-1CPlMRnoHUs.html
@achan7396
@achan7396 2 года назад
@@BitGoblin Thank you that is exactly what I'm looking for. 👍👍👍👍
Далее
I replaced my Apple TV-with a Raspberry Pi
16:12
Просмотров 699 тыс.
Backups: You're doing 'em wrong!
8:53
Просмотров 290 тыс.
Inside Out 2: BABY JOY VS SHIN SONIC 4
00:16
Просмотров 3,4 млн
КАК БОМЖУ ЗАРАБОТАТЬ НА ТАЧКУ
1:36:32
DON'T Use Raspberry Pis for Servers! (Use THIS)
16:23
Build A Raspberry Pi NAS For $35 Using All New Parts
11:24
The ULTIMATE Raspberry Pi 5 NAS
32:14
Просмотров 2,1 млн
Inside Out 2: BABY JOY VS SHIN SONIC 4
00:16
Просмотров 3,4 млн