1.0.1 • Published 1 year ago

aws-snapshots v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

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:

  1. Import Snapshots in your project import { Snapshots } from 'aws-snapshots

  2. Initialize a Snapshot Instance const snapshots = new Snapshots(AWS_ACCESS_KEY, AWS_SECRET_KEY, 'YOUR_AWS_REGION')

  3. 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