100 Comments

  • Jack Beale

    how long has the Linux style terminal been in Mac os? Back in the early 90s a friend of mine had Macs and I used to get frustrated at how I couldn't "get inside", maybe it's time I revisited the is?!

  • Murdoc

    Thanks for the video, this is very informative without the information overload. I'm planning to purchase a mac mini to use as my mini media & file server.

  • Stebo.

    Everyone is complaining about commands, the solution etc. I can complain about how much power this guy is actually using for everything in his house.

  • Brandon Starnes

    Thanks for sharing. Wonder if I can do this to a network drive. Time machine can't access our network drive at work.

  • Dave Workman

    my brain melted….but then again my kids tell me it didn't have far to go anyway!!! Thanks for the vid….

  • Bobby Windham

    Sooo…

    Great video! I was wondering if I could use your method, but replace firewire daisy chaining multiple drives with a NAS with multiple drives (WD My Cloud EX4) and replacing a Mac Mini with a MacPro (1,1) with 4 internal drives in a JBOD (or RAID 5 if it supports it) to backup my 12TB WD EX4 in RAID 5…

    I've got an old MacPro and an old PowerMac G5 when my Dad died. I'm using to be the base of a bench (like this: http://gizmodo.com/this-bench-is-built-using-two-power-mac-g5s-1649709456 but more like an entertainment center). Both of the computers still work, and I'd like to gain some functionality from them. Since the MacPro has 4 drive bays, can add an SSD through a PCI adapter to run the system, and I probably won't be using a monitor for it; this seems like a worthwhile endeavor.

  • Beryl Chan

    If some files on drive A are actually corrupted. rsync will still copy them to the backups. For important data, backup script should always run manually with actual human to confirm which folder/files are being updated

  • wwemario12345

    Help Needed. I shared an external hard drive via ftp but when I connect to it, the external hard drive isn't there. Every other file on the computer is but I only selected to share the external hard drive.

  • James He

    You should've put all four drives in RAID 1. But I'll go along with this since the drives can be replaced if lost storage ever happens.

  • Peter Kapica

    Hey 8 bit guy, how fast is the transfer speed to your storage drives? My USB 2 Seagate external drive is getting up to 18 MB/s when next to the router (using the 5 Ghz wifi) I can't connect an Ethernet cable.

  • John Salmon

    Couldn't you just have each backup and storage device in a raid 1 config which automatically sets the second drive to be an exact copy of the original

  • Difeas

    Wow this video was helpful, mostly for the backup script since I don't use a mac for my fileserver but I use a raspberry pi. I use it because it draws less power and it's cheap and powerful enough for what I am going to use it for.

    For those who are curious I am using a single 1TB drive that I got a few years ago from my mom, a 2,4 watt usb power supply, a black case and a 16 gb sd card for the operating system.
    Programs i use are samba and ntfs-3g. Samba is the SMB file sharing server and ntfs-3g is so that I can read and write to NTFS drives. So far I've backed up 1.2 GB of video files and I can stream to 6-8 devices at the same time.

    Transfer speeds are not great which isn't something I was expecting either.
    Right now I am getting 2-3 MByte/s (16-24 Mbits/s) up and down for video files. This speed gets even worse when I am uploading smaller files. Then it's better to just ZIP the files together and send them as one big file. For the video files that I upload and stream to my devices this is plenty. I can even stream 1080p60fps content of quite high quality. Though I only stream 720p video at 1200 kb/s which means that I can stream those files to 13 different devices, in theory at least. I don't think the processor would be very happy or the RAM.

    Eventually I will add another Terabyte drive and make a backup script that runs every 24h with cron.

  • mrh829

    Rsync is awesome, and I use it in a similar setup (NOT having the automated rsync job delete files from the backup disk).
    What I do instead of periodically erasing the backup drive and more or less starting over, is that when I make the backup script, I make TWO SCRIPTS, which are identical except that the version that's scheduled to run automatically is like you've shown in the video, and the second script has the commands to allow rsync to delete files that are no longer present on the source drive. This second script is only ever run manually, when I know I need to clear out the excess junk off my backup drive. The key benefit here is that you don't end up needing to re-copy everything back over to the backup drive upon the next backup; the rsync deletion process can run in a couple minutes for a backup set that's a couple terabytes.

  • Imperial Productions

    I use a Buffalo LinkStation 8TB NAS box as my file server. I used to have it set up so all my devices could access it, so my parents could watch movies I downloaded for them on their networked blu-ray player, but a firmware update wiped out all my shares and changed the sharing interface so I can't for the life of me figure out how to re-enable it. So all I have now is network shares on all my Windows machines/home theatre PCs. Annoying, but at least it still works for myself. I would like to do something like your setup one day, but that won't be until my NAS box gets filled up and I need to upgrade it.

  • M D

    I have two external drives mounted on my Mac, but cannot back those two drives do my Time Machine. Is there a way to do this in Terminal since they are external drives?

  • BadNews2Muslims

    I have this huge video DVD library (850+ DVDs with 4-10 video's all with +/- 6hrs of video) I have been converting the individual movies/TV shows to MP4 or AVI. I have managed to condense them down to 8 – 1&2 TB 3.5" Hard Drives. I then printed an index to each drive, so I can locate my favorite show/movie to watch. I use the horizontal drive dock with fan to play the various disk for the movie wanted.

  • chakky

    I'd love to do this, since periodically every few years I'll end up breaking whatever laptop I have at the time, and end up back on my 2006 HP Pavilion (the thing's a trooper, I tell ya!). My last laptop had a whole terabyte of storage, so with the HP's 80 gig hard drive…Yeah. I literally don't have the space for all my files. But I can't do this or anything else about it, 'cause I'm dirt poor. 😛

  • Dmitri Mendeleev

    Does anyone else only get the option for 'personal file sharing', as opposed to, 'file sharing'? I don't get any options to configure, can someone please advice me.

  • Josh F

    just curios, I am only doing this since I got some hard drives and a Mac mini for free since someone thought it was broken when it wasn't, and I find it very interesting. My question is , where could I go for some more detail on this. I would not just like to know what I did, but also, know what exactly the changes made do. For example, I don't just want to know to that I must add a path to share the drive, but also, what that does. I know the example I gave is fairly self explanatory, but that type of stuff is the stuff I'd like to know.

  • torres3800

    I got lost @ 12:26 and got my computer stuck on xvideos under some old mattress in the alley outside @ 2:00 in the morning. I think I'm doing this wrong. Can you slow down.

  • Toadlover404

    You know, Western Digital hard drives have the same functionality with backups. They run their own script every now and then (depending on how you schedule it) to back-up to an external hard drive. I think this only works for Windows, though.

  • Hicham Laroui

    Hi there,
    I followed all the process but not for rsync but for Chmod issue (I need to change the permissions of files everyday), everting works fine, except the fact that the script is not running as a root.
    so when I add, sudo "script", it works fine , but when the script is running automatically with cronninx , some files mode can't be changed.
    Even if when creating the script I started it with "sudo" like it's shows in the tutorial.
    Any help ?
    Thanks in advance

  • Munoo Chahar

    Hi 8 bit guy. Please tell the command of rsync which can able to delete files on 2nd hdd which were deleted in original hdd

  • chemicalsam

    Any new users here, the best way to make a media sharing server is Plex, you can use it with a Mac Mini. It's easier and faster to do.

  • clray123

    The real solution for his file deletion problem is to have a snapshot-capable target file system and let the backup script create a new snapshot after every backup (and perhaps delete the oldest snapshot to conserve space). This way you can request to see your backup drive as it was n days ago by mounting the snapshot. Funny that he complained about Apple's Time Machine, as it's one example implementation of this very idea.

  • Hicham Laroui

    Hi there, thank you for this great Tuto, it's inspired me for doing something similar but instead of "backupscript", I'm propaging authorisations to some files… so my script looks like this… " sudo chmod -R 777 /Volumes/….etc" and I'm using Cronnix as well.
    My problem is, it asked me every time Root password, even if in the script I have put "sudo"….am I doing something wrong?
    Your help would me very appreciated.

  • Petrosmalk

    The best thing on OS X is that it is UNIX, so a Linux user can easily understand how the command line works and what are the commands doing.

  • John Smith

    Thinking of doing this with my netbook once win7 support ends and I build a closed network between my 4 old dell laptops.

  • TheCuriousHobbyist

    8:45 If you don’t use a computer very often, why would you go as far as to design a script like this for that computer in the first place? That does seem at least kind of rare to me as something that can happen.

  • Muhammad Harits Syaifulloh

    Direct Download macOS Server 5.7 Beta 4

    http://appmhs.blogspot.com/2018/08/direct-download-macos-server-57-beta-4.html

  • EveryDayJiaozi

    Why would I use a Mac Mini G4 when I can use my double dual-core G5 watercooled PowerMac? Who even looks at their electric bill

  • DaPunchyDude YT

    Is it worth it buying this? Mac Mini + Firewire drives. Currently i have a Linksys NSS4000 NAS (Enterprise model) 4TB. But it's slow as hell with only 4MB/s. Is it worth it buying the Mac mini and the drives? And then keep it mirrored with my NSS4000. So it's just like the mac mini is a cache server

  • Kieron Wray

    great video, love watching all your vids and how humble and open the phrasing and language you use – i find it really accessible. Great work

  • 2wheelphoto

    This is great 👍 I would like to try it! No special software needed for making the server accessible to ios and other macs?

  • yang fu

    After I watched this video which was nearly a year ago(2018.12). I’m still using this server as my NAS, even though my main pc is a Alienware and laptop is the latest MacBook Pro lol.
    It’s really an interesting experience when u using the latest iOS13 built-in “files” app to open a folder which’s in a late 2009 Mac mini.
    Huge thanks to this video. This NAS possibly the most useful thing I have ever made.
    Greeting from China. Thank you!

  • ty riedle

    Mom and lul will fuck with me allnight huh David and its lul saying f mom and Amy here's so do u David and I'm not fucking my mom huh david.

Leave a Reply

Your email address will not be published. Required fields are marked *