 Hey guys, very welcome back to Daniel's tech world on YouTube medium and Excuse me Daniel Roselle tech So for this video what I want to be looking at here We are continuing with the Synology DS920 plus backup madness and this has actually been a historical day for me and backups which I Generally don't spend all my time thinking about backups is the truth This NAS that Synology has sent me has certainly put me into a bit of a backup frenzy working on things and improving things So I did get the I just got an rsync running. I have an rsync running. I should actually say see if it's still going Looks like it's just actually nearing its completion That's on my web hosting and I'm just pulling stuff in to the NAS directly. So I'm I basically SSH'd into the NAS And then I used rsync over SSH From the NAS in order to pull down my web hosting and this is exciting to me because I mean Backing up the C panels that I really care about and I backup stuff at C panel level because I Don't really trust WordPress backups. Not that I don't trust them I have a staging site for my WordPress site and a few other things on those hosting accounts Which would not be covered just by backing up the WordPress So that's the way I do it, but obviously full backups are very very inefficient pulling out the whole Backup every time I talked a little bit the last video about the difference between differential backups, which are differential like Delta change Delta change between full backups and incremental which is a succession of very small backup slices But the negative being this you have to have a chain rsync is different. It's just the it's a backup of a data stream It's just at the bit and bite level of what's changed in the whole pool of data since it last ran So it's very very efficient If you're going to be using it for several restore points It's a little bit more complicated to get that running But just to have one rsync to use a mirror a mirror system in which you have your source and destination kept Kept a mirrored to protect against a Data loss on the source. It's very very useful and much much more efficient than taking full backups So that's my breakthrough today But for this video, we are going to be returning to look at backups for the Linux desktop So The tool I'm going to be using today is cloudberry backup, which is going to come up on the screen presently now The yesterday's video it's all on my YouTube I guess it's the same going to be at the same time probably but I looked at grsync and grsync is just the kind of most basic GUI GUI for rsync That you can really guess And I pointed out it did work. We ran it. We created a Shared storage just just for it on the NAS on the Synology NAS But as I pointed out its deficiencies are really that it's it's kind of too basic actually for really Hardcore use so cloudberry is is kind of a step up in that respect So what I'm going to do firstly is I'm going to just delete The planet just made in fact and we're going to start this process from scratch Whoops delete So what I've done is in my DSM the Management operating system for my Synology NAS. I've gone ahead and created a shared storage Bucket I call them buckets. I know that's not what they are They're kind of network shares, but I've gone create I've created a network share Just called it cloudberry with a capital C to make it easy to figure out what goes where so we're going to create a backup plan firstly and I'm going to I'm going to Get rid of this guy or even though it's working because I want to show How this is there we go All right, so I'm going to add a this is this thing This is the first stage in creating a backup plan is and I like the way Clyde Berry does this It's very logical very logical that you start with your Destination then you look at your source what you want to back up And then you have a plan and you can save those plans You can see in the left-hand side of my screen where my plans are and below those my backup storage repositories So I really like this program. So okay You basically a process of elimination. We can figure out what what are not the right options It's not s3 is your Google cloud or Oracle and you can see just in passing that this is a really great tool if you are storing backing stuff up off-site to the cloud They really cover all the major ones all the way from Alibaba cloud wasabi Backlays be to my favorite. So really very well covered in terms of protocol supporters now I could do file system, but I haven't actually Mounted succeeded in mounting the NAS yet to my Linux file system here So instead I'm going for SFTP and I'm just going to do an SFTP transfer over the local area network here Server is just the local IP of the NAS 07 and the path The path and this went wrong on me before it's bit finicky is one for it slash Then it is the sharing name and port 22 created a User called demo given him a password and let's hope there we go successful That's rather delightful that things work out of the box All right, so I'm going to select my cloud storage as an ES. That's a bit of a misnomer because It's a it's a local cloud. It's a cloud It's the cloud is the network attached storage on our local network, which is a sort of cloud I pointed out before in Various, you know things that people think of clouds is only off-site, but this is a local privately owned cloud in effect Continuing with the operation and calling this back a plan full disk to NAS I'm not going to go for block block level backup now here is where you select and I'm just well. I'm going to do this Linux Backing backing up Linux folders to skip Just gonna do I'm not gonna get this 100% right the first time But essentially when you're backing up a Linux file system like the one I'm backing up here You never want to back up the entire file system now. I am gonna do that first thing in a tick Starting it you can see starting at the root of the hierarchy of my Linux desktop here This is one. I definitely don't want to create this myself called backup What else what someone pointed out? It shouldn't back up here I'm reading in the in the side window thread on server fault calm pure OS PR OC definitely not Mounts definitely not Full if it's a full system restore you can omit proc boot and dev So let's just keep it at that proc Boot dev we're gonna keep everything else except for Now you can drop down at the hierarchy and I have within this is never in my home user folder here And I have Google Drive mounted to a main point So we definitely do not want to back up our Google Drive and I have my p-cloud up mounted to a mount point now Obviously if I am backing up if if anyone who's seen my a github backup documentation I do things separately. So if you know, I'm backing up my Google Drive and my p-cloud to Always three to one compliant to another cloud and then to my NAS, but I do that separately. So if I did Back this up capture these guys in my I like to you know, keep things separate basically Actually speaking of which I'll take away my git folder as well because That would be more duplication by backing up all my giths Or positives one thing to point out I have a few virtual machines here in my VMware Kali Ubuntu and Winix Windows 10. These are obviously very very heavy now You may not want to back these up for that reason you might want to again do this separately So just be just be aware that these are going to be heavy files Gonna continue back up all files if you do you want to capture the hidden files go for this guy Do not sorry untick this option I'm not going to go for compression and encryption and actually to be honest I don't actually have a choice in the matter because it's not included in the free plan I'm just using the free plan. I don't actually use Although that might change up to now Clydeberry has been taking care of for me for my on-site backups by timeshift and Timeshift does not support network backup So I might actually start using this in which case I might upgrade and get the compression and the encryption I'm not going to specify your attention policy now Here is the advantage over a GR sync in that we can create a backup schedule. So How often should we run this it's going to be an inquiry it's going to be a Not a full backup. It's just going to check for what we've pulled previously. I think weekly is fine. This is really gonna just be a First-layer backup for me In addition to my harder Clone Zilla backup which I'm planning on figuring out tomorrow how to get that running over the network So basically I'm just going to go for weekly Run missed scheduled plan immediately bombed boot up. So yes So there's a high frequency because I do not run my computer all the time that Whenever a week elapses it will be turned off. So this is very important I'm basically under the hood. You've certain you know You have different types of cron jobs and ones that will run if you miss them. It's not letting me continue It doesn't like something here What what went wrong? It's not letting me do a schedule. All right. Well, we'll fit you up. What? Okay, we'll figure it will figure out the scheduled stuff later. Let's just get this running and Now email notifications. I recommend ticking changing this to in all cases Because you know if it fails it's good to get that info too. It's going to call this full disk NAS backup Alrighty click on continue and tells you the confirmation email is going to be sent and tick run plan out to get it going and Here we go. Now it's running So the moment of truth is is going to be involved. So actually I'm going to at least quickly hopefully before it starts delete that folder on the NAS and We are it's already repopulated that was instantaneous. So let me just show you what I'm seeing quickly here I'm going to go into the NAS through DSM 192 I'm just going to pop this back for a second while I log in As I do that you can see that it's running in Clyde Berry very nicely if I may say so myself and We're looking for Clyde Berry Clyde Berry Clyde Berry beautiful All right, so here is DSM here is the Clyde Berry shared folder. I created Clyde Berry creates its own little folder called CBB underscore this and it's just working on the OPT section at the moment over here So that's basically it and you can actually compare look you can see current files OPT Buttercup something something something and if you go into these we can see it's building the Buttercup folder right now and it's working away, so just I do that always just to make sure things are working and That's basically it. That is how to run a Backup and now you can see it's in my backup plans I'll figure out the scheduled stuff and I could just be running that weekly in order to create a create a backup of My whole Ubuntu file system onto my NAS and of course because that lags if something happened You know that caused me to lose my file system in some way or break the file system I could just restore I could go into backup plan and click the restore button and it would pull all those backup files from the NAS and overwrite them on my local file system, so that is it. Thank you for Watching the video and until next time and any any queries are reaching out to me I always give my website at the end of these videos. It's Daniel Rosel dot co dot i Thanks for watching until next time