{"id":16213926,"url":"https://github.com/menacingmecha/backup","last_synced_at":"2025-10-28T17:39:43.063Z","repository":{"id":134800032,"uuid":"293566237","full_name":"MenacingMecha/backup","owner":"MenacingMecha","description":"Script I use for backing up files to external drives","archived":false,"fork":false,"pushed_at":"2022-07-28T16:43:30.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-13T23:34:59.056Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/MenacingMecha.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":"2020-09-07T15:32:43.000Z","updated_at":"2022-03-01T03:33:56.000Z","dependencies_parsed_at":"2023-05-15T18:30:46.712Z","dependency_job_id":null,"html_url":"https://github.com/MenacingMecha/backup","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"d5675d5b3fbaac1f45c6d31ae02c1c0748fae30b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MenacingMecha%2Fbackup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MenacingMecha%2Fbackup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MenacingMecha%2Fbackup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MenacingMecha%2Fbackup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MenacingMecha","download_url":"https://codeload.github.com/MenacingMecha/backup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247737782,"owners_count":20987721,"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-10T11:09:06.844Z","updated_at":"2025-10-28T17:39:42.982Z","avatar_url":"https://github.com/MenacingMecha.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Backup\n\nScript I use for backing up data to external drives.\nReads paths from a yaml config file, and then runs rsync for each valid source/dest path combination.\n\n```\nusage: backup.py [-h] [-c CONFIG_PATH]\n\noptional arguments:\n  -h, --help      show this help message and exit\n  -c CONFIG_PATH  Specify an alternate config path. Defaults to 'config.yaml'.\n```\n\n## Config Strucutre\n```yaml\npaths:\n  backup1:\n    source: \"/path/to/source/dir1/\"\n    dest: \"/path/to/dest/dir1\"\n  backup2:\n    source: \"/path/to/source/dir2/\"\n    dest: \"/path/to/dest/dir2\"\n  optional-delete-flag:\n    source: \"/path/to/source/delete-dir/\"\n    dest: \"/path/to/dest/delete-dir\"\n    delete: true  # files in dest that aren't in source will be deleted\n  optional-whitelist-flag:\n    source: \"/path/to/source/only-want-to-backup-archives-dir/\"\n    dest: \"/path/to/dest/only-want-to-backup-archives-dir\"\n    whitelist:  # only includes files that match the following list items\n      - \"*.zip\"\n      - \"*.7z\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmenacingmecha%2Fbackup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmenacingmecha%2Fbackup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmenacingmecha%2Fbackup/lists"}