{"id":18665644,"url":"https://github.com/gawsoftpl/hcloud-snapshots","last_synced_at":"2025-07-13T05:34:53.368Z","repository":{"id":259525939,"uuid":"878117671","full_name":"gawsoftpl/hcloud-snapshots","owner":"gawsoftpl","description":"Create snapshot and restore instance for project","archived":false,"fork":false,"pushed_at":"2025-07-03T16:13:00.000Z","size":479,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-03T17:26:15.760Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/gawsoftpl.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":"2024-10-24T20:09:49.000Z","updated_at":"2025-07-03T16:12:39.000Z","dependencies_parsed_at":"2024-10-26T07:47:30.740Z","dependency_job_id":"61a9c1b9-3f46-4afc-b6af-b7aee6f7e3f6","html_url":"https://github.com/gawsoftpl/hcloud-snapshots","commit_stats":null,"previous_names":["gawsoftpl/hcloud-snapshots"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/gawsoftpl/hcloud-snapshots","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gawsoftpl%2Fhcloud-snapshots","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gawsoftpl%2Fhcloud-snapshots/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gawsoftpl%2Fhcloud-snapshots/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gawsoftpl%2Fhcloud-snapshots/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gawsoftpl","download_url":"https://codeload.github.com/gawsoftpl/hcloud-snapshots/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gawsoftpl%2Fhcloud-snapshots/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265095199,"owners_count":23710611,"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":[],"created_at":"2024-11-07T08:28:31.688Z","updated_at":"2025-07-13T05:34:53.300Z","avatar_url":"https://github.com/gawsoftpl.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\nSimple create snapshot and restore server from snapshots in hetzner cloud\n\n# Commands\nCreate snapshot with project prefix (will create snapshot for all instances start with eq: test-project-*)\n```\nPROJECT_PREFIX=test-project\n#test-project-master-0\n#test-project-master-1 \n#etc...\n```\n\n```sh\nPROJECT_PREFIX=test-project node snapshot.js\n```\n\nRestore snapshot\n```sh\nPROJECT_PREFIX=test-project SSH_KEY_NAME=ssh-test node restore.js\n```\n\n# ENV\n\n## Required\n```sh\nPROJECT_PREFIX=\"\" #projectprefix name\nHCLOUD_TOKEN=\"xxx\" # Token to hcloud \nSSH_KEY_NAME=\"test\" # SSH Key name\n```\n\n## Optional\n```sh\nUSER_DATA=\"#cloud-config\\nruncmd:\\n- [touch, /root/cloud-init-worked]\\n\"\nNO_DELETE_SERVER=1 # Do not delete server after create dump\nNETWORKS_FORCE=\"network-1-network-2\" # Network force assigned to instances joined by \"-\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgawsoftpl%2Fhcloud-snapshots","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgawsoftpl%2Fhcloud-snapshots","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgawsoftpl%2Fhcloud-snapshots/lists"}