{"id":13930016,"url":"https://github.com/mediaCrowd/hcloud-migration","last_synced_at":"2025-07-19T12:31:16.888Z","repository":{"id":217600456,"uuid":"330215672","full_name":"mediaCrowd/hcloud-migration","owner":"mediaCrowd","description":"Shell Script to change the server-type in Hetzner Cloud to. Optimized to be used in a workflow with automated server migration in hcloud.","archived":false,"fork":false,"pushed_at":"2021-01-16T18:02:55.000Z","size":2,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-26T19:36:43.701Z","etag":null,"topics":["hcloud","hcloud-migration","hcloud-server","hetzner-cloud","hetzner-cloud-api","hetzner-cloud-migration","hetzner-cloud-servers","hetzner-cloud-utils"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/mediaCrowd.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-01-16T17:18:18.000Z","updated_at":"2022-01-10T21:54:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc812f63-d212-4c74-be36-3de43ce7d9fe","html_url":"https://github.com/mediaCrowd/hcloud-migration","commit_stats":null,"previous_names":["mediacrowd/hcloud-migration"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mediaCrowd/hcloud-migration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediaCrowd%2Fhcloud-migration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediaCrowd%2Fhcloud-migration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediaCrowd%2Fhcloud-migration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediaCrowd%2Fhcloud-migration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mediaCrowd","download_url":"https://codeload.github.com/mediaCrowd/hcloud-migration/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediaCrowd%2Fhcloud-migration/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265934185,"owners_count":23852086,"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":["hcloud","hcloud-migration","hcloud-server","hetzner-cloud","hetzner-cloud-api","hetzner-cloud-migration","hetzner-cloud-servers","hetzner-cloud-utils"],"created_at":"2024-08-07T18:02:40.863Z","updated_at":"2025-07-19T12:31:16.883Z","avatar_url":"https://github.com/mediaCrowd.png","language":"Shell","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"# Hetzner Cloud Server Migration\n\nThis script handles all required commands to migrate a hcloud server to a new server type.\n\n## Features\n\n- Run all required API commands with one shell command\n- checks the server status for every migration step\n- workflow is optimized to be used with automations, eg. crontab.\n- Text-output for logging and debugging keeps track of progress and server status\n\n## Important notes\n\n- migration is only possible when the server is not running, so this script will shut down your server!\n- the migration will keep the inital storage size! This is required to easily downgrade a server.\n- the script requries the 'jq' command.\n\n## Usage\n\n1. Clone this repo\n\n2. Copy the sample file to a `.sh`-file\n\n    eg. ```cp migrate.sh.sample migrate.sh```\n\n3. Enter required data\n    - server-id\n    - migration target (eg. \"cx21\")\n    - API key\n\n4. If not already done, install `jq`\n\n    ```apt-get install jq```\n\n5. Run your script or add it to your automation tool\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FmediaCrowd%2Fhcloud-migration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FmediaCrowd%2Fhcloud-migration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FmediaCrowd%2Fhcloud-migration/lists"}