forked from vocdoni/vocdoni-node
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vochain/indexer: add support for backups
A new SaveBackup method which creates a backup to a file on disk, and a new BackupPath constructor option which can restore them. This only implements backing up and restoring from a file on disk. Future changes will integrate this with the rest of the codebase, such as taking regular backups or listing the stored backups. Updates vocdoni#1062.
- Loading branch information
Showing
2 changed files
with
112 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters