Skip to content

Latest commit

 

History

History
89 lines (66 loc) · 2.14 KB

Rename-SvtBackup.md

File metadata and controls

89 lines (66 loc) · 2.14 KB
external help file Module Name online version schema
HPESimpliVity-help.xml
HPESimpliVity
2.0.0

Rename-SvtBackup

SYNOPSIS

Rename existing HPE SimpliVity backup(s)

SYNTAX

Rename-SvtBackup [-BackupName] <String> [-BackupId] <String> [<CommonParameters>]

DESCRIPTION

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.

EXAMPLES

EXAMPLE 1

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).

PARAMETERS

-BackupName

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

-BackupId

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String

OUTPUTS

HPE.SimpliVity.Task

NOTES

Author: Roy Atkins, HPE Services

RELATED LINKS

https://github.com/atkinsroy/HPESimpliVity/blob/master/Docs/Rename-SvtBackup.md