"Back up Sawtooth transactions for disaster recovery."
Description
Write a script to be run daily to backup all sawtooth transactions in external storage for disaster recovery
Requirements
Add a script and ephemeral microservice that runs daily and backs up all pack sawtooth transactions to be stored externally. Pack data must be retrievable and in a format that is (ideally) easily/quickly reloaded into sawtooth.
Acceptance Criteria/Tests
No tests needed for this feature. Deliverable must include a new executable to backup sawtooth transactions, documentation for the output format, and a method to repeatedly run the script on a schedule.
tip: block store, transaction receipt and global state are stored in /var/lib/sawtooth/ directory,
keys generated for the Sawtooth validator are stored in /etc/sawtooth/keys/ directory.
tip: block store, transaction receipt and global state are stored in /var/lib/sawtooth/ directory, keys generated for the Sawtooth validator are stored in /etc/sawtooth/keys/ directory.