{"id":18644109,"url":"https://github.com/indix/rocks","last_synced_at":"2026-03-15T14:09:07.722Z","repository":{"id":57543233,"uuid":"60398201","full_name":"indix/rocks","owner":"indix","description":"RocksDB Ops CLI","archived":false,"fork":false,"pushed_at":"2016-12-17T11:45:22.000Z","size":87,"stargazers_count":11,"open_issues_count":2,"forks_count":2,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-25T13:39:25.322Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/indix.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}},"created_at":"2016-06-04T07:16:05.000Z","updated_at":"2022-01-27T07:05:25.000Z","dependencies_parsed_at":"2022-08-27T19:10:29.303Z","dependency_job_id":null,"html_url":"https://github.com/indix/rocks","commit_stats":null,"previous_names":["ind9/rocks"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indix%2Frocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indix%2Frocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indix%2Frocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indix%2Frocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/indix","download_url":"https://codeload.github.com/indix/rocks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248401936,"owners_count":21097328,"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-11-07T06:10:02.404Z","updated_at":"2025-12-15T22:34:14.486Z","avatar_url":"https://github.com/indix.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://snap-ci.com/indix/rocks/branch/master/build_image)](https://snap-ci.com/indix/rocks/branch/master)\n# Rocks\n\nRocks is a RocksDB Ops CLI. It is portable and helps you do perform common administrative operations on one or many rocksdb instances.\n\n## Usage\n```\n$ rocks --help\nPerform common ops related tasks on one or many RocksDB instances.\n\nFind more details at https://github.com/ind9/rocks\n\nUsage:\n  rocks [command]\n\nAvailable Commands:\n  restore     Restore backed up rocksdb files\n  backup      Backup rocksdb files\n  trigger     Triggers a backup on the remote system\n\nUse \"rocks [command] --help\" for more information about a command.\n```\n\n### Restore\n```\n$ rocks restore --help\nRestore backed up rocksdb files\n\nUsage:\n  rocks restore [flags]\n\nFlags:\n      --dest string      Restore to\n      --keep-log-files   If true, restore won't overwrite the existing log files in wal_dir\n      --recursive        Trying restoring in recursive fashion from src to dest\n      --src string       Restore from\n      --wal string       Restore WAL to (generally same as --dest)\n      --threads int      Number of CPU threads to work with (default : 2 * #(CPU Cores))\n```\n\n### Backup\n```\n$ rocks backup --help\nBacks up rocksdb files\n\nUsage:\n  rocks backup [flags]\n\nFlags:\n      --dest string      Backup to\n      --recursive        Trying to backup in recursive fashion from src to dest\n      --src string       Backup from\n      --threads int      Number of CPU threads to work with (default : 2 * #(CPU Cores))\n```\n\n### Remote Backup Trigger\n```\n$ rocks trigger http --help\nTriggers a backup via HTTP\n\nUsage:\n  rocks trigger http [flags]\n\nFlags:\n  -H, --header value             HTTP Headers that needs to be passed with the request in key=value format (default [])\n      --http2                    Make a HTTP2 request instead of the default HTTP1.1\n  -X, --method string            HTTP Method to invoke on the url (default \"GET\")\n  -D, --payload string           File contents to be passed as payload in the request. If you're pipeing use \"stdin\".\n  -k, --skip-ssl-verificatioin   Ignore SSL errors - while connecting to self-signed HTTPS servers\n```\n\n### Compact\n```\n$ rocks compact --help\nDoes a compaction on rocksdb stores\n\nUsage:\n  rocks compact [flags]\n\nFlags:\n      --recursive     Trying to compact in recursive fashion for src\n      --src string    Compact for\n      --threads int   Number of CPU threads to work with (default : 2 * #(CPU Cores))\n```\n\n### Statistics\n```\n$ rocks statistics --help\nDisplays current statistics for a rocksdb store\n\nUsage:\n  rocks statistics [flags]\n\nFlags:\n      --recursive     Trying to generate statistics in recursive fashion for src\n      --src string    Statistics for\n      --threads int   Number of threads to generate statistics (default : 2 * #(CPU Cores)\n```\n\n### Consistency\n```\n$ rocks consistency --help\nChecks for the consistency between rocks store and it's corresponding restore using row counts\n\nUsage:\n  rocks consistency [flags]\n\nFlags:\n      --paranoid             Do paranoid checks on the DB\n      --recursive            Recursively check for row counts across dbs\n      --restore-dir string   Restore location for Rocks store\n      --src-dir string       Rocks store location\n      --threads int          Number of threads to do backup (default 8)\n```\n\n## License\nhttp://www.apache.org/licenses/LICENSE-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findix%2Frocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findix%2Frocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findix%2Frocks/lists"}