aws-snapshots
v1.0.1
Published
Automatically backup AWS DynamoDB Tables to IPFS via Web3.storage
Downloads
4
Maintainers
Readme
Backup AWS DynamoDB to IPFS
A simple library allowing orgs to backup their data from AWS DynamoDB to a distributed database like IPFS.
To get started:
Import Snapshots in your project
import { Snapshots } from 'aws-snapshots
Initialize a Snapshot Instance
const snapshots = new Snapshots(AWS_ACCESS_KEY, AWS_SECRET_KEY, 'YOUR_AWS_REGION')
Backup your DynamoDB table with Web3Storage
const main = async () => { const ipfsCid = await snapshots.backupToIpfs('wallet_transactions', web3Storage, 'test_backups') console.log(ipfsCid) }
© 2022 Bytekode Labs, Inc