{"id":17330290,"url":"https://github.com/foxboron/astu","last_synced_at":"2025-03-27T05:44:34.757Z","repository":{"id":148133105,"uuid":"61821647","full_name":"Foxboron/astu","owner":"Foxboron","description":":skull: Borg Wrapper","archived":false,"fork":false,"pushed_at":"2016-10-28T10:32:00.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T11:12:35.031Z","etag":null,"topics":[],"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/Foxboron.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}},"created_at":"2016-06-23T16:50:06.000Z","updated_at":"2016-10-28T10:32:01.000Z","dependencies_parsed_at":"2023-05-19T06:30:32.696Z","dependency_job_id":null,"html_url":"https://github.com/Foxboron/astu","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/Foxboron%2Fastu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxboron%2Fastu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxboron%2Fastu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxboron%2Fastu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Foxboron","download_url":"https://codeload.github.com/Foxboron/astu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245791932,"owners_count":20672669,"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-10-15T14:50:52.271Z","updated_at":"2025-03-27T05:44:34.739Z","avatar_url":"https://github.com/Foxboron.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"ASTU\n====\n\nThe goal of this project is to create a flexible wrapper around borg.  \n\nUNDER HEAVY DEVELOPMENT\n\n\n# Features\n  * Config file written in yaml\n  * Hooks for backup preperation and cleanup\n  * Human readable config (hopefully)\n  * YAML Anchors support!\n\n\n### Syntax\n```\nastu init server\nastu backup home server --no-prune\nastu prune backup \n```\n\n### Config\n```yaml\nbackups:\n  home:\n    name: \"`hostname`-`date +%Y-%m-%d`\"\n    dir: ~/\n    options:\n      - stats\n      - version\n    exclude:\n      - '*/.cache/*'\n      - '*/.local/*'\n      - '*/Downloads/*'\n      - '*/Media/*'\n  usb:\n    dir: ~/Media\n    options:\n      - stats\n      - version\n\nrepositories:\n  server:\n    repository: \"user@backupserver.fake:~/backup\"\n    env:\n      BORG_PASSPHRASE: \"hunter2\"\n    prune:\n      prefix: \"`hostname`-\"\n      keep:\n        daily: 7\n        weekly: 4\n        monthly: 6\n\n```\n\n### Hooks\n```sh\n$ cat ./hooks/home/pre-backup.sh\n# Backup pacman package listing\npacman -Q \u003e ~/.package-list\n\n$ cat ./hooks/home/post-backup.sh\nrm ~/.package-list\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxboron%2Fastu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoxboron%2Fastu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxboron%2Fastu/lists"}