Restore Database
  • 14 May 2021
  • 1 Minute to read
  • Dark
    Light
  • PDF

Restore Database

  • Dark
    Light
  • PDF

This is generated from the built in components of BuildMaster 7.0.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] -> Documentation within your BuildMaster instance to see exactly what operations are available.

Restore Database

Uses a Database Connection to restore a database from a file on disk.

Script usage:

Restore-Database(
	Connection: <text>,
	From: <text>,
	Name: <text>,
	[Verbose: <true/false>]
);

This operation may be prefixed with Core::, although this is a built-in namespace and isn't really necessary.

Arguments:

NameFormatScript UsageUsage Notes
Database connection
text
Connection
This argument is required.
From backup file
text
From
This argument is required.
To database name
text
Name
This argument is required.
Log database statements
true/false
Verbose

Was this article helpful?