{"id":26487160,"url":"https://github.com/couapy/backup-data","last_synced_at":"2026-04-17T12:33:24.817Z","repository":{"id":129426032,"uuid":"384716650","full_name":"Couapy/backup-data","owner":"Couapy","description":"Simple backup tool.","archived":false,"fork":false,"pushed_at":"2021-07-10T14:25:57.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T07:43:43.701Z","etag":null,"topics":["backup","bashscript"],"latest_commit_sha":null,"homepage":"","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/Couapy.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":"2021-07-10T14:25:54.000Z","updated_at":"2021-07-10T14:26:51.000Z","dependencies_parsed_at":"2023-03-13T11:22:40.459Z","dependency_job_id":null,"html_url":"https://github.com/Couapy/backup-data","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Couapy/backup-data","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Couapy%2Fbackup-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Couapy%2Fbackup-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Couapy%2Fbackup-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Couapy%2Fbackup-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Couapy","download_url":"https://codeload.github.com/Couapy/backup-data/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Couapy%2Fbackup-data/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31929740,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T10:35:34.458Z","status":"ssl_error","status_checked_at":"2026-04-17T10:35:09.472Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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","bashscript"],"created_at":"2025-03-20T06:34:59.175Z","updated_at":"2026-04-17T12:33:24.800Z","avatar_url":"https://github.com/Couapy.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# backup-data\n\nThis backup tool was developed to keep the database and files safe.\n\nBackup files are saved in the `/backup` directory by default.\n\n## Configuration\n\n1. First of all, edit database configuration in the `config/mysql.conf` file following [this documentation](https://dev.mysql.com/doc/refman/8.0/en/option-files.html).\n2. List directories and files that need to be save in `config/files.list`.\n3. Edit `backup.sh` and edit configuration variables in the head of the file.\n\n## Manual backup\n\nTo start a backup just run :\n\n```bash\ncd path-to/.../backup-data/\nsh backup.sh\n```\n\n## Automatic backup\n\n**cron** is perfect for your job. Just a simple example (at 04:00 on Monday) :\n\n```crontab\n0 6 * * *   root    /usr/bin/bash /path-to/.../backup.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcouapy%2Fbackup-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcouapy%2Fbackup-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcouapy%2Fbackup-data/lists"}