The freezer.mode.sqlserver Module

class freezer.mode.sqlserver.SqlserverMode(conf)[source]

Bases: freezer.mode.mode.Mode

Execute a SQL Server DB backup. Currently only backups with shadow copy are supported. This mean, as soon as the shadow copy is created the db writes will be blocked and a checkpoint will be created, as soon as the backup finish the db will be unlocked and the backup will be uploaded. A sql_server.conf_file is required for this operation.

name
prepare()[source]
release()[source]
start_sql_server()[source]

Start the SQL Server instance after the backup is completed

stop_sql_server()[source]

Stop a SQL Server instance to perform the backup of the db files

version