admin 管理员组

文章数量: 1087139


2024年4月18日发(作者:ospf防环机制)

sql server的备份语句

英文回答:

Basic syntax for backing up a database.

sql.

BACKUP DATABASE database_name.

TO disk_file_path.

WITH (。

[option] = value,。

...

)。

Options for the WITH clause.

The following options can be used in the `WITH` clause:

NAME: Specifies the name of the backup file.

DESCRIPTION: Specifies a description for the backup

file.

EXPIRY_DATE: Specifies the date when the backup file

will expire.

COPY_ONLY: Creates a copy-only backup, which cannot be

restored.

NORECOVERY: Creates a non-recoverable backup, which

cannot be used to restore the database.

STANDBY: Creates a standby backup, which can be used

to create a read-only replica of the database.

CHECKSUM: Computes a checksum for the backup file.


本文标签: 防环 语句 机制 备份 作者