Page tree

This page has not yet been translated to English.

Skip to end of metadata
Go to start of metadata

Backing up game data to a specified file. Can be used to convert files to different format.

Example:

Charon.exe DATA BACKUP --dataBase c:\myapp\gamedata.json --output c:\myapp\backup.xml --outputFormat xml

Command parameters

Parameter

Type

Required

Description

Example

dataBase

string

yes

Path to game data file. Use quotation marks if your path contains spaces.

"c:\my app\gamedata.json"
/User/Data/gamedata.json
output

file, err, null, out, url

yes

Path to a file to which data will be saved. If the file exists, it will be overwritten. The directory must already exist. Alternatively, you can use output to Standart Error, Standart Output, dev/null & URL.

"c:\my app\backup.json"
/User/Data/backup.json
http://example.com\backup.json
outputFormat

json, bson, msgpack, xml, xlsx

no

Format to use when saving game data. See Supported data formats for more information.

Default: json.


outputFormattingOptions

See Supported data formats

no

Additional formatting parameters. Depend on selected data format.


Related pages