Background documentationfile_restore Locate this document in the navigation structure

 

You can use this command to copy the backup copy of a database file created by the system, to its original position. Should the file still exist there, it will be overwritten.

Note Note

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. Therefore, use this command only, when asked to do so by technical support.

End of the note.

Prerequisites

  • You have the server permissionDBFileRead.

  • 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