Support Center

Quick Start - Minion Backup

Last Updated: Apr 05, 2017 02:43PM CDT
This entire document is available within the Minion Backup product using the stored procedure Minion.HELP.

System requirements: 
  • SQL Server 2008* or above.
  • The sp_configure setting xp_cmdshell must be enabled**.
  • PowerShell 2.0 or above; execution policy set to RemoteSigned.
Once MinionBackup1.3.sql has been run, nothing else is required.  From here on, Minion Backup will run nightly to back up all non-TempDB databases.  The backup routine automatically handles databases as they are created, dropped, or renamed. 

View the “Minion Install Guide.docx” (in the extracted MinionWare folder) for full instructions and information on the installer. The basic steps to installing Minion Backup are:
  1. Download MinionBackup1.3.zip from MinionWare.nethttp://www.MidnightSQL.com/Minion and extract all files. Note: If you have never used a MinionWare product, extract the “MinionWare” folder and files to the location of your choice.  If you have an existing MinionWare folder from previous downloads, extract the files there.
  2. Open Powershell as administrator, and use Get-ExecutionPolicy to determine the current execution policy. If it is Unrestricted or RemoteSigned, the script should be able to run. Otherwise, use Set-ExecutionPolicy RemoteSigned
  3. For each of the following files, right-click and select Properties, and select “Unblock”. (This allows you to run scripts downloaded from the web using RemoteSigned.)
    1. …\MinionWare\MinionSetupMaster.ps1
    2. …\MinionWare\MinionSetup.ps1
    3. …\MinionWare\Includes\BackupInclude.ps1
  4. Run MinionSetupMaster.ps1 in the PowerShell window as follows:
    .\MinionSetupMaster.ps1 <servername> <DBName> <Product>

    Examples:
    .\MinionSetupMaster.ps1 localhost master Backup
    or
    .\MinionSetupMaster.ps1 YourServer master Backup

Note that you can install multiple products, and to multiple servers. For more information, see the “Minion Install Guide.docx”.

Once MinionBackup1.3.sql has been run, nothing else is required.  From here on, Minion Backup will run nightly to back up all non-TempDB databases.  The backup routine automatically handles databases as they are created, dropped, or renamed. 

For simplicity, this Quick Start guide assumes that you have installed Minion Backup on one server, named “YourServer”.

Note: You can also use the “MinionMassInstall.ps1” PowerShell script provided with the Minion Backup download to install Minion Backup on dozens or hundreds of servers at once, just as easily as you would install it on a single instance.

*There is a special edition of Minion Backup specifically for SQL Server 2005.
But, be aware that this edition will not be enhanced or upgraded,
some functionality is reduced, and it will have limited support.

** xp_cmdshell can be turned on and off with the database
PreCode / PostCode options, to help comply with security policies.

For more information on xp_cmdshell, see “Security Theater
on www.MidnightDBA.com/DBARant.

  
556ca399015f31edc97a62de2771be1a@minionware.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete