-
-
Notifications
You must be signed in to change notification settings - Fork 13
Start UdeDatabaseRefresh
Start a database refresh between two environments
Start-UdeDatabaseRefresh [-SourceEnvironmentId] <String> [[-TargetEnvironmentId] <String>]
[[-CopyType] <String>] [-IncludeAuditData] [-AdvancedFnO] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
Enables the user to start a database refresh between two environments in the same tenant.
The source and target environments must both be either managed or unmanaged.
Start-UdeDatabaseRefresh -SourceEnvironmentId *dev* -TargetEnvironmentId *uat*
This will start a full copy database refresh from the environment with id containing "dev" to the environment with id containing "uat". It defaults to a full copy.
Start-UdeDatabaseRefresh -SourceEnvironmentId *dev* -TargetEnvironmentId *uat* -CopyType FullCopy
This will start a full copy database refresh from the environment with id containing "dev" to the environment with id containing "uat".
Start-UdeDatabaseRefresh -SourceEnvironmentId *dev* -TargetEnvironmentId *uat* -CopyType TransactionLess
This will start a transaction-less database refresh from the environment with id containing "dev" to the environment with id containing "uat".
Start-UdeDatabaseRefresh -SourceEnvironmentId *dev* -TargetEnvironmentId *uat* -CopyType FullCopy -IncludeAuditData
This will start a full copy database refresh from the environment with id containing "dev" to the environment with id containing "uat". It will include audit data in the copy.
Start-UdeDatabaseRefresh -SourceEnvironmentId *dev* -TargetEnvironmentId *uat* -CopyType FullCopy -AdvancedFnO
This will start a full copy database refresh from the environment with id containing "dev" to the environment with id containing "uat".
It will execute an advanced copy for Finance and Operations.
Id of the source environment that you want to copy the database from.
Type: String
Parameter Sets: (All)
Aliases: Source
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseId of the target environment that you want to copy the database to.
Type: String
Parameter Sets: (All)
Aliases: Target
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseType of copy to perform.
Valid values are "FullCopy" and "TransactionLess".
Default is "FullCopy".
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: FullCopy
Accept pipeline input: False
Accept wildcard characters: FalseInstructs the cmdlet to include audit data in the copy.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseInstructs the cmdlet to execute an advanced copy for Finance and Operations.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Author: Mötz Jensen (@Splaxi)