env dbrename

env dbrename
	[-auto_commit]
	[-txn txnid]
	[--]
	file
	newname  

Rename the Berkeley DB database file to newname.

The options are as follows:

The env dbrename command returns 0 on success, and in the case of error, a Tcl error is thrown.