# FileDataStore command

This command is used to construct the FE_Datastore object.

```tcl database $type $dbName ```

type

database type:

File - outputs database into a file

MySQL - creates a SQL database

BerkeleyDB - creates a BerkeleyDB database

dbName

database name.


Note 1: If the database type is File, the command will save the data into a number of files, e.g. $dbName.id11 for all ID objects of size 11 that sendSelf() is invoked upon.

Note 2:The invocation of this command will add the additional commands save and restore to the OpenSees interpreter to allow users to save and restore model states.