{"id":19235219,"url":"https://github.com/sensson/python-openstack-backup","last_synced_at":"2026-03-02T19:09:29.497Z","repository":{"id":50097990,"uuid":"155991522","full_name":"sensson/python-openstack-backup","owner":"sensson","description":"A simple set of CLI tools to create and restore snapshots/backups on OpenStack","archived":false,"fork":false,"pushed_at":"2023-02-08T00:44:13.000Z","size":20,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-21T05:42:02.485Z","etag":null,"topics":["fuga","openstack","openstack-sdk","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","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/sensson.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,"zenodo":null}},"created_at":"2018-11-03T14:36:49.000Z","updated_at":"2024-10-28T10:06:42.000Z","dependencies_parsed_at":"2025-04-21T05:46:30.281Z","dependency_job_id":null,"html_url":"https://github.com/sensson/python-openstack-backup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sensson/python-openstack-backup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensson%2Fpython-openstack-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensson%2Fpython-openstack-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensson%2Fpython-openstack-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensson%2Fpython-openstack-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sensson","download_url":"https://codeload.github.com/sensson/python-openstack-backup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensson%2Fpython-openstack-backup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30016507,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T17:00:27.440Z","status":"ssl_error","status_checked_at":"2026-03-02T17:00:03.402Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["fuga","openstack","openstack-sdk","python3"],"created_at":"2024-11-09T16:16:19.108Z","updated_at":"2026-03-02T19:09:29.469Z","avatar_url":"https://github.com/sensson.png","language":"Python","readme":"# OpenStack CLI backup tools\n\nThis repository contains a few useful tools to manage your instances on\nOpenStack. It was written to support our backup needs in an environment\ncreated to run volatile services.\n\nWARNING: we use snapshots as a way to create crash consistent backups. These\nbackups may not include all data. Any data not `sync`'d to disk may be lost.\n\nRead more about [crash consistent vs. application consistent](https://searchdatabackup.techtarget.com/answer/Crash-consistent-vs-application-consistent-backups-of-virtual-machines).\n\n# Installation\n\nConfigure your OpenStack cloud(s). The example and default is based on [Fuga](https://fuga.cloud/).\n\n- Copy `clouds.yaml.example` to `clouds.yaml` and fill in your details.\n- Copy `secure.yaml.example` to `secure.yaml` and fill in your password.\n\nWe suggest you run this from a virtualenv.\n\n```\nvirtualenv -p python3 env\n. env/bin/activate\npip install -r requirements.txt\n```\n\n# Backup\n\n```\n./snapshot.py\n```\n\nThis takes two optional arguments:\n\n- `--include` can be used to specify servers that you want to include. Specify\n  multiple times to include more servers.\n- `--exclude` can be used to exclude servers from making snapshots. Specify\n  multiple times to exclude more servers.\n\nIt will create a snapshot of all servers by default.\n\n# Restore\n\n```\nopenstack volume snapshot list\n./restore.py --snapshot \u003cid\u003e --volume \u003cname\u003e\n```\n\n# Limitations\n\nThese scripts were written using Python 3.6. Other versions may work but are\nuntested.\n\n# Tests\n\nSorry, this code doesn't come with tests yet.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensson%2Fpython-openstack-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsensson%2Fpython-openstack-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensson%2Fpython-openstack-backup/lists"}