
Security News
CISA’s 2025 SBOM Guidance Adds Hashes, Licenses, Tool Metadata, and Context
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
digitalbits-core-backup
Advanced tools
This application is a simple backup/restore library which creates offline/cold backups and pushes them to S3. Backups can be restored automatically but the bucket data directory needs to be emptied first as digitalbits-core-backup doesn't overwrite existing data. This clean out can be done manually or by using the --clean
option with --restore
.
All options are configurable in a config file passed in with the --config
argument.
At present digitalbits-core-backup
makes a few assumptions about the environment and it expects digitalbits-core to be installed using the official Debian binary packages available at https://github.com/xdbfoundation/DigitalBits (). In the event that your own environment differs from this, digitalbits-core-backup
will likely break.
AWS credentials can be exported as environment variables or permissions can be granted by an IAM instance role.
To ensure archive consistency and integrity digitalbits-core-backup
can use GPG signing and verification. This is enabled by default but can be disabled using the --no-verify
argument.
The GPG key needs to be installed first which can be done using the --getkey
command.
We are using SKS Keyservers for public key distribution available at hkp://pool.sks-keyservers.net.
config param | description |
---|---|
working_dir | Path to working directory which will hold temporary files, needs sufficient space to store and untar 1 backup |
core_config | Path to digitalbits-core configuration file of the node we are backing up, retrieves database credentials, etc. |
backup_dir | Path to directory which will hold the final backup |
s3_region | S3 region |
s3_bucket | S3 bucket to store/retrieve buckets to/from |
s3_path | S3 Path prefix, can be used for backing up multiple core nodes to the same bucket |
gpg_key | GPG key ID used for signing and verification of the digitalbits-core backups. The provided ID is the Digitalbits public key |
pushgateway_url | Optional prometheus pushgateway URL to publish metrics to |
digitalbits-core-backup --config /etc/digitalbits/digitalbits-core-backup.conf --getkey
digitalbits-core-backup --config /etc/digitalbits/digitalbits-core-backup.conf --backup
digitalbits-core-backup --config /etc/digitalbits/digitalbits-core-backup.conf --restore --clean
digitalbits-core-backup --config /etc/digitalbits/digitalbits-core-backup.conf --list [num]
digitalbits-core-backup --config /etc/digitalbits/digitalbits-core-backup.conf --restore --clean --select [bucket-prefix/core-backup-name]
require 'digitalbits-core-backup'
if options[:backup] then
scb = DigitalbitsCoreBackup::Job.new(
:config => '/etc/digitalbits/digitalbits-core-backup.conf',
:type => 'backup'
)
scb.run()
elsif options[:restore]
scb = DigitalbitsCoreBackup::Job.new(
:config => '/etc/digitalbits/digitalbits-core-backup.conf',
:type => 'restore'
)
scb.run()
end
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that digitalbits-core-backup demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.