NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Data Protection

SnapCenter Powershell Help

NEPLUSULTRA
5,973 Views

Hello

 

1. In snapdrive i can use the command "sdcli snap create" and "sdcli snapshot rename" is there a similar options with snapcenter?

 

2. Snapcenter - is this powershell only?

 

3. If i want to run snapcenter powershell do i always have to open a connection to the snapcenter server?

 

 

1 ACCEPTED SOLUTION

mrahul
5,850 Views

No, Resources protected by SnapCenter and backups taken by it will only be available for management in GUI.

SnapCenter backups should be taken via SnapCenter PS cmdlets. Ex: New-smBackup. 

View solution in original post

5 REPLIES 5

mrahul
5,946 Views

Get-module SnapDrive should give you the list of  PS cmds you can use. Run it on the host where you have installed SCW plugin service.

 

SnapCenter supports three interface - UI, PowerShell and REST APIs. For PS cmdlet, you need to connect to SC server via open-smconnection cmdlet.

 

 

NEPLUSULTRA
5,932 Views

Don't suppose you know if using new-sdsnapshot to take a manual snapshot - does this snapshot appear in snapcenter?

mrahul
5,851 Views

No, Resources protected by SnapCenter and backups taken by it will only be available for management in GUI.

SnapCenter backups should be taken via SnapCenter PS cmdlets. Ex: New-smBackup. 

NEPLUSULTRA
5,842 Views

Thanks, seems we have to make a lot of adjustment from snapdrive/sme/smsql

 

Pat_Parent
5,939 Views

From what i see so far, PS is what snapcenter use....

 

Look for the following PS command

 

New-SmBackup, New-SdSnapshot

New-SmMountBackup, New-SmUnmountBackup

mount-SdSnapshot, Dismount-SdSnapshot

 

Look for SnapCenter 4.4 ,Cmdlet Reference Guide For Windows

Public