solidfire / PowerShell

Collection of scripts, functions, and examples using the SolidFire Tools for PowerShell
MIT License
27 stars 20 forks source link

Bucket option missing in Start-SFVolumeRestore #51

Closed scaleoutsean closed 6 years ago

scaleoutsean commented 6 years ago

get-help Start-SFVolumeRestore -full | Select-String Bucket

Manifest   1.5.0.119  SolidFire.Linux                     {Add-SFDrive, Add-SFInitiatorToVolumeAccessGroup, Add-SFNode, Add-SFSnmpNetwork...}                                                                                                                                         

PS /home/sean> $PSVersionTable                                                                                                                                                                                                                                                         

Name                           Value                                                                                                                                                                                                                                                  
----                           -----                                                                                                                                                                                                                                                  
PSVersion                      6.0.1                                                                                                                                                                                                                                                  
PSEdition                      Core                                                                                                                                                                                                                                                   
GitCommitId                    v6.0.1                                                                                                                                                                                                                                                 
OS                             Linux 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017                                                                                                                                                                             
Platform                       Unix                                                                                                                                                                                                                                                   
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                                                                                                                                                
PSRemotingProtocolVersion      2.3                                                                                                                                                                                                                                                    
SerializationVersion           1.1.0.1                                                                                                                                                                                                                                                
WSManStackVersion              3.0     
Salmanius commented 6 years ago

Hi Sean, thanks for catching this. It turns out there are 4 dynamic parameters that exist in the function, but aren't visible unless you call the function like: Start-SFVolumeRestore -RestoreFrom S3 They are:

Since they are dynamic, the default help does not include them. We will be adding them to the help file so that they exist when called like you described.

Salmanius commented 6 years ago

This has been fixed for version 1.6 coming out in the near future.

rtouillet commented 6 years ago

Hello guys,

In addition, if we compare to GUI, it seems that the

-manifest

doesn't exit. Can you add it so we can provide the correct path for the restore source?

Many thanks.

Renaud

ahaid commented 6 years ago

What "-Manifest" are you referring to?

scaleoutsean commented 6 years ago

I think he thinks Manifest should be a command option, but that's not how it works. Previous discussion:

https://community.netapp.com/t5/SolidFire-PowerShell-Discussions/Start-SFVolumeRestore-S3-backup-no-Manifest-option/m-p/137782#M15 #