Import-R1StoreBackup

SYNOPSIS

Restores a RadiantOne Directory store from a backup archive.

SYNTAX

Import-R1StoreBackup [-dn] <String> [-Path] <String> [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Uploads a backup archive and restores the RadiantOne Directory store mounted at the naming context node from it, replacing its current contents. The file is sent as multipart form data.

EXAMPLES

Example 1

Import-R1StoreBackup -dn 'o=store' -Path 'C:\backup\o=store.zip'

Restores the store from an archive written by Export-R1StoreBackup, after prompting for confirmation.

PARAMETERS

-dn

The DN of the store.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Path

The backup archive to upload.

Type: String
Parameter Sets: (All)
Aliases: FullName

Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
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

None

OUTPUTS

System.Void

NOTES

Export-R1StoreBackup

Restore-R1Store