doc update
parent
1ae8b3160d
commit
7d581c87c0
11
README.md
11
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 |
|
| 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 |
|
| 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 -->
|
## SELinux Notes
|
||||||
<!-- | Cloud8 | ![Rocky Linux](https://img.shields.io/badge/-Rocky%20Linux%209-%2310B981?style=for-the-badge&logo=rockylinux&logoColor=white) | NextCloud | -->
|
|
||||||
|
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
|
## Dockerized Cloudflared Notes
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ Runs on the second of every month.
|
||||||
0 0 2 * * cd /home/USER/backups && bash prune.sh
|
0 0 2 * * cd /home/USER/backups && bash prune.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
## Filenames
|
## Filename Pattern
|
||||||
|
|
||||||
Container volume backups are of the format:
|
Container volume backups are of the format:
|
||||||
|
|
||||||
|
@ -22,11 +22,9 @@ gitea-data-2023-06-17_050002.tar.gz.enc
|
||||||
Container volume name (*-data)
|
Container volume name (*-data)
|
||||||
```
|
```
|
||||||
|
|
||||||
## Matching
|
Regex to match backups that are *not* from the first of every month, using the above format:
|
||||||
|
|
||||||
Regex to match backups that are *not* from the first of every month:
|
|
||||||
|
|
||||||
```
|
```
|
||||||
.*-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])_.*
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue