-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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.dat
This 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.bolt
Keep in mind, the default path for $ROOT is the ~/.chainlink
directory.