--- title: "Backup Database" ---
This is generated from the built in components of BuildMaster 2023.0, and may be different than what you have installed (especially if you have extensions); go to [Gear Icon] -> Administration -> Operations within your BuildMaster instance to see exactly what operations are available.

Uses a Database Connection to back up a database to a file on disk.

Script usage:

DB::Backup-Database(
	Connection: <text>,
	Name: <text>,
	To: <text>
);

Arguments:

NameFormatScript UsageUsage Notes
Database connection
text
Connection
This argument is required.
From database name
text
Name
This argument is required.
To backup file
text
To
This argument is required.