Skip to content

Commit da418f4

Browse files
author
Chris Lumnah
committed
Backup Validation and CHECKDB Demo
1 parent c1702c6 commit da418f4

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed

.DS_Store

0 Bytes
Binary file not shown.
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {
6+
"dotnet_interactive": {
7+
"language": "pwsh"
8+
}
9+
},
10+
"source": [
11+
"# Backup Validation and DBCC CHECKDB using Rubrik Live Mount"
12+
]
13+
},
14+
{
15+
"cell_type": "code",
16+
"execution_count": null,
17+
"metadata": {
18+
"dotnet_interactive": {
19+
"language": "pwsh"
20+
}
21+
},
22+
"outputs": [],
23+
"source": [
24+
"$PROFILE\n",
25+
"#Connect-Rubrik with an API Token\n",
26+
"$Rubrik.Server.cdm02\n",
27+
"# $Server = \"amer1-rbk01.rubrikdemo.com\"\n",
28+
"# $Token = \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI2MTE4MjEyNC0yMGNmLTQwM2EtYWE4Yi00NDYxOWVhZjBmMDIiLCJpc3MiOiI1ZDYyZjBlNy1jNjQ2LTQ5NjMtOGE1Zi1kOTVkMGFiNWZmMGIiLCJqdGkiOiIzYWI0ODY5Ni1mMzU1LTRiYTQtOTNjOC00NTBhZDljNmEyNzgifQ.K1zReV2yTeXu8J6FGEAYvcYoVeURqljMAh_8kEIU1hE\"\n",
29+
"# Connect-Rubrik -Server $Server -Token $Token\n",
30+
"\n",
31+
"# # Get database information from Rubrik\n",
32+
"# $SourceSQLServerInstance = \"am1-sql16-1\"\n",
33+
"# $SourceDatabaseName = \"AdventureWorks2016\"\n",
34+
"# $RubrikDatabase = Get-RubrikDatabase -Name $SourceDatabaseName -ServerInstance $SourceSQLServerInstance"
35+
]
36+
}
37+
],
38+
"metadata": {
39+
"interpreter": {
40+
"hash": "31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6"
41+
},
42+
"kernelspec": {
43+
"display_name": ".NET (C#)",
44+
"language": "C#",
45+
"name": ".net-csharp"
46+
},
47+
"language_info": {
48+
"file_extension": ".cs",
49+
"mimetype": "text/x-csharp",
50+
"name": "C#",
51+
"pygments_lexer": "csharp",
52+
"version": "9.0"
53+
}
54+
},
55+
"nbformat": 4,
56+
"nbformat_minor": 2
57+
}

0 commit comments

Comments
 (0)