The Complete Hyper Backup Guide For Synology NAS (YOU NEED TO BACKUP YOUR NAS)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
all right how's it going y'all today we're going to be going over a pretty important tutorial and that is how to back up your synology nas using hyper backup so hyper backup is an awesome application and in my opinion probably one of the best backup applications out there and it's got so much under the hood that it can do but it's really important to use you need to be backing up your nas i'm not saying you have to back up every single file you put on your nas but you really need to go through and sit down and say all of these files are crucial for me to have these are the files that if i lost them i would be in trouble and make sure to back up those and in most cases those are probably going to be the family photos and things like that that are probably under 300 gigs in space and so it's really cheap i'm not going to talk about too much of specific providers but i'm going to talk about what to look for when you are choosing a backup i would really recommend you use a off-site backup this can be a safety deposit box where you have a hard drive that once a month you come in plug it in your nas back thing up and put it back in the security deposit box if you're the type of person to remember that it can be a nas at a friend or family member's house that's got hyper backup vault set up on there or it could also be a cloud like synology c2 backblaze b2 or aws s3 all are options you can even back up to google drive this video is mostly going to focus on how to backup and what kind of settings you've got for all of these different things and so i'm actually just going to be doing a local hard drive back up here but the principles will be same for all of them and we'll talk about some important things to look out for all right so the first thing you need to go ahead and do is download hyper backup from the synology so we're just going to go ahead and log into synology dsm open up the package center and i'm doing this in dsm 7 as you can see which is the new os so i think all my tutorials will now be in dsm 7. i'm going to install it and i've got a ton of specific tutorials on how to backup to specific services but this one's just going to cover all the settings and all the things you need to look for all right and so now it's installed so i'm going to go ahead and open it up and so you can see we are met with a ton of options here so i'm just going to go ahead and plug in this hard drive and we'll go ahead and get started all right so before we go into all these settings i'm just going to go ahead and set up this drive i've already shown how to back it up to drive but we'll go ahead and set up right now so when you are choosing a format to format it into really you're going to want to choose exfat because it's got the ability to be plugged into a windows mac or linux machine and so that way should you need to step away from synology you'll have a backup easily or you can choose a cloud provider as well but in reality this is not important to the specific video alright so now it is set up so now we can go ahead and actually set up our backup so we can go ahead and see that under file station we can see we've got this usb share setup so that is perfect and so that's going to be our destination so let's go ahead and open up our hybrid backup and now we are left with a screen where we've got a ton of different options and i really want to talk through what different options you've got here and when should you choose certain things and so first off you'll notice there's kind of two different types of backups for a lot of these things so for example rsync there's rsync and rsync copy single version there's the same thing single version here so what single version is is think of a just copy that's pretty much what it is basically all the files are sent from one folder to the other one and it is a mirror images of the two what this is good for is say you need to be able to go on the road immediately and grab all the files off of your nas in a certain folder this will do that this will allow you to easily plug in the hard drive into your computer and use it just as if you're connected to your nas because all the files will be on there exposed in the exact same way where this sucks is the fact that say you delete a file or corrupt a file or somebody hacks in and goes through and cryptos all the files on that folder this version is dumb it's just going to go through and say all right well those are the new files let's go ahead and copy those over and it will delete the old versions and so it will not help you from that i would not call this a true backup it's really like raid it's nice to have but it's not a backup so that is what you've got there and it also limits you from being able to do some of the cool things like back up your entire synology configuration backup applications and things like that so we've got a bunch of options here and i kind of want to talk through what different things are so the first one is the synology backups the first one is local folder and usb and we've got the single version of that as well that is pretty much what we've got here that i'm doing i would not recommend it though unless you are doing the workflow where you're taking it to a safety deposit box once a month because local folder does not help you if your house burns down if you get stolen or anything like that it's really not that great of a backup because it's not resilient it's not redundant it's not different geo locations so these two are a great place to start with a backup but i really would not recommend them as your final backup solution now if you want to just have a second copy of all the extra files you don't need an offsite backup of that's great then there is also remote nas device so this is great this is where you can set up another synology as a hyper backup vault and that means you're able to back up one synology to the other one so this is a great workflow and i'm actually planning on setting this up is basically just go through get a cheap nas and set up a friend or family member's house and set up as a hyper backup vault then the synology will automatically push to it and it's really cheap it's got high up front costs basically having to buy the nas and the hard drives but from there you don't have any recurring monthly fees which is awesome especially if you're talking over 16 terabytes that can get incredibly expensive every single month instead you can do it once another advantage of this is you can send it over the very first time over a local area network and then drive it to the other place meaning you don't have to wait literally months in some cases for the first backup to complete then there's also synology c2 storage which i am a huge fan of and i personally recommend to everybody this point who doesn't need to have an insanely large backup and just need something that's going to work in my experience it has been by far the best implemented they actually have a pretty good price point i think they're about a dollar more per month per terabyte than backblaze but they have a lot of options like you keep your files for an extra 30 days and they've got all these different options for you that really makes it worth it i know i'm going to sound like synology fanboy but in my experience synology c2 has by far the best implementation to be fair that's because they built it and they definitely threw some extra features in there but it really is great and if you don't have a ton of storage and you're choosing between this and back place i actually would recommend synology c2 storage because it allows you to have disaster recovery because the synology itself even if it deletes the backup you'll have it for an extra 30 days which is huge and so those are the synology options and then there's the file server options these are generally other nas devices i actually have never used openstack swift but rsync is a great one if you're ever setting up a linux box or a freebsd this is what i use if i need to back up to a true nas or free nas build because it's so easy everything unix related is going to have an rsync client and it makes it very easy to set up one as a backup and once again you can either choose to use the hyper backup method or the rsync copy method the rsync copy method is good if you've got snapshots on the other end and want to be able to have the entire file system as is then web dav is pretty much over http or https which is a great encrypted version if you need to do it though in general i would recommend setting up a vpn between the two servers and using an rsync because you're going to get a lot better performance and that's really what rsync is designed for and then you've also got a bunch of options down here for different cloud services most notably google drive though with google drive you do need to make sure that you're not uploading too much in a given day because google drive will start to actually block you for a day the rules for this are always changing so i'm going to go ahead and let you research that but that's just one thing to look out for with google drive and then there's also s3 storage by default this is aws s3 storage but if you're doing something like back blaze this can also work there one thing i really would recommend is whichever service you're using try to make sure that you can set up snapshots on that end as well because you don't want a situation where your nasco's hostile deletes its own backups because say the worst happens and somebody gets full admin access you want to be able to make sure that there is a backup on the other end that your synology cannot touch and so the way i like to implement this is if you've got two different nasa's one off site set up snapshots on the off-site nas then have them kept around for an extra 30 days that means if your nas does go hostile and deletes its own backups you will have 30 days actually restore that entire hyper backup file meaning you don't lose anything which is a great setup so if you are going to be going to a cloud look at the pricing aws s3 is good in a sense because you can have really long term storage and archival stuff but if you're not going crazy large terabytes and you're not having an insane workflow i would really look at the synology 2 c2 cloud storage because in my experience it's just been by far the easiest to set up and will cause the least amount of problems okay so those are all the different options you've got and now let's go through and set up a backup because there's a ton of options you've got so we're gonna go ahead and select local folder and usb because we're going to usb drive and we're not going to select single version so here we've got the option to just relink to an existing task say i already had a backup going and now i need to reconnect to it you can do that here and it works very well and now we're going to choose where to go so we're going to send that to usb share one and directory so this is where the backup's going to be going and the directory is just going to be the name spacex1 is fine we also just call it whatever your last name backup and that will be exposed on the file system and now we'll go ahead and click next and now we select which files we want to back up and which volumes and you can get crazy with it here so let's go ahead and just back up everything but we also have the ability to drop down to every single one of the applications and choose okay every single subfolder and furthermore you can choose to include or exclude specific file formats and so say you do not want to have any kind of png files so you're going to say star dot png and then i would also do um lowercase as well so this will say any png files we're not gonna back up for whatever reason you can use incredible file filtering here to really choose the exact files you do or do not want to back up it is very powerful in that sense and so there's just a lot you can do here and really tune it down to back up exactly what you need i think most people probably don't want to do this unless maybe you say okay you know what i don't need to back up all my movie files but i want to back up all my pictures because i just don't want to pay for the space you could do that and say movs and just say that each of those were not going to back up and just select everything like that you would also do something like a dot raw file if you've got raw files you're like i don't need to back up the 12 terabytes of raw files that are interspersed in my photo library you can do that here and there's so many options here you can really tune it to exactly what you need but i'm going to go ahead and just cancel that and you can select exactly which backups you like and now you can go through and select which apps to back up and this is really important if you want to do the thing where you just use this to rebuild your entire synology so we're going to select them all and it will automatically do it so one thing to note some applications that create their own shared folders actually will automatically say okay since you've enabled backup of this you also need to backup the images as well though most of the time it's just backing up the configuration so you may as well just select the entire thing because it's really not going to be that big but you can see that synology photos creates the homes folder so that everybody has their own home folder and the photos folder so that means that both of those will automatically be backed up and enabled and so now we've done that and so now we can just go through and name it we'll call it usb backup you can say task notifications that's like hey if it fails i would just leave that on then you can also go through and have a detailed change log if you need to audit your nas or something exactly say okay this is when those files were deleted for most people that's really unnecessary and kind of overkill but it is there if you need it the other thing is since this is a usb drive you can say remove destination external device when backup has successfully completed so that is the case where you've got it at the safety deposit box and you want to go through and once a month back it up and have automatically eject it once it's done then compress backup data i would generally enable because files tend to be very compressible and it's already in this proprietary.hpk format so i would really recommend setting that up then you can also go through and enable the schedule so this will say when to run it at and by default you only are allowed to do daily backups so you can't do like hourly backups or anything like that now if you have synology c2 cloud this is another one of those kind of paywall features that allows you to do hourly backups should you need to but in general this is for disaster recovery where your entire nas gets fried or something like that so in general dailies are fine though if you need more than that i would really look at doing a send with a btrfs so btrfs replication and you can do those every single five minutes it's that fast and so then you really should want to go through and always have an integrity check schedule this is really simple what this will do is it'll just check and make sure nothing too screwy has happened to the backup it's not going to restore every single file or anything like that but it will go through and kind of kick the tires and it's a great place to start so if for whatever reason the backup gets super corrupted it'll find and so it'll probably find 95 and i'm just spitballing here of the issues you would have with hyper backup where something's crashing on the other end and files aren't getting sent correctly it should hopefully find those but you never know what happens so an important thing to do is once a month if you can go through and just click on the backup and just download a file or two that way you know what happens and check data you can choose how long to check the data for and so if you want you can do like 60 minutes and so that way it's checking a lot of the data this is basically how long it'll run the check data for and then you can also enable client side encryption so this is the option to encrypt the backup so right now without client-side encryption enabled if somebody grabs that hard drive and takes it home with them and downloads the synology software they will have access to every single one of the files on the nas even if the shared folder itself is encrypted and so that is one thing to know so if this is just your back of the photos maybe you don't encrypt it maybe you're like you know what somebody wants to steal my photos it's not that big of a deal i'd rather make sure that i've got them and i never lose the password or anything like that and so for me a lot of my backups like that i don't encrypt because i'd rather make sure i have them then make sure somebody else can't have them now from a performance perspective you're really probably not going to see too much of difference you're generally going to be network limited unless of course you're plugged in over a hard drive then you might see something but generally it's not going to be a big performance hit to you so i will enable that to show this and so this is going to be the encryption key we'll see it's actually also going to download the encryption key so we'll have two different options for restoring this encryption and so another really nice thing you can do with this encryption is it gives you the peace of mind to be able to throw it up on any kind of cloud because even if that cloud screws up and puts the entire folder public well it's not that big of a deal it's encrypted nobody else can see that data and so that is where i really like having the encryption is you just don't have to worry about it and so now you're probably going to want to have a backup rotation so by default if you do not enable a backup rotation every single file that's ever been on your nas will also be in the backup even if it was deleted five years ago so a backup rotation pretty much keeps files for a certain amount of time and then goes through and deletes them and so you've got a few options here you can either do the earliest versions so you keep the most recent 256 versions and so we've got one version per day so it'd be the past 256 days about nine months you can do a smart recycle where it automatically goes through and kind of does a tiered system so it'll keep more versions of files from more recently but it will also keep files for a long time so you can see with 256 versions we're getting files from four years ago and so for most people who are not changing files constantly which is most people's workflows in my experience you probably don't want this because now you've got to have every single file you've ever had on your nas for four years so another great thing to do is a custom retention and so just say okay from the past month i want dailies or what you can also do is edit it so say from the past for the past three months i want dailies so one a day and that's it so then you will have a copy of your entire file system for the past three months from every single day and that's a good place because generally you're not having that many changes to files and hyper backup is very intelligent it only stores deltas to files that means it only stores the changes in files so if through these three months a file doesn't change well there's no more copies of the data the file size does not overall expand and so now we need to go through and make sure that it gets triggered and so we are doing 90 days because that's three months so we'll do the max number of versions kept it's going to be 90. and so the way this works is it first goes through and it keeps all the versions until the versions exceed this number right here then it follows the custom retention rules to start deleting them and so if we have this at 256 these custom retention policies would not be enacted really instead what we want to do is you could say 10 or let's just say 90 and that's how many versions you've got and it shows you a nice thing here of all the different versions we've got so let's go ahead and just click done all right and so now we'll see a hey do you want to allow downloads and yes the reason we want to allow downloads is because it just downloaded the key to our backup the backup can be de-encrypted with two different methods the key which is a file or the passcode which is the password you've got and that's nice because you can give your employees a copy of the key without having to give up your password and it also allows you to file that stuff away without keeping copies of your passwords and so now we're going to go ahead and say backup now and yes and so now it's just going to go through and do a backup all right and so now it just went through into the first backup it was very fast because it was one over hard drive and two it was all local and three there's really not that much data on there and so the other thing we can do is say we we're about to do something we're kind of worried that it'll break our ass or something you can also intermittently do a backup now which will automatically go through and do a backup but the backup will still be triggered every day at 3am by default which is how we set it up and so that's just an option you've got there all right and so now while that's running we can go ahead and open up file station and let's check out that usb share so it's this dot hbk file so we can actually just go ahead and double click on it since we're on our synology and enter that password or encryption key so we'll go ahead and enter the encryption key and now we can see all the files we've got are on here so we can go ahead and open up everything and see it all and be able to actually go through and just copy to which will restore it to a specific folder or download it straight here all very easily and gives you so many options so right here boom we've now got access to that folder we just downloaded and so this allows you to go through now if you had a lot more versions you'd see them all right here in the timeline which is really nice to be able to have and be able to do and so that is how you would restore from backups and be able to view all of those files you can also go through and see some statistics yadda yadda how much stuff was grown and even get some notifications of hey this is growing very quickly and all the things like that it's in dsm 7 they've added a lot more to this and it's made it a lot more usable for businesses specifically the other thing i would really recommend once a month doing is opening up hyper backup and checking it out and just seeing if you can restore some files so let's go through and say okay you know what i'm a little bit worried who knows what happens so go through every 30 days or so and go ahead and click on backup explorer if it's encrypted enter the passcode and just go ahead and click on a couple of files and make sure that they're all there maybe even do a little bit of a comparison between what's on your nas and what you expect and see just to make sure all the versions of files are there and that you can download them go ahead and click on one to download and just see what happens and that that way you can really help know hey yes this worked or this did not work and you'll catch things a lot sooner i'm not saying it's that often personally i've actually never seen a backup fail with hyper backup but it's always important to check with that kind of stuff the other thing is should you have corrupted a file or something and you're like oh i need this new version of file you actually just select it and restore it and it will overwrite the destination file so whatever is in the file station in that folder with the version that's in the backup so you can go back in time and actually select the thing and it's really cool in that sense all right and really that's all there is to it hyper backup is a great application and it's got a lot of different options you can go ahead and do i'm planning on doing a couple of videos on like hey what happens when you need to restore from hyper backup because it's not going to give you a perfect clone it is not going to restore every single setting to the exact identical one you are going to have to go through and search through your nas to make sure everything's set up but it will have all the major configuration and all the data will be backed up all right well that's gonna be it for this tutorial go and leave any other tutorials you'd like to see me make in the comments below and have a good one bye [Music] you
Info
Channel: SpaceRex
Views: 6,475
Rating: undefined out of 5
Keywords:
Id: 7Retrqnr9eM
Channel Id: undefined
Length: 23min 30sec (1410 seconds)
Published: Thu Dec 02 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.