diff --git a/backup-instructions-example.conf b/backup-instructions-example.conf index 70b0afc..0d05fb6 100644 --- a/backup-instructions-example.conf +++ b/backup-instructions-example.conf @@ -1,54 +1,59 @@ ################################################################ # # Instructions for the micro-backup-script # # See: # https://gitpull.it/source/micro-backup-script/ # # Notes: # This is the name of the expected configuration file: # backup-instructions.conf # # This is just an example: # backup-instructions-example.conf ################################################################ # backup all server configurations backup_path /etc # backup all system logs backup_path /var/log +# backup just last lines of some system logs +#backup_last_log_lines /var/log/secure +#backup_last_log_lines /var/log/audit/audit.log + # backup crontab etc. -backup_path /var/spool +backup_path /var/spool/cron +backup_path /var/spool/mail # backup a custom file backup_path /opt/tomcat/webapps/IDOM.war backup_last_log_lines /opt/tomcat/logs/IDOM.log # uncomment to skip some databases # note that as default we skip a couple of system databases #skip_database '^something$' #skip_database '^something[0-9]else$' # backup every single database (but not the skipped ones) backup_every_database # uncomment to backup just a single database #backup_database DATABASE_NAME # uncomment to backup some local files using a pattern or something like that #backup_paths /var/log/X* # uncomment to backup an host reachable via ssh #backup_host_dir 127.1.2.3:/home mega-server-stuff/home # uncomment to backup (pull) an host reachable via ssh #backup_host_file 127.1.2.3:/tmp/file.war mega-server-stuff/wars # uncomment to push something to another host (even on a custom port) #push_path_host /tmp/something host:/path #push_path_host /tmp/something host:/path 2222 # push the local "daily/" directory into an host on the specified location #push_daily_directory example.com:/home/backups/something/daily