{"id":15658981,"url":"https://github.com/long2ice/databack","last_synced_at":"2025-10-07T09:31:35.334Z","repository":{"id":153426786,"uuid":"614239074","full_name":"long2ice/databack","owner":"long2ice","description":"Backup your data from MySQL/PostgreSQL/SSH etc. to any other storages","archived":false,"fork":false,"pushed_at":"2023-12-27T03:11:40.000Z","size":627,"stargazers_count":66,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-14T03:22:05.545Z","etag":null,"topics":["backup","mysql","postgresql"],"latest_commit_sha":null,"homepage":"https://databack-demo.long2ice.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/long2ice.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":"2023-03-15T07:21:39.000Z","updated_at":"2024-12-15T00:21:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb339d17-cfd7-4bf5-a410-22f39c5af40a","html_url":"https://github.com/long2ice/databack","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/long2ice%2Fdataback","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/long2ice%2Fdataback/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/long2ice%2Fdataback/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/long2ice%2Fdataback/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/long2ice","download_url":"https://codeload.github.com/long2ice/databack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235614110,"owners_count":19018399,"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","mysql","postgresql"],"created_at":"2024-10-03T13:14:33.324Z","updated_at":"2025-10-07T09:31:29.973Z","avatar_url":"https://github.com/long2ice.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# databack\n\n`databack` is a tool to back up your data from MySQL/PostgreSQL/SSH etc. to any other storages like S3, SCP etc. Which\ncan be run cron job to back up your data automatically, and you can also restore your data from backup files.\n\n## Features\n\n- MySQL/PostgreSQL/SSH/Local data source.\n- S3/SCP/Local storage.\n- Cron job to back up your data automatically.\n- i18n support (English and Chinese).\n- Web UI to manage your backup tasks.\n\n## Screenshots\n\nYou can try it on [Demo](https://databack-demo.long2ice.io/) site.\n\n![databack](./images/home.png)\n![databack](./images/datasource.png)\n\n## Deployment\n\nThe easiest way to deploy `databack` is to use `docker-compose`.\n\n```yml\nversion: \"3\"\nservices:\n  databack:\n    restart: always\n    env_file: .env\n    network_mode: host\n    image: ghcr.io/long2ice/databack/databack:full\n```\n\n## Configuration\n\nJust set environment variables in `.env` file.\n\n```dotenv\nDB_URL=mysql://root:123456@127.0.0.1:3306/databack\nDEBUG=True\nREDIS_URL=redis://127.0.0.1:6379/0\nSENTRY_DSN='xxx' # remove it if you don't use sentry\nENV=production\nWORKER=True\n```\n\n## Worker\n\nBy default, `databack` will start a builtin worker to run tasks when environment variable `WORKER` is `True`. If you\nwant to start multiple workers, you can run `rearq databack.tasks:rearq worker` command.\n\nFor `docekr-compose` deployment:\n\n```yml\nversion: \"3\"\nservices:\n  worker:\n    restart: always\n    env_file: .env\n    network_mode: host\n    image: ghcr.io/long2ice/databack/databack:full\n    entrypoint: rearq databack.tasks:rearq worker -t\n```\n\n## Frontend\n\nThe frontend project is [here](https://github.com/long2ice/databack-web).\n\n## License\n\nThis project is licensed under the [Apache-2.0](./LICENSE) License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flong2ice%2Fdataback","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flong2ice%2Fdataback","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flong2ice%2Fdataback/lists"}