aws-snapshots
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i aws-snapshots

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

17.1 kB

Total Files

17

Last publish

Collaborators

  • shlokm289