Command Reference : Command Reference
  
 
dbcopy
Make a copy of an existing database.
Syntax
dbcopy [path\]source_name [path\]copy_name
Follow the dbcopy command by the name of the existing database and a name for the copy. You should include a path name to copy from or to a database that is not in the default directory. All files associated with the database will be copied.
Options
 
type=arg
Specify the source database type: (see table below). The default is to read an EViews 7 database.
desttype=arg, t=arg
Specify the destination database type: (see table below). The default is to create an EViews 7 database.
The following table summaries the various database formats, along with the corresponding allowable “type=” and “desttype=” keywords:
 
 
Option Keywords
Aremos-TSD x
“a”, “aremos”, “tsd”
DRIBase x
“b” “dribase”
DRIPro Link x
“dripro”
DRI DDS
“dds”
EViews
“e”, “evdb”
EViews 6 compatible
“eviews6”
FAME
“f”, “fame”
GiveWin/PcGive
“g”, “give”
RATS 4.x
“r”, “rats”
RATS Portable / TROLL
“l”, “trl”
TSP Portable
“t”, “tsp”
For the source specification, the following options may be required when connecting to a remote server:
 
s=server_id, server=server_id
Server name
u=user, username=user
Username
p=pwd, password=pwd
Password
For the destination specification, the following options may be required when connecting to a remote server:
 
dests=server_id, destserver =server_id
Server name
destu=user, destusername=user
Username
destp=pwd, destpassword =pwd
Password
Examples
dbcopy usdat c:\backup\usdat
makes a copy of all files associated with the database USDAT in the default path and stores it in the “c:\backup directory under the basename “Usdat.
Cross-references
See “EViews Databases” for a discussion of EViews databases.
See also dbrename and dbdelete.