-
Notifications
You must be signed in to change notification settings - Fork 53
Clientbackup script #81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Rob,
Sorry about this. I’m a GitHub noob. Not sure how to fix this. Suggestions?
Tom C. Simerson
Account SE and Data Protection TC
Veritas Technologies LLC
Mobile: (972) 750 6519
tom.simerson@veritas.com<mailto:tom.simerson@veritas.com>
[cid:image001.png@01D69CA3.00F951B0]
Simplifying Complexity
This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication.
From: Rob Kennedy <notifications@github.com>
Sent: Monday, September 21, 2020 11:17 AM
To: VeritasOS/netbackup-api-code-samples <netbackup-api-code-samples@noreply.github.com>
Cc: Tom Simerson <Tom.Simerson@veritas.com>; Author <author@noreply.github.com>
Subject: [Newsletter][EXTERNAL] Re: [VeritasOS/netbackup-api-code-samples] Clientbackup script (#81)
@rkennedy requested changes on this pull request.
________________________________
In README.md<#81 (comment)>:
@@ -1,56 +0,0 @@
-### NetBackup API Code Samples
Please don't delete the top-level readme.
________________________________
In recipes/powershell/ClientBackup.ps1<#81 (comment)>:
+ * one incremental
+ * Client name added to Clients tab
+* Use command line parameters to specify the following parameters
+ * -policy (to reference above policy)
+ * -apikey (generated through NetBackup web UI)
+* API key uesr must have following privileges assigned to it's role:
+ * Minimum specific privileges:
+ * Global -> NetBackup management -> NetBackup images -> View
+ * Global -> Protection -> Policies -> View
+ * Global -> Protection -> Policies -> Manual Backup
+* PowerShell Execution Policy needs to be opened
+#>
+
+
+param (
+ [string]$p = $(throw "Please speicfy the policy name using -p parameter."),
⬇️ Suggested change
- [string]$p = $(throw "Please speicfy the policy name using -p parameter."),
+ [string]$p = $(throw "Please specify the policy name using -p parameter."),
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#81 (review)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AQTXLL4ZLG3P4JCXT5Y2VBLSG537ZANCNFSM4RND25HQ>.
|
If you don't already have a directory with your work in it, then clone this repo and check out this branch. (You might already have something, since it's what you used to submit this in the first place.) Then, make the changes I've requested:
Run If you hit any problems, you can find me on Teams, and I can help out or take over any time. |
ClientBackup.ps1 is a PowerShell script designed to backup a Windows client using a command line specified policy name and API key. Didn't exactly fit into the directory structure so put in powershell directory.
b5c99a3
to
ebdf977
Compare
ebdf977
to
fcc1cd8
Compare
ClientBackup.ps1 is a PowerShell script designed to backup a Windows client using a command line specified policy name and API key.
ClientBackup.zip