{"id":16742737,"url":"https://github.com/jesusthehun/lisk-plugin-backup","last_synced_at":"2025-06-22T21:37:45.026Z","repository":{"id":89178206,"uuid":"362782988","full_name":"JesusTheHun/lisk-plugin-backup","owner":"JesusTheHun","description":"Backup your forger info into S3 buckets","archived":false,"fork":false,"pushed_at":"2021-05-02T11:37:08.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-20T05:07:57.871Z","etag":null,"topics":["backup","blockchain","lisk"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JesusTheHun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-29T10:46:13.000Z","updated_at":"2021-05-02T11:37:10.000Z","dependencies_parsed_at":"2023-07-12T01:33:34.645Z","dependency_job_id":null,"html_url":"https://github.com/JesusTheHun/lisk-plugin-backup","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"b241e20f20acce8dd01fc731f2cd05db892eba18"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JesusTheHun/lisk-plugin-backup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JesusTheHun%2Flisk-plugin-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JesusTheHun%2Flisk-plugin-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JesusTheHun%2Flisk-plugin-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JesusTheHun%2Flisk-plugin-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JesusTheHun","download_url":"https://codeload.github.com/JesusTheHun/lisk-plugin-backup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JesusTheHun%2Flisk-plugin-backup/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261373727,"owners_count":23148919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backup","blockchain","lisk"],"created_at":"2024-10-13T01:24:46.965Z","updated_at":"2025-06-22T21:37:40.002Z","avatar_url":"https://github.com/JesusTheHun.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Lisk Plugin Backup \n\n![npm](https://img.shields.io/npm/v/lisk-plugin-backup)\n\n## Installation\n\n```bash\nnpm install lisk-plugin-backup\n# or\nyarn add lisk-plugin-backup\n```\n\n## Getting started\n\n```js\n// src/application/index.js\n\nimport { BackupPlugin } from 'lisk-plugin-backup';\n\napp.registerPlugin(BackupPlugin);\n```\n\n## Usage\n\nOnce configured, the plugin will backup the data when appropriate.\nCurrently, only `forger-info` are supported, and they will be backup'ed every time you forge a block.\n\n\n## Configuration\n\nThe plugin is designed to support a number of ways to backup the data.\nSo far only the `s3` adapter is available.\n\n```js\n// src/application/index.js\n\nconst appConfig = utils.objects.mergeDeep({}, configDevnet, {\n  plugins:  {\n      \"backup\": {\n          \"forgerInfo\": {\n              \"enable\": true,\n              \"adapter\": \"s3\",\n              \"adapterParams\": {\n                  \"accessKey\": \"YOUR_ACCESS_KEY\",\n                  \"privateKey\": \"YOUR_PRIVATE_KEY\",\n                  \"region\": \"YOUR_REGION\",\n                  \"endpoint\": \"YOUR_BUCK_HOSTNAME_WITHOUT_SCHEME\",\n                  \"objectPath\": \"DESTINATION_PATH\",\n                  \"metadata\": { // arbitratry metadata for the S3 object\n                      \"chain\": \"MY_CHAIN_NAME\",\n                      \"network\": \"devnet\"\n                  }\n              }\n          }\n      }\n  },\n});\n\nconst app = Application.defaultApplication(genesisBlockDevnet, appConfig); \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesusthehun%2Flisk-plugin-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjesusthehun%2Flisk-plugin-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesusthehun%2Flisk-plugin-backup/lists"}