{"id":18690462,"url":"https://github.com/kvaps/pve-autosnap","last_synced_at":"2025-04-12T05:54:36.871Z","repository":{"id":32504030,"uuid":"36084801","full_name":"kvaps/pve-autosnap","owner":"kvaps","description":" Proxmox automatic snapshot tool ","archived":false,"fork":false,"pushed_at":"2018-09-08T12:41:57.000Z","size":35,"stargazers_count":36,"open_issues_count":2,"forks_count":22,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-12T05:54:30.899Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kvaps.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}},"created_at":"2015-05-22T17:06:31.000Z","updated_at":"2025-03-30T04:20:29.000Z","dependencies_parsed_at":"2022-09-05T09:00:38.369Z","dependency_job_id":null,"html_url":"https://github.com/kvaps/pve-autosnap","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/kvaps%2Fpve-autosnap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvaps%2Fpve-autosnap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvaps%2Fpve-autosnap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvaps%2Fpve-autosnap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kvaps","download_url":"https://codeload.github.com/kvaps/pve-autosnap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248525156,"owners_count":21118616,"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-07T10:47:39.698Z","updated_at":"2025-04-12T05:54:36.844Z","avatar_url":"https://github.com/kvaps.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pve-autosnap\n Proxmox automatic snapshot tool \n\n## Usage\n\n```bash\nUsage:    pve-snap --mode [--storage=STORAGENAME] [--leave=NUMBER]\n\nExample:  pve-snap --weekly --storage=ceph --leave=2\n     or:  pve-snap --yearly --storage=pve-data\n     or:  pve-snap -d -s stor -l 4\n\nArguments:\n    -d, --daily                 Run this script in mode for daily autosnapshots\n    -w, --weekly                Run this script in mode for weekly autosnapshots\n    -m, --monthly               Run this script in mode for monthly autosnapshots\n    -y, --yearly                Run this script in mode for yearly autosnapshots\n    -s, --storage=STORAGENAME   Specify the storage name for which will be used auto snapshots\n                                (0 or not specified will enable for all\n    -l, --leave=NUMBER          Specify the number of snapshots which should will leave, anything longer will be removed\n                                (0 or not specified will disable removing snapshots)\n```\n\n## Enable pve-autosnap\n\nJust add your rules to crontab, example:\n```bash\nSTORAGE=local\n\ncrontab -l \u003e crontab.txt\n\ncat \u003e\u003e crontab.txt \u003c\u003c EOF\n# Daily snapshot\n0 3 * * 1-6 /bin/pve-autosnap --daily --storage=$STORAGE --leave=3\n# Weekly snapshot\n0 3 * * 7 /bin/pve-autosnap --weekly --storage=$STORAGE --leave=3\n# Monthly snapshot\n0 3 1 * * /bin/pve-autosnap --monthly --storage=$STORAGE --leave=4\nEOF\n\ncrontab crontab.txt\nrm crontab.txt\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkvaps%2Fpve-autosnap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkvaps%2Fpve-autosnap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkvaps%2Fpve-autosnap/lists"}