Set-VCFBackupConfiguration

Synopsis

Configure backup settings for NSX and SDDC manager

Syntax

Get-VCFBackupConfiguration

Description

The Set-VCFBackupConfiguration cmdlet configures or updates the backup configuration details for backing up NSX and SDDC Manager

Examples

Example 1

Set-VCFBackupConfiguration -privilegedUsername [email protected] -privilegedPassword [email protected]! -json backupConfiguration.json   

This example shows how to configure the backup configuration

Parameters

-privilegedUsername

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None

-privilegedPassword

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None

-json

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None

Sample JSON

Update Credentials with specified password

{
    "backupLocations": [ {
        "directoryPath": "/nfs/vmware/vcf/nfs-mount/backup",
        "password": "VMware123!",
        "port": 22,
        "protocol": "SFTP",
        "server": "192.168.110.55",
        "sshFingerprint": "SHA256:/VAp2bVvHlUeYv9qnSgqpVtx8kOQr9JoKhJiFnWW9sw",
        "username": "backup"
    } ],
    "encryption": {
        "passphrase": "VMware123!"
    }
}

Notes