New-EdFiDatabaseLifecycle

Description

Creates a new Ed-Fi database lifecycle composed of the following strategies: backup strategy, remove strategy, create strategy, and script strategy. 

Syntax

New-EdFiDatabaseLifecycle [-Settings] <hashtable> [-Database] <string> [-csb] <DbConnectionStringBuilder> [[-CreateByRestoringBackup] <string>] [[-BackupStrategy] <scriptblock>] [[-RemoveStrategy] <scriptblock>] [[-CreateStrategy] <scriptblock>] [[-ScriptStrategy] <scriptblock>] [<CommonParameters>]

Parameters

Name

Alias

Description

Required?

Pipeline Input

Default Value

-BackupStrategy

None


false

false


-CreateByRestoringBackup

None


false

false


-CreateStrategy

None


false

false


-Database

None


true

false


-RemoveStrategy

None


false

false


-ScriptStrategy

None


false

false


-Settings

None


true

false


-csb

None


true

false