Browsed by
Category: Microsoft

Backup your Linux system via Powershell. WHAT?!

Backup your Linux system via Powershell. WHAT?!

I have a Linux. I have a Powershell….ahhh…

Sorry. Ahem.

Anyway. Yesterday I found out that Powershell can invoke SSH commands to Linux machines. And that’s bonkers, you can control your Linux system and leverage PS functionality together. Let’s see how you deal with it.

Adding SSH capabilities to Powershell

Microsoft once promised us to add OpenSSH to Powershell, we still didn’t get it. But whatever, we have an alternative called Posh-SSH. All you need is love the command:

After that connect to your Linux machine by creating a new SSH session:




Invoking SSH commands

Now as a proof of concept let’s try something simple.


Holy cow! It returned the hostname!

Using Veeam Agent for Linux

But I wouldn’t be a backup guy if I didn’t try to backup something with all this. So let’s try using some of the commands of Veeam Agent for Linux.


As you see, the output of shell is truncated, so if you care for the output, apply a little cheat and try again:


Now that is better, but the string is not readable, so let’s apply some formatting! (it soounds like it something obvious, but I killed a lot of time trying to make it look right, and the rules are weird)


Now that looks about right. Not perfect, but definitely readable.

Hey I just backed it up!

What’s next?

Well, I just discovered this stuff, so there’s a lot to do. You can combine Linux commands and powershell to create some powerfull scripts. I’m no scripting guy by any means, but even for me  that sounds pretty exciting.

As for you guys, I hope that opens some automation opportunities for you, just turn on your imagination.


To the cloud, Alfred! Not so fast, bro.

To the cloud, Alfred! Not so fast, bro.

Hey there, DK here.

Everything is relative, you know. I felt it after I attended full-blown MS Ignite and then went to a small community event called TechUnplugged in Amsterdam.

Microsoft’s marketing machine can sell a bottle of water to a drowning man, especially when it comes to the cloud. During Ignite I’ve heard a lot about how impressive and disruptive the cloud is. And you know what, I was sold. And I’m not even saying they are lying or anything, it is in fact very promising technology.

The things get worse when it comes to a real-world implementation.

Unlike Ignite, TechUnplugged is a small event that attracts IT pros to talk about their environments. Even their official hashtag is #RealWorldIT instead of #TechUnplugged or something else. And that’s what I heard from these people:

Actual businesses are not ready for the cloud.

I like this pic. It’s deeper than it seems

So what are they promising us?

No maintenance!

“You move your workloads to the cloud and forget about maintenance,” tells us %cloud_vendor_name%. Well, that is true until something breaks. If you have a problem in your on-premises datacenter, you send your team in, and it becomes their home for the days and nights until it’s fixed. If something happens to your cloud provider, you pick up the phone and find out that you are #3067 on the line for help.

You save the monies!

The first dose of drugs is always free. And Microsoft wants you to become a junky, so they let you try for free. Many people underestimate how much cloud will cost you. For example, you may think: “I wanna keep my backups in Azure, the storage is freakin’ cheap!”. And you’d be right. But then if you need to pull out one email that you’ve accidentally deleted, you have to download a full 600Gb backup which will take you 5 full days. “But I just can run a machine in Azure, start Veeam Explorer for Exchange and pull out that email!” you’ll say. Tru dat, but once you start using the compute, you also start seeing the Azure bill skyrocketing.

A lot of people are more willing to pay X amount of dollars every month, rather than invest in the costly appliances. But in the end, there’s no guarantee you’ll save by migrating.

You can migrate right now!

Some managers will go to their IT department and say “I’ve seen Azure/AWS/Whatever presentations, they are so cool, we need to migrate our infrastructure right now”. Well, not so fast, bro. The headcount is the third problem a real-world IT department will encounter. On-premises and cloud workloads are operated differently. The cloud specialists simply require a different skill-set than your current employees. Until there’s no common ground and consistency between those two, businesses will stay out of moving to the cloud. Azure Stack might be the way to go, but we’ll see about that in the future.

It is safe!

Azure and other cloud service providers claim that their infrastructures are much safer than any on-prem ones. And that is true; they are investing tons of money into security. But then my colleague Mike Resseler brought up a good point: If you wanna steal some good money, you wouldn’t rob individual people, you’ll go to the bank. If you wanna highjack private info, you wouldn’t be breaking individual companies’ networks; you’ll break into the cloud provider storing the data from thousands of companies. The providers should ensure businesses they can protect their customers’ data.

Instead of conclusion

After all, I’m not saying cloud is bad. There are a lot of ways companies can benefit from it. I’m just saying, businesses want to be confident in a number of things about the cloud before migrating. Is it cost-effective? Is it safe? How do I keep consistency between cloud and on-prem? Do I need to sacrifice anything?

From what I’ve seen so far, at least in a backup world, people prefer to use their local Veeam Cloud Connect providers rather than send their backups somewhere unknown. And by local I mean like 10 miles away, so if anything happens a support guy will literally drive to your datacenter with a box of USB 3 disks containing your backups and help you get everything back. None of AAA players can do that.

I don’t really think we can avoid the cloud in the future, even the nearest future. The next 5 years or so would be very interesting. “Time will decide for us”.

About Ignite, Crazy Pills and Swaggernauts

About Ignite, Crazy Pills and Swaggernauts

Yeah-yeah, I’ve been terribly late, but that was an intense week here at Microsoft Ignite 🙃

Hi, ladies and gentlemen, DK here again.

Ignite is over, and let me tell you it was good. First of all for those who might not know what it is: it’s a conference from Microsoft presenting their products and services to ~20k people. It’s not like Apple’s with fancy new iPhones, watch bands, and one-more-thing. Ignite 2016 is a technical event for ITPros mostly spinning around Windows Server 2016 and Azure.

Windows Server 2016

Well, this time, I’m not going to dive into new features of WS2k16, I’d rather do separate posts like I did with new Resilient Change Tracking feature. Just want to mention that to me personally the release of new WS felt a bit like our own release of Veeam Backup and Replication v9: yes, some new cool stuff in the box, but mostly oriented to: a)enterprise b)fixing what was wrong with the previous version.

Time will show how they deliver.


Microsoft loves linux, MS Ignite

WTF is this? Well, let’s see:

  • .NET core now officially released for Linux and OS X.  And it is Open Source;
  • PowerShell and Visual Studio code open sourced;
  • Tens of thousands lines of code contributed to Linux core;
  • BASH ON WINDOWS w000000000t
  • and more

Feels like I’m sniffing crazy pills. Who would have believed Microsoft would say this 5-7 years ago? And 15 years ago when Steve Balmer was jumping on the stage bonkers and calling Linux and whole open-source movement a “cancer”?

Yes, the microsoft-loves-linux thing was announced a while ago, but now I actually felt like this statement has something behind it. Good job, Microsoft*!


Azure MS Ignite
’nuff said

For those, who don’t: Azure is a cloud platform that provides computing services. For example, you make a backup of your physical server, send it to Azure and it works from there like a normal computer would do.

This time, MSFT presented a lot of products with A-word: A-Monitor, A-Security Center, A-Stack, A-CLI, A-Data Intelligence, etc. I’ll eventually get to those when I get a chance, but the conference was stuffed with stories like “we used Azure and transformed our business to the extent when you take a seat in a rocket ship and fly to another galaxy at a speed of light”. Well, that might be an exaggeration, but obviously, Microsoft is trying to switch people’s minds towards the cloud, whether it’s public, or hybrid, but I still have my concerns on how it would work in real-world IT.

Anyway, Azure was literally EVERYWHERE. It’s easily the word of the week at Ignite.


All big events are about getting free swag. I myself didn’t get on a rampage, but I’ve seen a lot of people getting to booths with “Gimme some swag” attitude. My friends Clint Wyckoff and Dave Kawula even made a guide for those:

I’ve seen 4 booths (Including Veeam’s) using magicians to attract the audience. I’m not saying it’s bad, I’m just saying they are doing exactly the same tricks. HPEmanaged to get their audience without any tricks and made me scream H-P-EEE so many times that it got to my subconscious.

If you feel like I’ve mentioned too little about the event, you are right. But I’ll still be posting more on new things MS2016, Azure and all this in the future posts.


DK out

*That’s not a sarcasm. Really.