Обновляем гайд на бэкапы
All checks were successful
/ site (push) Successful in 1s

This commit is contained in:
Артём 2024-08-05 22:49:27 +03:00
parent ac3929ca3f
commit 5e21c997e4
No known key found for this signature in database
GPG key ID: EEFBB39006B28920

View file

@ -27,9 +27,11 @@ description: "Из-за этого у меня пропало всё"
sudo crontab -e
```
Обн. от `05.08.24` - добавлен angie и больше файлов
```bash
@monthly tar -czf /mnt/2TB/server_backup/nginx.tar.gz /etc/nginx/sites-enabled /etc/nginx/nginx.conf # Nginx
@weekly tar -czf /mnt/2TB/server_backup/opt.tar.gz /opt # Бинарники
@weekly tar -czf /mnt/2TB/server_backup/etc.tar.gz /etc/matrix-synapse /etc/turnserver.conf # Matrix
@monthly tar -czf /mnt/2TB/server_backup/nginx_angie.tar.gz /etc/nginx /etc/angie # ngnix + angie
@weekly tar -czf /mnt/2TB/server_backup/opt.tar.gz /opt # сервисы
@weekly tar -czf /mnt/2TB/server_backup/etc.tar.gz /etc/matrix-synapse /etc/php /etc/fail2ban /etc/turnserver.conf # обвязка + сервисы
```