{"id":20661972,"url":"https://github.com/mirantis/fuel-plugin-backup","last_synced_at":"2025-06-12T06:36:50.862Z","repository":{"id":140968194,"uuid":"47274074","full_name":"Mirantis/fuel-plugin-backup","owner":"Mirantis","description":null,"archived":false,"fork":false,"pushed_at":"2020-02-26T11:56:45.000Z","size":87,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"7.0","last_synced_at":"2025-01-17T12:17:48.882Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mirantis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2015-12-02T16:36:16.000Z","updated_at":"2016-11-14T07:21:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"b642d597-22d4-41df-ad69-97bf91ef7ed9","html_url":"https://github.com/Mirantis/fuel-plugin-backup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mirantis%2Ffuel-plugin-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mirantis%2Ffuel-plugin-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mirantis%2Ffuel-plugin-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mirantis%2Ffuel-plugin-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mirantis","download_url":"https://codeload.github.com/Mirantis/fuel-plugin-backup/tar.gz/refs/heads/7.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242793058,"owners_count":20185949,"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-16T19:12:26.898Z","updated_at":"2025-03-10T04:47:00.369Z","avatar_url":"https://github.com/Mirantis.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Fuel infrastructure backup plugin\n===================\n\nCompatible versions:\n\nMirantis Fuel 6.1\nUbuntu 14.04 server\n\nPurpose\n---------------\nIt creates backups of sensitive cloud data. \n\nYou can change the following options from Fuel UI:\n---------------\n1. Backup folder location\n\n2. Number copies to store\n\n3. And what to backup:\n\n3.1. ETC Backup from cloud-nodes. Just to have information about all nodes in case of disaster recovery.\n\n3.2. FUEL-backup. It is necessary to have information about all cloud nodes their roles and configuration to be able to add/remove nodes, manage clusters.\n\n3.3. CEPH-RBD incremental backup (if enabled as a storage). When we use ceph-rbd for all cloud needs such as volumes, images, ephemeral storages in couple with mysql db backup, we have full information about all virtual storages, and have the ability to restore cloud in case of disaster. \n\n3.4. MySQL db backup.\n\nBuilding and installation\n===================\n\nHow to build plugin:\n---------------\n\nYou can build plugin using the Fuel plugin builder tool: https://pypi.python.org/pypi/fuel-plugin-builder.\n\nInstall fpb Python module:\n```\n[local-workstation]$ pip install fpb\n```\n\nInstall system packages fpb module relies on:\n\n* If you use Ubuntu, install packages createrepo rpm dpkg-dev\n* If you use CentOS, install packages createrepo dpkg-devel dpkg-dev rpm rpm-build\n\nClone plugin repository and run fpb there:\n```\n[local-workstation]$ git clone git@github.com:Mirantis/fuel-plugin-backup.git\n[local-workstation]$ fpb --build fuel-plugin-backup\n```\nCheck if rpm file was created:\n```\n[local-workstation]$ ls -al fuel-plugin-backup | grep rpm\n-rw-rw-r--.  1 user user 656036 Jun 30 10:57 backup-1.0-1.0.0-1.noarch.rpm\n```\nUpload rpm file to fuel-master node and install it. Assuming you've put rpm into /tmp directory on fuel-master:\n```\n[fuel-master]# cd /tmp\n[fuel-master]# fuel plugins --install backup-1.0-1.0.0-1.noarch.rpm\n```\nCheck if Fuel sees plugin:\n```\n[fuel-master]# fuel plugins list\nid | name              | version | package_version\n---|-------------------|---------|----------------\n3  | backup            | 1.0.0   | 2.0.0\n```\n\nYou can uninstall plugin using the following command:\n```\n[fuel-master]# fuel plugins --remove backup==1.0.0\n```\nPlease note you can't uninstall the plugin if it is enabled for an environment. You'll have to remove an environment first, this action destroys all stored data and settings for this environment.\n\nDeployment process\n===================\n\n1. Create new environment, enable Backup plugin in 'Options' section of environment interface, modify settings if needed.\n2. Navigate to 'Nodes' section of UI, press 'Add nodes button'\n3. Assign controller/compute roles to the respective nodes.\n4. Push Deploy Changes button.\n5. After deployment process primary-controller node (node with controller role with minimal node-id) will be created folder \u003cbackup_data_location\u003e that contains folders [etc, fuel, mysql, ceph] (optional) each folder contains corresponding bash-script that is responsible for creation of backup. Scripts will be managed by crontab-rule once a day(at 4:38, 5:38, 6:38, 7:38). \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirantis%2Ffuel-plugin-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmirantis%2Ffuel-plugin-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirantis%2Ffuel-plugin-backup/lists"}