-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Database Backups
Thomas edited this page May 14, 2018
·
2 revisions
The Chainlink node now supports backing up of the database. To back up, run the following command while the node is running:
$ chainlink backup /path/to/backup.datThis will create a file backup.dat at the specified /path/to directory.
To restore the database, copy the file to your ROOT directory renamed as db.bolt:
$ cp /path/to/backup.dat $ROOT/db.boltKeep in mind, the default path for $ROOT is the ~/.chainlink directory.