Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jtsmedley/ipfs-sqlite-cli
- Owner: jtsmedley
- Created: 2021-10-16T19:51:53.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-14T01:06:12.000Z (almost 3 years ago)
- Last Synced: 2024-08-01T06:20:51.014Z (6 months ago)
- Language: JavaScript
- Size: 515 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-decentralized-database - ipfs-sqlite-cli - CLI utility to backup and restore a database from IPFS. Requires local instance of GO-IPFS running. (Relational Databases / IPFS)
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) = RequiredEncrypted 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