Skip to content

Instantly share code, notes, and snippets.

@slapointe
slapointe / backup.ps1
Created January 12, 2017 12:45 — forked from marisks/backup.ps1
Backup RavenDB all DBs by providing tenants in parameter. Works with PowerShell 2. For usage see backup_dbs.ps1 and restore_dbs.ps1 Original script works only with PowerShell 3: http://ravendb.net/kb/46/backing-up-all-databases-using-powershell
param(
[parameter(Mandatory=$true)]
[string]
$ravenUrl,
[parameter(Mandatory=$true)]
[string]
$backupDir,
[parameter(Mandatory=$true)]
[string]
$ravenBackupTool,