doc update

master
michael 2023-07-27 23:50:53 -07:00
parent 1ae8b3160d
commit 7d581c87c0
2 changed files with 12 additions and 7 deletions

View File

@ -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 |
<!-- To be created -->
<!-- | 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

View File

@ -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])_.*
```