Background documentationfile_restore Locate this document in the navigation structure

 

You copy the backup copy of the database file specified, which was created by the system, back to its original position. If a file already exists there, it will be overwritten.

In normal circumstances, it is not necessary to copy backup copies of database files to their original position manually as the system uses the backup copy of a database file automatically when access to the original fails.

Prerequisites

  • You have the server authorization DBFileRead.

  • You have determined the file ID of the file to be copied (see: file_getlist).

Structure

file_restore <file_id>

Result

OK

In the event of errors, see Reply Format.

More Information

Glossary, Database File