external help file | Module Name | online version | schema |
---|---|---|---|
HPESimpliVity-help.xml |
HPESimpliVity |
2.0.0 |
Rename existing HPE SimpliVity backup(s)
Rename-SvtBackup [-BackupName] <String> [-BackupId] <String> [<CommonParameters>]
Rename existing HPE SimpliVity backup(s).
BackupId is the only unique identifier for backup objects (e.g. multiple backups can have the same name). This makes using this command a little cumbersome by itself. However, you can use Get-SvtBackup to identify the backups you want to target and then pass the output to this command.
Get-SvtBackup -BackupName "Pre-SQL update"
PS C:\> Get-SvtBackup -BackupName 2019-05-11T09:30:00-04:00 | Rename-SvtBackup "Pre-SQL update"
The first command confirms the backup name is not in use. The second command renames the specified backup(s).
The new backup name. Must be a new unique name. The command fails if there are existing backups with this name.
Type: String
Parameter Sets: (All)
Aliases: NewName, Name
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The backup Ids of the backups to be renamed
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Author: Roy Atkins, HPE Services
https://github.com/atkinsroy/HPESimpliVity/blob/master/Docs/Rename-SvtBackup.md