 Hello, they're welcome to Daniel Stackworld on medium YouTube and DanielRosal.tech for today's video I'm looking at Veeam agent for Linux so Veeam agent for Linux is a tool I had tried to get running before and failed and I'm gonna show you the reason I failed and how you can not fail Basically, so basically if you go on to the Veeam website now Veeam is like the work the leading Backup company in the world. They're really big When I wrote this article last week about my Linux backup ultimate Linux Ubuntu desktop backup approach I'm reading what the people are saying about my article on reddit and Ubuntu some people were saying, you know Veeam's really good Veeam's what I use and I said, you know what I'm gonna give it another go So you get to this download page You do need an account and you can see here that I'm signed in so firstly go ahead and set up an account for yourself and on the download page you'll be presented with this laundry list of different agents and Clients for various things that Veeam offers. So if you look firstly, there's virtual workloads So Veeam supports agents for you know, VMWare, Hyper-V There and then you have the cloud and physical workloads and this is where we're getting into What we need but actually if you're just looking for the Linux client go down into free products And you can see there's Veeam agent for Linux free And you can click download. So this is basically what I did and I downloaded the Dot DEB, which is a Debian installer for Ubuntu Select your Linux select your architecture And I just want to point out one more thing here. So here is where I went wrong So I downloaded this and if you click the download button, you'll get a nice little DEB file for yourself I'm just gonna check on the actual backup running here while I talk about this And this is just a quick a quick sneak preview of what the what the program looks like It's basically a kind of combination between a command line interface and the GUI It's very powerful and I'll discuss why that is it's it's not lightning quick Primarily because I'm running this over the local area network onto my NAS So as you can see it's been running already for 21 minutes I'm are only at 15% so doing a bit of mathematics off the top of my head seven times Seven times 21 is 140. So there's probably a little over two hours left in that transfer process And it's running at 22 megabytes per second. So basically when you do get finally to the Ubuntu download You'll download this but this is not where your The installation ends and this is where I went wrong because I downloaded this then I couldn't see any Veeam client in my Linux in my menu and I couldn't see I ran Veeam and nothing happened So basically I found this video on YouTube that basically did it. I think a better job Than the documentation that Veeam has I think it was actually by Veeam and they explained what you need to do So you don't only need the Veeam agent. You also need to install the Veeam package to ease and Veeam I'm not going to do this because I already put it on so you need agent plus package And once you have agent plus package, then you can run the pseudo Veeam And once you run pseudo Veeam, you will be able to start the process using the software so the first time you run it you're going to get to a EULA end user license agreement that you need to accept and then you can configure your backup job So despite the fact that it is kind of old school and you need to use your keyboard to navigate around It's actually incredibly effective As creating these jobs. Let me show you how it works. You can see this is just kind of your the home page is your You know your session history as such and we can see that I have one backup running And what I did was basically created this Whoops, I have an awful lot of stuff going up to cloud sync I have a Created a shared volume here in my NAS and you can see that it's busy And this is an easy way if you're just starting to use a new backup software and you have the luxury of having an NAS It's easy to just kind of direct it there so that you can keep doing what you're doing And just ascertain how things are going and verify that it's actually working So I build beam and then of course I saw while there's a directory there. That's the first good sign And when I actually let me just do a refresh on this now we're at 15 gigs And now we've jumped up to 15.33 so it's working It's actively building and I can verify that and I always do this when I'm trying out a backup tool I don't want to waste time. I'm not sure exactly what stuff is going up to the cloud here Looks like old stuff for my old job. That is in archives So VBK is Veeam's Proprietary format and as you can see it's building quite nicely So that's just as I say just use whatever way you're comfortable with the verifying It's working before you go and spend two hours on a backup job only to find that it doesn't work Or it's gone to the wrong place or something like that. So I'm just going to do a pseudo beam again a pseudo beam and take you back to the Take to take you back to the kind of command line interface And let me show you how you can go ahead and set up a backup one last thing. I did want to say is The power of Veeam is that you can back up an entire host so you can back up the whole machine every storage device in it and one shot which is really really cool and It was quite exciting for me when I saw that and I realized I kind of find this out by mistake I was running the first backup and I noticed it was bringing in my windows Partition and then my Linux partition. Sorry my windows drive and Linux drive and I said why it must be just Grabbing up the whole machine. So what happens? You might be wondering you say that well, that's well and good But unlike clonezilla this is being run on a live system, right? I don't need to run this cold. So what happens if my Hard drive fails tomorrow and there is no operating system. There is no Ubuntu let alone beam How can I? Restore from that backup and the answer is the Linux recovery media So it's got a nice little lightweight iso file here that you download onto a live USB and in the event that you Have hardware failure and this is this is why Veeam is now actually a contender To knock off clonezilla for me because I'm really well covered for a day-to-day Snapshot backup with Timeshift, but I also always like to keep a backup strategy in place that will get me back from hardware failure So that no matter really what happens to my Ubuntu computer I have a way of getting my system back. So once I saw that that has this recovery media. I burned the disk I tried it out. I was suddenly quite excited about Veeam and I under I understand where this person on red It was coming from So that's that so you may as well grab that while you're at it now Let me show you how to set up a set up a backup job on Veeam You have at the bottom of the screen I'm just gonna actually cancel here. You have CSRM you see these letters here in the bottom and C is what you want to do to configure a backup job So I'm just gonna go ahead and make some changes. So this is kind of what it looks like It's a step-by-step process. You've got a little menu there on the left-hand side You start off by giving your back up a name I went for a desktop full backup and this is backup mode and Here is where the kind of power and the excitement happens and let me show you what I mean by that So you can back up the entire machine and back up the entire host for fast recovery on any level Power here is that Veeam is running at the hypervisor level So it's literally just gonna scoop up everything attached every piece of hard storage hard to our attached It's gonna scoop it up like that, which is really powerful if you just want to back up I mean most computers are not going to be running a Few different internal drives and a few different operating systems So if you just have if just want to get everything on the computer without Bothering about drives that would be the easiest way and that's probably why it's recommended But because I am I do have a few different drives I actually went for volume level at file level as well as just to file back up But this is a block backup and So it's a block backup. So let me just go into you know, I want to show you it So once I've selected this and watch this here is the power So what I'm doing is I'm doing sda and it's you know, it's that's my second drive and it's about four It's a 450 gig SSD that looks a bit smaller as it always does. I'm never sure why you can go by LF LVM If you have logical volume management, btrfs mount pointer device, so device is what you want now watch this so basically it's you Tell us here which devices are what are going to be in scope of this backup plan And it pull it it pulls even through your system. So it's it's found my sda, which is my up on to drive It's found my sdb Which is a I'm trying to remember now. He used this used to be just for clone zilla. It's 250 with a bit of space taken up and It's got sdc, which is 480 and that is just for time shift So I've gone all out on the whole backup drives here and then I have a windows drive now This you may be saying well clone zilla does this right? It does either it backs up either drives or a backs up partitions, but watch this I Can just choose a partition So I can choose to do sda 2 and not sda 1 and I'm using by the way a Combination of the spacebar tab and the arrow keys on my keyboard to do this, but here's a cool part I can go for sda and Sdd, but not sdb or sd. It's but not sdb. So I can take the up on to Drive and the windows drive in one backup plan and that's something I can't do using clone zilla So that is quite that is quite cool So let me just continue through the menu here next screen you're going to get to is a destination screen and you can go for a local backup You can use beam backup and replication back up to a beam repository or you can do local. So if you go for local You can you can basically just put it somewhere stick it somewhere on the computer or attach to the computer So if you click on browse for example, I have a backup folder here They can do that and now it's going to bring it to the backup Folder and then very important notice the restore points So this is you have to really pay attention to this the next one you can do is shared folder So that's basically where and that's what I've gone for here You can do over MS MSP or NFS on to a local anything on the local network that has a file server running on those protocols and I've been able to basically run Directly on to the NAS over here. So that is that is quite good and basically what was required for that was I just put in the IP address and I put in the the folder The volume and the usual syntax applies here, which is basically IP address the 192. Let's say zero zero zero And it looks like this. So you have a colon and one forward slash and beam And it has but they make adhering to the correct syntax really easy because they just have blank spaces for where you need to put in the relevant fields Finally you get to this screen where it's telling you you can hear enable backup encryption So you can just very easily hit the spacebar again and put in a password and you'll get yourself encryption with the backup and a couple more tools that aren't really worth mentioning So if I go on to next the final thing is you can put this on a summary So I can choose toggle it on and off to run automatically. I can have it running at a time that I want Again using spacebar here. I can say Whoops, that should be zero zero Arrow one two. I'm not sure why I can't do this one two zero eight Maybe I can't change the time. That doesn't really make much sense I'm screwing off somehow, but you can choose you can set the time and you can also set the day so I can turn off Monday and again, it's a very pure CLI type functionality and This will do the job of putting that into your crown tab on your computer And then you're basically good to go. So it tells you your destination And tells you the backup job and then you have the option to actually run the job and That's really all there is to it. And now you're running the backup That guys is essentially what beam backup does if you want to go to restore I'll just show you a couple more things in the tool. So I'm going to just click on you can manually run a job So that's what I'm planning to do is just to keep that backup configuration And I'm going to do a test restore see how that goes. And if it all goes well, I think I'm going to move from clonezilla over to beam because the advantage to me of being able to run this while the system is live Would be quite advanced quite advantageous And the fact that I can do back up the Ubuntu and the windows at drives and one goes also pretty advantageous So let me just show you the other commands here So I just did shift R and that this is where you'll be able to get the restore point So I haven't actually generated or I did but I deleted it But it'll basically pick up where you have generated restore from and you can go for rescan or import backup If you want to manually tell it where it is and again, I'm just using using the exit That's really basically all there is and this is a utility you can take a look at the license I'm using the free license here and that guys is beam agent for Linux So in summary the the difference really between this and clonezilla is that this can be run on a live system You can do recovery if you have hard drive failure using the recovery Agents and that's just a little Linux thing you can put on a live USB and I have to see When I try to run this if it's able to do a full back up approach Incrementally, then that will be quite something as well So until next time, I hope this video has been useful and feel free to reach at any time through my website Medium YouTube or get up and have a great day