January 24, 2016 at 9:58 pm
Comments posted to this topic are about the item Backup File Inventory
January 25, 2016 at 7:39 am
Not to put too find a point on it, but Minion Backup gives you this out of the box.
Watch my free SQL Server Tutorials at:
http://MidnightDBA.com
Blog Author of:
DBA Rant – http://www.MidnightDBA.com/DBARant
January 25, 2016 at 7:58 am
A quick look at the license shows the Minion customer may not:
b. Evaluate the Software for the purpose of competing with MinionWar
Licenses written like this are a can of worms.
412-977-3526 call/text
January 25, 2016 at 8:03 am
Not really. We just don't want you taking our code and releasing your own product based off of it. As far as I know, pretty much everything else is fair game.
Watch my free SQL Server Tutorials at:
http://MidnightDBA.com
Blog Author of:
DBA Rant – http://www.MidnightDBA.com/DBARant
January 25, 2016 at 9:18 am
We went over to MinionBackup a while ago. No need for scripts like this (though I'm a big-time Python fan! So much better than PowerShell I hardly know where to start.)
Gerald Britton, Pluralsight courses
January 25, 2016 at 9:21 am
Thanks for that.
Now, I'd really love to hear your thoughts on Python vs PS.
Watch my free SQL Server Tutorials at:
http://MidnightDBA.com
Blog Author of:
DBA Rant – http://www.MidnightDBA.com/DBARant
January 25, 2016 at 9:45 am
About the only kind of software I can deploy to the hundred of sites I connect to is open source.
Everything else goes through a completely different channel.
The script published in the article might be open source, the Minion license isn't. They BOTH have value.
412-977-3526 call/text
January 25, 2016 at 9:49 am
The script published in my article is open source.
January 25, 2016 at 9:55 am
That's correct, the Minion license isn't open source, but it's free.
And we've got users who have modified it to suite their purposes. They just can't turn around and re-release it.
The only modifications i'm aware of to date are having it conform to their filename specs.
Watch my free SQL Server Tutorials at:
http://MidnightDBA.com
Blog Author of:
DBA Rant – http://www.MidnightDBA.com/DBARant
January 25, 2016 at 10:06 am
KenpoDBA (1/25/2016)
Thanks for that.Now, I'd really love to hear your thoughts on Python vs PS.
I haven't worked up a detailed comparison, but I'll start here:
Python is rightly called "easy to learn and hard to forget".
I'd say PS is exactly the opposite.
Some random thoughts in no particular order:
- indenting vs braces: Python code is easy on the eyes thanks to *required* indenting. F# borrowed that idea (and gave credit!).
- import MyDll vs [Reflection.Assembly]::LoadFile("MyDll.dll"): Easy syntax to bring in additional namespaces
- Classes:
def MyClass:
# code
vs
Add-Type -Language CSharp @"
public class Record{
/* code */
}
"@;
- comparisons:
<,>,==, <=, >= etc vs -lt, -gt, -eq, etc
- in Python, everything has a Boolean value
if foo vs if (foo = 'True')
- Very mature, high-performance language with thousands of free packages for pretty much anything you like
It's a real pity Microsoft abandoned the IronPython project (.NET version of Python). Re-inventing the wheel helped no one.
Gerald Britton, Pluralsight courses
January 25, 2016 at 11:33 am
To the debate on Python vs. PowerShell, I would add the following.
PowerShell is engineered for maintenance of the Windows enterprise. The use of "cmdlets" makes it more of an API than a language, although certainly it has higher level language elements.
Python is probably more of a "pure" computer language, in this case, it dovetails with PowerShell in offering OS access features.
PowerShell is also a fine choice for a utility like this, in my case Python is also free and I've taught a community college course in the language so it's more familiar to me.
January 25, 2016 at 12:14 pm
jsaskey (1/25/2016)
To the debate on Python vs. PowerShell, I would add the following.PowerShell is engineered for maintenance of the Windows enterprise. The use of "cmdlets" makes it more of an API than a language, although certainly it has higher level language elements.
Python is probably more of a "pure" computer language, in this case, it dovetails with PowerShell in offering OS access features.
PowerShell is also a fine choice for a utility like this, in my case Python is also free and I've taught a community college course in the language so it's more familiar to me.
Interesting. I've been teaching Python for a little while now myself! What PS calls cmdlets, Python calls functions. The real shame is the Microsoft abandoned IronPython, though there is still a project that is alive and well.
I've been trying to find some time to convert some typical PS scripts to (Iron)Python.
Gerald Britton, Pluralsight courses
February 25, 2016 at 4:35 pm
Thanks for the article.
February 26, 2016 at 11:16 am
You're welcome - hope it was useful!
Viewing 14 posts - 1 through 13 (of 13 total)
You must be logged in to reply to this topic. Login to reply