{"id":20811315,"url":"https://github.com/express42/glacier","last_synced_at":"2025-03-12T04:43:29.745Z","repository":{"id":9602303,"uuid":"11524115","full_name":"express42/glacier","owner":"express42","description":"LWRP for glacier backups","archived":false,"fork":false,"pushed_at":"2013-08-13T17:43:44.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-01-18T14:46:31.303Z","etag":null,"topics":["chef","cookbooks","deep-learning"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/express42.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-19T09:01:36.000Z","updated_at":"2017-06-02T11:42:35.000Z","dependencies_parsed_at":"2022-08-30T10:20:27.851Z","dependency_job_id":null,"html_url":"https://github.com/express42/glacier","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/express42%2Fglacier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/express42%2Fglacier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/express42%2Fglacier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/express42%2Fglacier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/express42","download_url":"https://codeload.github.com/express42/glacier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243158972,"owners_count":20245669,"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":["chef","cookbooks","deep-learning"],"created_at":"2024-11-17T20:40:07.739Z","updated_at":"2025-03-12T04:43:29.723Z","avatar_url":"https://github.com/express42.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Glacier Cookbook\n======================\n\nInstall glacier-cmd utility and configure backups to glacier using glacier-cmd, tar and cron. It contains a LWRP for\ndescribing glacier backups.\n\nRequirements\n------------\n\nTested only on Ubuntu 12.04, but should works on Debian too. Only works with [Express 42 crontab\ncookbook](https://github.com/express42-cookbooks/crontab). You should remember to delete root's crontab entries when delete\nglacier backups in chef.\n\nLWRP\n----\n\n## glacier_static\n\nglacier_static LWRP creates tasks for backuping static content. All cron tasks are belongs to root user.\n\n### Actions\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003cth\u003eAction\u003c/th\u003e\n    \u003cth\u003eDescription\u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003ebackup\u003c/td\u003e\n    \u003ctd\u003eDefault action. Backups data.\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n### Attributes\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003cth\u003eAttribute\u003c/th\u003e\n    \u003cth\u003eDescription\u003c/th\u003e\n    \u003cth\u003eDefault\u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003ename\u003c/td\u003e\n    \u003ctd\u003e\u003cstrong\u003eName attribute\u003c/strong\u003e. Name of the backup (required)\u003c/td\u003e\n    \u003ctd\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003epath\u003c/td\u003e\n    \u003ctd\u003ePath to backup (required)\u003c/td\u003e\n    \u003ctd\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003etime\u003c/td\u003e\n    \u003ctd\u003eDescribe time of backup, same format as for crontab (Hash)\u003c/td\u003e\n    \u003ctd\u003e{ :minute =\u003e \"0\", :hour =\u003e \"2\", :day =\u003e \"*\", :month =\u003e \"*\", :weekday =\u003e \"*\" }\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003etempdir\u003c/td\u003e\n    \u003ctd\u003eTemporary backup dir\u003c/td\u003e\n    \u003ctd\u003e/home/backups/\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eaws_key\u003c/td\u003e\n    \u003ctd\u003eAWS key (required)\u003c/td\u003e\n    \u003ctd\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eaws_secret\u003c/td\u003e\n    \u003ctd\u003eAWS secret(required)\u003c/td\u003e\n    \u003ctd\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003evault\u003c/td\u003e\n    \u003ctd\u003eGlacier vault, should exists (required)\u003c/td\u003e\n    \u003ctd\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eregion\u003c/td\u003e\n    \u003ctd\u003eAWS region\u003c/td\u003e\n    \u003ctd\u003eus-west-2\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003efull\u003c/td\u003e\n    \u003ctd\u003eIncremental or full backup (boolean)\u003c/td\u003e\n    \u003ctd\u003efalse\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n### Examples\n```ruby\nglacier_static \"backup-daily\" do\n  path \"/home/vagrant/\"\n  aws_key 'my aws key'\n  aws_secret 'my aws secret'\n  vault 'backup'\n  time(:minute =\u003e \"15\", :hour =\u003e \"4\", :weekday =\u003e \"1-6\")\nend\n\nglacier_static \"backup-weekly\" do\n  path \"/home/vagrant/\"\n  aws_key 'my aws key'\n  aws_secret 'my aws secret'\n  vault 'backup'\n  time(:minute =\u003e \"15\", :hour =\u003e \"4\", :weekday =\u003e \"7\")\n  full true\nend\n\n```\n\nContributing\n------------\n1. Fork the repository on Github\n2. Create a named feature branch (like `add_component_x`)\n3. Write you change\n4. Write tests for your change (if applicable)\n5. Run the tests, ensuring they all pass\n6. Submit a Pull Request using Github\n\nLicense and Authors\n-------------------\nAuthor:: Ivan Evtuhovich \u003civan@express42.com\u003e\n\nCopyright 2012-2013, Express 42, LLC\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexpress42%2Fglacier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexpress42%2Fglacier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexpress42%2Fglacier/lists"}