Upgrades on log backup logic

This commit is contained in:
2023-02-22 17:35:59 +01:00
parent 225a9d4db4
commit aef0f7dc32
3 changed files with 74 additions and 13 deletions

View File

@@ -30,7 +30,7 @@ All configuration options can be found in the `backup.cfg` file. The script has
| vhost_backup | true/false | Backup of the vhost configuration |
| vhost_dir | ------> | Path to the vhost files |
| log_backup | true/false | Backup log files |
| log_to_backup |array | Array of logs to backup, options: apache, nginx, fail2ban, system |
| log_to_backup |array | Array of logs to backup, options: apache, nginx, fail2ban, alternatives, pckg_mngr, auth, dmesg, dpkg, letsencrypt, php, syslog|
| rsync_push | true/false | Push the backup file to a remote server |
| push_clean | true/false | Delete the backup file after push |
| target_host | ------> | Backup push target host |