{"id":20772917,"url":"https://github.com/gsass1/rika","last_synced_at":"2025-08-30T07:05:58.929Z","repository":{"id":76133781,"uuid":"221721887","full_name":"gsass1/rika","owner":"gsass1","description":"💾 Simple but powerful declarative backups.","archived":false,"fork":false,"pushed_at":"2021-02-06T17:29:10.000Z","size":82,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-11T09:36:49.979Z","etag":null,"topics":["backup","backup-utility","cli","cli-app","golang-application"],"latest_commit_sha":null,"homepage":"","language":"Go","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/gsass1.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":"2019-11-14T14:53:00.000Z","updated_at":"2023-10-20T18:11:41.000Z","dependencies_parsed_at":"2023-04-30T08:31:10.562Z","dependency_job_id":null,"html_url":"https://github.com/gsass1/rika","commit_stats":null,"previous_names":["nuke928/rika"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gsass1/rika","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsass1%2Frika","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsass1%2Frika/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsass1%2Frika/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsass1%2Frika/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gsass1","download_url":"https://codeload.github.com/gsass1/rika/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsass1%2Frika/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272816057,"owners_count":24997693,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","backup-utility","cli","cli-app","golang-application"],"created_at":"2024-11-17T12:23:34.507Z","updated_at":"2025-08-30T07:05:58.882Z","avatar_url":"https://github.com/gsass1.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rika\n\n[![Build Status](https://travis-ci.org/Nuke928/rika.svg?branch=master)](https://travis-ci.org/Nuke928/rika)\n\nSimple but powerful declarative backups.\n\n\nRika allows you to define all of your data providers (databases and volumes) and storage providers (SFTP servers, local directories, etc.) conveniently in one file.\n\n## Example\n\nLocally we have a MySQL Database and one volume, and we want to back these up on a SFTP server.\n\n```yaml\nversion: 1\nbackup:\n  name: Site Backup\n  dataProviders:\n    databases:\n    - name: MySQL\n      mysql:\n        host: localhost\n        port: 3306\n        user: test\n        password: test\n        database: test\n      compression:\n        cmd: gzip\n        ext: gz\n    volumes:\n    - name: WordPress Uploads\n      path: /var/www/blog/uploads\n  storageProviders:\n  - name: Hetzner Storage Box\n    sftp:\n      user: u215873\n      host: u215873.your-storagebox.de\n      path: wordpress\n      port: 23\n```\n\nRun with `rika run backup.yaml`\n\nAs a result the following two artifacts are generated and stored on the SFTP server.\n\n* wordpress-uploads-yyyymmddHHMMSS.tar.xz\n* wordpress-database-yyyymmddHHMMSS.sql.gz\n\n## Using Docker\n\nIf you're running your database inside a Docker container, there's a way for Rika to run dump commands inside the container as well:\n\n```yaml\ndatabases:\n- name: MySQL\n  docker:\n    container: test-mysql\n  mysql:\n    host: localhost\n    port: 3306\n    user: test\n    password: test\n    database: test\n```\n\n## Supported data providers\n\n* MySQL\n* PostgreSQL\n\nMore coming soon!\n\n## Supported storage providers\n\n* Local\n* SFTP\n\n## Compression\n\nThe `compression` key allows you to tune compression.\n\n```yaml\ncompression:\n  cmd: bzip2\n  args: -9\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsass1%2Frika","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgsass1%2Frika","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsass1%2Frika/lists"}