From 7d581c87c02ea83fd6b6922858c117a8a97c8c2a Mon Sep 17 00:00:00 2001 From: turtlebasket Date: Thu, 27 Jul 2023 23:50:53 -0700 Subject: [PATCH] doc update --- README.md | 11 +++++++++-- backup/README.md | 8 +++----- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 24bf9c9..9458379 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,16 @@ | :--- | :--- | :------- | | Cuddlefish | ![CentOS](https://img.shields.io/badge/centos%207-002260?style=for-the-badge&logo=centos&logoColor=F0F0F0) | Gitea | | Rocktiplex | ![Rocky Linux](https://img.shields.io/badge/-Rocky%20Linux%209-%2310B981?style=for-the-badge&logo=rockylinux&logoColor=white) | Fathom | +| Cloud8 | ![Rocky Linux](https://img.shields.io/badge/-Rocky%20Linux%209-%2310B981?style=for-the-badge&logo=rockylinux&logoColor=white) | NextCloud | - - +## SELinux Notes + +Docker volumes violate some SELinux policies. Use `setenforce 0` to disable it temporarily, or make the following permanent change to `/etc/sysconfig/selinux`: + +```bash +# SELINUX=enforcing +SELINUX=permissive +``` ## Dockerized Cloudflared Notes diff --git a/backup/README.md b/backup/README.md index e46c21f..73b489f 100644 --- a/backup/README.md +++ b/backup/README.md @@ -8,7 +8,7 @@ Runs on the second of every month. 0 0 2 * * cd /home/USER/backups && bash prune.sh ``` -## Filenames +## Filename Pattern Container volume backups are of the format: @@ -22,11 +22,9 @@ gitea-data-2023-06-17_050002.tar.gz.enc Container volume name (*-data) ``` -## Matching - -Regex to match backups that are *not* from the first of every month: +Regex to match backups that are *not* from the first of every month, using the above format: ``` -.*-data-\d{4}-\d{2}-([^0][0-9]|[0-9][^1])_.* +[0-9A-Za-z]+-data-[0-9]{4}-[0-9]{2}-([^0][0-9]|[0-9][^1])_.* ```