freezer.mode.sqlserver module

class freezer.mode.sqlserver.SqlserverMode(conf)

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.

property name
prepare()
release()
start_sql_server()

Start the SQL Server instance after the backup is completed

stop_sql_server()

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

property version