CLI utility to backup and restore a SQLite database from IPFS. Requires local instance of GO-IPFS running
Arguments:
- [argName] = Optional
- (argName) = Required
- 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]
- 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]
- ipfs-sqlite restore bafybeidlb5h4waumukod6lqoyqtuolettlim5xxwlqtgrq66l65kwqsrzu
- ipfs-sqlite backup test_assets/Northwind_small.sqlite bafybeidlb5h4waumukod6lqoyqtuolettlim5xxwlqtgrq66l65kwqsrzu --unencrypted