{"id":18778950,"url":"https://github.com/ramsailopal/cache-restore","last_synced_at":"2026-04-17T04:34:27.277Z","repository":{"id":127741841,"uuid":"360171246","full_name":"RamSailopal/cache-restore","owner":"RamSailopal","description":"Ansible role to restore an Intersystems Cache backup and reconfigure Cache including devices as well. Uses Jinja templates to reconfigure cache.cpf","archived":false,"fork":false,"pushed_at":"2021-04-27T13:46:27.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-11T08:21:11.860Z","etag":null,"topics":["ansible","intersystems-cache","mumps"],"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/RamSailopal.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-04-21T12:58:35.000Z","updated_at":"2021-09-21T11:16:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"de6a893a-9ad2-4e91-9c0e-7ec4f67babdc","html_url":"https://github.com/RamSailopal/cache-restore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RamSailopal/cache-restore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamSailopal%2Fcache-restore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamSailopal%2Fcache-restore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamSailopal%2Fcache-restore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamSailopal%2Fcache-restore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RamSailopal","download_url":"https://codeload.github.com/RamSailopal/cache-restore/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamSailopal%2Fcache-restore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31915374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"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":["ansible","intersystems-cache","mumps"],"created_at":"2024-11-07T20:17:53.867Z","updated_at":"2026-04-17T04:34:27.255Z","avatar_url":"https://github.com/RamSailopal.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Role Name\n=========\n\nThis role automates the process of restoring a cache backup on an already installed Cache environment - see https://github.com/RamSailopal/cache.\n\nDevices can also be added to the environment\n\nRequirements\n------------\n\nIt is assumed that Cache is already installed on either a Red Hat or SuSE derived system as advised by Intersystems\n\nA Cache backup file is required, named cache.cbk and placed in the files folder ready to be sent to the remote machine as part of the restore process\n\nRole Variables\n--------------\n\ninstname - The name of the Cache instance that is installed\n\n[ Default - TEST ]\n\nmangrp - The management group to that Cache is installed under\n\n[ Default - cacheusr ]\n\nmanusr - The management user that Cache is installed under\n\n[ Default - cacheusr ]\n\ncusr - The \"normal\" user that Cache is installed under\n\n[ Default - cacheusr ]\n\ncmgr - The \"normal\" group Cache is installed under\n\n[ Default - cacheusr ]\n\n\ncurrjourn - The directory used to store journal files\n\n[ Default -  ]\n\naltjourn - The alternative directory used to store journal files\n\n[ Default -  ]\n\ndatabases - The list of databases to set up\n\n[ Default - ['TEST=/var/test/test/','TEST1=/var/test/test1']]\n\nnamespaces - The list of namespaces to set up\n\n[ Default - ['TEST=TEST1','TEST=TEST1']]\n\nDirectories - The list of directories to set up\n\n[ Default - ['/var/test/test','/var/test/test1']]\n\nIMPORTANT - To ensure that there are no errors with the restore process, make sure that all of the entries above are consistent and the directories configured in namespaces are also configured in databases and Directories respectively.\n\ndevices - Any additional devices to configure\n\n[ Default - ['Test printer=lpr -Prprt10^OTH^P-DEC^^\"QW\"^^Test Printer^10] ]\n\nWhere:\n\n       Test printer - The name of the device\n       lpr -Prprt10 - The physical device name\n       OTH - Type\n       P-DEC - Sub-Type\n       QW - Open parameters\n       Test Printer - The description of the device\n       10 - Alias\n\nbacklist - The list of directories to backup, old location to new\n\n[ Default - ['/test/test','/var/test/test,Y','/test/test1','/var/test/test1,Y']]\n\nExample - '/test/test','/var/test/test,Y\n\n          /test/test - Represents the old location of the database\n          /var/test/test - Represents the new location where the database should be restored to\n          Y - Signifies that \"yes\" we want to restore this database.\n\nExample Playbook\n----------------\n\nIncluding an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:\n\n    - hosts: servers\n      role: cache-restore\n      instname: CACHE\n      ...\n\nLicense\n-------\n\nBSD\n\nAuthor Information\n------------------\n\nRaman Sailopal\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framsailopal%2Fcache-restore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framsailopal%2Fcache-restore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framsailopal%2Fcache-restore/lists"}