< Back

Rename-SVTbackup

Tue Jan 14, 2020 2:14 am

NAME 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 pipe the output to this command.





PARAMETERS

-BackupName <String>

The new backup name. Must be a new unique name. The command fails if there are existing backups with this name.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-BackupId <String>

The backup Ids of the backups to be renamed



Required? true

Position? 2

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String





OUTPUTS

HPE.SimpliVity.Task





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>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).











RELATED LINKS