Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jtsmedley/ipfs-sqlite-cli

CLI utility to backup and restore a database from IPFS. Requires local instance of GO-IPFS running
https://github.com/jtsmedley/ipfs-sqlite-cli

Last synced: 3 months ago
JSON representation

CLI utility to backup and restore a database from IPFS. Requires local instance of GO-IPFS running

Awesome Lists containing this project

README

        

# ipfs-sqlite

CLI utility to backup and restore a SQLite database from IPFS. Requires local instance of GO-IPFS running

Arguments:

- [argName] = Optional
- (argName) = Required

Encrypted Database Example

- node index.js backup (sqlite db to backup) [existing backup CID] [secret encryption Key] [secret encryption IV]
- node index.js restore (existing backup CID) [secret encryption Key] [secret encryption IV]

Unencrypted Database Example

- node index.js backup --unencrypted (sqlite db to
backup) [existing backup CID] [secret encryption Key] [secret encryption IV]
- node index.js restore (existing backup CID) [secret encryption Key] [secret encryption IV]

Unencrypted Northwind_small.sqlite Database Example

- ipfs-sqlite restore bafybeidlb5h4waumukod6lqoyqtuolettlim5xxwlqtgrq66l65kwqsrzu
- ipfs-sqlite backup test_assets/Northwind_small.sqlite bafybeidlb5h4waumukod6lqoyqtuolettlim5xxwlqtgrq66l65kwqsrzu
--unencrypted