{"id":13509020,"url":"https://github.com/dotmesh-io/dotmesh","last_synced_at":"2025-04-04T18:09:15.812Z","repository":{"id":29013060,"uuid":"94703477","full_name":"dotmesh-io/dotmesh","owner":"dotmesh-io","description":"dotmesh (dm) is like git for your data volumes (databases, files etc) in Docker and Kubernetes","archived":false,"fork":false,"pushed_at":"2023-09-01T08:53:45.000Z","size":40016,"stargazers_count":538,"open_issues_count":221,"forks_count":29,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-03-28T17:08:56.223Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dotmesh.com","language":"Go","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/dotmesh-io.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}},"created_at":"2017-06-18T17:49:52.000Z","updated_at":"2025-03-17T15:51:13.000Z","dependencies_parsed_at":"2024-01-07T18:09:42.742Z","dependency_job_id":null,"html_url":"https://github.com/dotmesh-io/dotmesh","commit_stats":{"total_commits":2510,"total_committers":19,"mean_commits":"132.10526315789474","dds":0.7135458167330677,"last_synced_commit":"6bdf6885808ffd5d6445e54b8488f4683ed74387"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotmesh-io%2Fdotmesh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotmesh-io%2Fdotmesh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotmesh-io%2Fdotmesh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotmesh-io%2Fdotmesh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotmesh-io","download_url":"https://codeload.github.com/dotmesh-io/dotmesh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247226215,"owners_count":20904465,"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":[],"created_at":"2024-08-01T02:01:01.854Z","updated_at":"2025-04-04T18:09:15.793Z","avatar_url":"https://github.com/dotmesh-io.png","language":"Go","funding_links":[],"categories":["Data Protection \u0026 Backup","Go","others"],"sub_categories":[],"readme":"# dotmesh: git for data\n\n[![pipeline status](https://gitlab.dotmesh.com/dotmesh/dotmesh/badges/master/pipeline.svg)](https://gitlab.dotmesh.com/dotmesh/dotmesh/commits/master)\n\nDotmesh is a **git-like CLI for capturing, organizing and sharing application states**.\n\nIn other words, it's a **snapshotting tool for databases** and other filesystem states.\n\nThe application states that dotmesh captures are stored in **datadots**.\n\nIt can capture the state of multiple databases, each one in a [subdot](https://docs.dotmesh.com/concepts/what-is-a-datadot/#subdots), in a single atomic commit.\n\n## installing on docker (Mac or Ubuntu 16.04+)\n\nInstall the dotmesh client `dm`:\n\n```plain\nsudo curl -sSL -o /usr/local/bin/dm \\\n    https://get.dotmesh.io/$(uname -s)/dm\n```\n\nMake the client binary executable.\n```plain\nsudo chmod +x /usr/local/bin/dm\n```\n\nThen use the client to install `dotmesh-server`, assuming you have Docker installed and your user account has access to the Docker daemon.\n\n```plain\ndm cluster init\n```\n\n```plain\nChecking suitable Docker is installed... yes, got 17.12.0-ce.\nChecking dotmesh isn't running... done.\nPulling dotmesh-server docker image...\n[...]\n```\n\nThis will set up a single-instance cluster on your local machine.\n\nVerify that the `dm` client can talk to the `dotmesh-server`:\n```\ndm version\n```\n\nIf the installation fails, please [report an issue](https://github.com/dotmesh-io/dotmesh).\nYou can also experiment in our [online learning environment](https://dotmesh.com/try-dotmesh/).\nThanks!\n\nSee [the installation docs](https://docs.dotmesh.com/install-setup/) for more details, including installing dotmesh on Kubernetes.\n\n\n\n\n## getting started guide\n\nTry our [hosted tutorial](https://dotmesh.com/try-dotmesh/)!\n\nAlternatively, try the [hello Dotmesh on Docker](https://docs.dotmesh.com/tutorials/hello-dotmesh-docker/) guided tutorial.\n\n## what is a datadot?\n\nA **datadot** allows you to capture your application's state and treat it like a `git` repo.\n\nA simple example is to start a PostgreSQL container using a datadot called `myapp`:\n\n```bash\ndocker run -d --volume-driver dm \\\n    -v myapp:/var/lib/postgresql/data --name postgres postgres:9.6.6\n```\n\nThis creates a datadot called `myapp`, creates the writeable filesystem for the default `master` branch in that datadot, mounts the writeable filesystem for the `master` branch into `/var/lib/postgresql/data` in the `postgres` container, and starts the `postgres` container, like this:\n\n![myapp dot with master branch and postgres container's /data volume attached](datadot.png \"Diagram of a datadot\")\n\nFirst, switch to it, which, like `cd`'ing into a git repo, makes it the \"current\" dot -- the dot which later `dm` commands will operate on by default:\n\n```bash\ndm switch myapp\n```\n\nYou can then see the `dm list` output:\n\n```bash\ndm list\n```\n\n```plain\n  DOT      BRANCH  SERVER   CONTAINERS  SIZE       COMMITS  DIRTY\n* myapp    master  a1b2c3d  /postgres   40.82 MiB  0        40.82 MiB\n```\nThe current branch is shown in the `BRANCH` column and the current dot is marked with a `*` in the `dm list` output.\n\n## what's next?\n\n* Learn more in the [concept docs](https://docs.dotmesh.com/concepts/what-is-a-datadot/).\n* Try another [tutorial](https://docs.dotmesh.com/tutorials/).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotmesh-io%2Fdotmesh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotmesh-io%2Fdotmesh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotmesh-io%2Fdotmesh/lists"}