{"id":22462546,"url":"https://github.com/commonjava/backup-excludes","last_synced_at":"2025-03-27T14:20:36.617Z","repository":{"id":86967454,"uuid":"285445691","full_name":"Commonjava/backup-excludes","owner":"Commonjava","description":null,"archived":false,"fork":false,"pushed_at":"2020-08-28T08:16:07.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-01T18:36:34.048Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/Commonjava.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-06T01:43:42.000Z","updated_at":"2020-08-28T08:16:09.000Z","dependencies_parsed_at":"2023-03-13T19:48:50.321Z","dependency_job_id":null,"html_url":"https://github.com/Commonjava/backup-excludes","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/Commonjava%2Fbackup-excludes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commonjava%2Fbackup-excludes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commonjava%2Fbackup-excludes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commonjava%2Fbackup-excludes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Commonjava","download_url":"https://codeload.github.com/Commonjava/backup-excludes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245858889,"owners_count":20684062,"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-12-06T09:10:09.438Z","updated_at":"2025-03-27T14:20:36.610Z","avatar_url":"https://github.com/Commonjava.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# backup-excludes\n\nAs the [doc](https://docs.bareos.org/Configuration/Director.html#config-Dir_Fileset_Include) from bareos, if the specified filename (filename-string) is found on the Client in any directory to be backed up, the whole directory will be ignored (not backed up). They recommend to use the filename .nobackup, as it is a hidden file on unix systems, and explains what is the purpose of the file.\n\nExample: exlude Directories containing the file .nobackup\n```\n# List of files to be backed up\nFileSet {\n    Name = \"MyFileSet\"\n    Include {\n        Options {\n            signature = MD5\n        }\n        File = /home\n        Exclude Dir Containing = .nobackup\n    }\n}\n```\n\nThe script aims to identify the temporary builds and remote repositories that do not need to be backed up,\nand create the file .nobackup in the directories.  In order to do that, we need to query PNC service to get\nthe temporary builds and to access Indy volume to go through the remote repositories. \n\n## Environment Variables (TODO)\n\n* `PNC_HOST`   : The hostname of PNC service\n* `PNC_VERSION`: Specify '2.0' if needed, the dafault is 1.x. \n* `REPO_DIR`   : The directory of the repository, e.g.: `/var/lib/backup/indy/storage/maven`\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommonjava%2Fbackup-excludes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommonjava%2Fbackup-excludes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommonjava%2Fbackup-excludes/lists"}