Places a database in read-only mode for archiving.
BEGINARCHIVE App DB file
App | Name of the application to archive. |
DB | Name of the database to archive. |
file | The file to contain the archive. |
Changing the server mode to Read-only allows the database administrator to use an archiving program to back up all the files on the server. This also prevents writing to the files during backup.
The server's Read-only state persists until it is changed back to Read-write with the ENDARCHIVE command. Unless you reset the Read-only state, it persists even after termination of the current session.
The database files to back up are listed in the application\database directory specified by the filename parameter. The archived data overwrites the information in the specified file, if the file already exists. See the Database Administrator's Guide for more information about restructuring and backup files.
BEGINARCHIVE "Sample" "Sales" "June";
©2004 Hyperion Solutions Corporation. All Rights Reserved. http://www.hyperion.com |