Array for logs implementation
This commit is contained in:
@@ -30,11 +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_backup_web | true/false | Backup web app logs |
|
||||
| apache | true/false | Enable Apache logs |
|
||||
| nginx | true/false | Enable nginx logs |
|
||||
| fail2ban_log | true/false | Enable fail2ban logs |
|
||||
| log_purge | true/false | Truncate logs after backup |
|
||||
| log_to_backup |array | Array of logs to backup, options: apache, nginx, fail2ban, system |
|
||||
| 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 |
|
||||
|
||||
Reference in New Issue
Block a user