{"id":13539656,"url":"https://github.com/metaory/xback","last_synced_at":"2026-05-20T14:35:25.471Z","repository":{"id":186252327,"uuid":"625416855","full_name":"metaory/xback","owner":"metaory","description":":sparkles: A tiny backup and restore script","archived":false,"fork":false,"pushed_at":"2023-04-16T15:08:33.000Z","size":30,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-04T22:17:46.301Z","etag":null,"topics":["backup","backup-script","backup-tool","backup-utility","bash","cli","command-line","mxc","restore-backups","restore-utility"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/metaory.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}},"created_at":"2023-04-09T03:24:49.000Z","updated_at":"2024-03-15T18:08:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"0873cfff-8b1c-40f0-8c7a-fc0d75d15926","html_url":"https://github.com/metaory/xback","commit_stats":null,"previous_names":["metaory/simple-backup","metaory/xback"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaory%2Fxback","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaory%2Fxback/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaory%2Fxback/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaory%2Fxback/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metaory","download_url":"https://codeload.github.com/metaory/xback/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246245233,"owners_count":20746607,"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":["backup","backup-script","backup-tool","backup-utility","bash","cli","command-line","mxc","restore-backups","restore-utility"],"created_at":"2024-08-01T09:01:30.059Z","updated_at":"2026-05-20T14:35:25.443Z","avatar_url":"https://github.com/metaory.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# simple-backup\nA very very simple (under 30 LoC) **backup** and **restore** tool written in pure Bash\n\n# Usage\n- link executables to your bin path\n- update the config `cp sample.mbackup.conf mbackup.conf`\n- place the config in a clean git directory \n\n- run `mbackup`\n  - looks for a `config` file in current working directory,\n  - parses the config\n  - copy each file/dir of config path to `./data`\n\n- run `./mrestore`\n  - looks for a `./config` file in current working directory,\n  - parses the config\n  - restore each entry if exists in `./data`\n\n# Sample Config\n```cfg\n# AWM\n/home/meta/.config/awesome/rc.lua\n/home/meta/.config/awesome/mtheme.lua\n/home/meta/.config/awesome/mlib\n\n# Kitty\n/home/meta/.config/kitty\n\n# Tmux\n/home/meta/.config/tmux\n\n# Alacritty\n/home/meta/.config/alacritty\n```\n# How does it works\n- It parses the config for paths\n- Copy the path _directory/file_ to `./data` with all slashes replaced with `_`\n\nFor example path of\n`/home/meta/tmp/js` will go to `./m.dotfiles/data/_home_meta_tmp_js`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetaory%2Fxback","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetaory%2Fxback","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetaory%2Fxback/lists"}