{"id":29408070,"url":"https://github.com/codeby-nurgul/dotbackup","last_synced_at":"2026-04-11T11:02:46.021Z","repository":{"id":301388453,"uuid":"1009079576","full_name":"codeby-nurgul/dotbackup","owner":"codeby-nurgul","description":"Lightweight Bash tool to back up \u0026 restore your Linux dotfiles with GitHub sync, cron automation, and Slack notifications.","archived":false,"fork":false,"pushed_at":"2025-07-07T10:59:53.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-10T13:30:27.070Z","etag":null,"topics":["backup","bash-script","cron","linux","slack"],"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/codeby-nurgul.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-26T14:42:33.000Z","updated_at":"2025-07-07T10:59:56.000Z","dependencies_parsed_at":"2025-09-10T11:39:40.937Z","dependency_job_id":"215bd632-c716-48bc-82a4-c56fa1cb5e5f","html_url":"https://github.com/codeby-nurgul/dotbackup","commit_stats":null,"previous_names":["codeby-nurgul/dotbackup"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codeby-nurgul/dotbackup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeby-nurgul%2Fdotbackup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeby-nurgul%2Fdotbackup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeby-nurgul%2Fdotbackup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeby-nurgul%2Fdotbackup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeby-nurgul","download_url":"https://codeload.github.com/codeby-nurgul/dotbackup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeby-nurgul%2Fdotbackup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31677819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","bash-script","cron","linux","slack"],"created_at":"2025-07-11T02:02:21.181Z","updated_at":"2026-04-11T11:02:45.989Z","avatar_url":"https://github.com/codeby-nurgul.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛡️ DotBackup\n\n**DotBackup** is a lightweight Bash-based tool to back up and restore your Linux dotfiles like `.bashrc`, `.gitconfig`, etc.\n\nIt includes:\n- GitHub integration for version control\n- Cron-based scheduling for daily automation\n- Slack notifications to keep you informed\n\n---\n\n## ✨ Features\n\n- ✅ Backup selected dotfiles (e.g. `.bashrc`, `.vimrc`, `.gitconfig`)\n- 🔁 Restore these files to a new machine in seconds\n- 🌍 Automatically push backups to GitHub\n- 🕒 Schedule automatic backups via `cron`\n- 🔔 Receive Slack messages when a backup completes\n\n---\n\n## 📁 Folder Structure\n\n```\ndotbackup/\n├── backup.sh       # Backup script\n├── restore.sh      # Restore script\n├── config/         # Where backed-up files live\n├── *.log           # Timestamped logs (can also be used for cron output)\n└── README.md\n```\n---\n\n## 🚀 How to Use\n\n- 🔁 **Backup your dotfiles**\n\n  ```bash\n  ./backup.sh\n  ```\n\n  This script:\n  -  Copies selected files to the `config/` folder  \n  -  Commits \u0026 pushes them to GitHub  \n  -  Sends a Slack notification on success  \n\n- 🔄 **Restore on a new machine**\n\n  ```bash\n  ./restore.sh\n  ```\n\n---\n\n## ⚙️ Setup\n\n-  **Clone the Repository**\n\n  ```bash\n  git clone https://github.com/yourusername/dotbackup.git\n  cd dotbackup\n  chmod +x *.sh\n  ```\n\n-  **Select Files to Back Up**\n\n  Edit the `backup.sh` file:\n\n  ```bash\n  FILES_TO_BACKUP=(\n    \"$HOME/.bashrc\"\n    \"$HOME/.vimrc\"\n    \"$HOME/.gitconfig\"\n  )\n  ```\n\n-  **Set Your Slack Webhook**\n\n  Still in `backup.sh`:\n\n  ```bash\n  SLACK_WEBHOOK=\"https://hooks.slack.com/services/your/webhook/url\"\n  ```\n\n---\n\n## ⏰ Automate with Cron\n\n-  **Open crontab**\n\n  ```bash\n  crontab -e\n  ```\n\n-  **Schedule daily backup at 8 PM**\n\n  ```bash\n  0 20 * * * /full/path/to/dotbackup/backup.sh\n  ```\n\n\u003e 📌 Use the full absolute path to `backup.sh`\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeby-nurgul%2Fdotbackup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeby-nurgul%2Fdotbackup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeby-nurgul%2Fdotbackup/lists"}