{"id":19872081,"url":"https://github.com/saltstack-formulas/backuptocloud-formula","last_synced_at":"2025-10-25T03:15:46.683Z","repository":{"id":12119941,"uuid":"14710136","full_name":"saltstack-formulas/backuptocloud-formula","owner":"saltstack-formulas","description":"http://docs.saltstack.com/topics/conventions/formulas.html","archived":false,"fork":false,"pushed_at":"2015-11-19T02:29:33.000Z","size":3,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":38,"default_branch":"master","last_synced_at":"2025-04-07T00:41:53.525Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html","language":"SaltStack","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"djoos-cookbooks/newrelic","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saltstack-formulas.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2013-11-26T07:42:13.000Z","updated_at":"2019-07-01T23:55:18.000Z","dependencies_parsed_at":"2022-07-21T12:48:04.560Z","dependency_job_id":null,"html_url":"https://github.com/saltstack-formulas/backuptocloud-formula","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/saltstack-formulas%2Fbackuptocloud-formula","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saltstack-formulas%2Fbackuptocloud-formula/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saltstack-formulas%2Fbackuptocloud-formula/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saltstack-formulas%2Fbackuptocloud-formula/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saltstack-formulas","download_url":"https://codeload.github.com/saltstack-formulas/backuptocloud-formula/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252015767,"owners_count":21680821,"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-12T16:14:26.686Z","updated_at":"2025-10-16T01:08:15.473Z","avatar_url":"https://github.com/saltstack-formulas.png","language":"SaltStack","funding_links":[],"categories":[],"sub_categories":[],"readme":"backup To Cloud\n===============\n\nbackup to cloud\n---------------\n\nUse pillar and scheduler to backup something, anything to the cloud.\n\n\nSynopsis\n--------\nThis is a full example of using a both git backed pillar and states to implement a scheduler that makes daily mysql db dumps and uploads them to s3. Still needs to be made generic enough to handle multiple DB types and remote data stores. \n\n- pillar.top.sls.example: a pillar top file that shows how the schedule and site info is made available on a per client/minion basis. \n- backup/init.sls: This verifies that there exists a special DB user for backups and grants the need grants for all listed DBs in pillar (for clienta). Creates a datestamped named database dump based on the settings in pillar then uploads it to s3. \n- clienta pillar: a pillar that lists the client site(s), backup location and scheduler. \n- sec pillar: passwords and such... Yeah. not cool. but whatever... \n- backup pillar: s3 API creds. Yeah, I know but they have to be somewhere.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaltstack-formulas%2Fbackuptocloud-formula","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaltstack-formulas%2Fbackuptocloud-formula","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaltstack-formulas%2Fbackuptocloud-formula/lists"}