Pages

Search This Blog

Showing posts with label NetApp. Show all posts
Showing posts with label NetApp. Show all posts

Thursday, October 4, 2018

NetApp SMO Useful Commands

SMO Server start/stop/restart:

smo_server start
smo_server stop
smo_server restart

snapdrive start/stop/restart:

snapdrived start
snapdrived [-force] stop
snapdrived [-force] restart

smo backup list command:

smo backup list -profile <profile name>
smo backup list -profile <profile name> -verbose


Backup copy id:

smo backup show -profile $SOURCEPROFILE -label $BACKUPNAME

Ex:-
smo backup show -profile VIS -label D_A_20181004131216CDT


Backup Delete:

smo backup delete
-profile profile_name
[-label label [-data | -archivelogs] | [-id guid | -all]
-force
[-dump][-quiet | -verbose]

Ex:-
smo backup delete -profile SALES1 -label full_backup_sales_May
/usr/bin/smo backup delete -profile VIS -all -force