Page 1 of 1

Snapshotting Schedule

Posted: Wed Mar 04, 2015 4:13 pm
by robc
I am after scheduling the snapshoting on each device to happen one a day and keep the previous 5 snapshots.
I really expected there to be a simple way to achieve this but I cant seem to find it.

I did have a go at powershell but it was not happening for me.
I go to:

Code: Select all

$server = New-SWServer -host 127.0.0.1 -port 3261 -user root -password starwind
$server.Connect()
if ( $server.Connected )
{
  #Enter code here
  
   
    $server.Disconnect()
}
But then I try to add the new-snapshot cmdlett I just get an error: The property 'Connected' cannot be found on this object.

Can anyone recommend a way of doing this by schedule?

Re: Snapshotting Schedule

Posted: Fri Mar 06, 2015 5:17 pm
by Tarass (Staff)
Hi Rob,

Please make sure you have the latest StarWind build installed. I have uploaded a draft of snapshot rotation document and the script to be used with it.
Read it carefully and try again. Let me know if it does not work.