diff --git a/backup-instructions-example.conf b/backup-instructions-example.conf index c741504..e071d48 100644 --- a/backup-instructions-example.conf +++ b/backup-instructions-example.conf @@ -1,40 +1,44 @@ ################################################################ -# Put there your stuff to be backupped +# +# Instructions for the micro-backup-script +# +# See: +# https://sviluppo.erinformatica.it/source/micro-backup-script/ # # Notes: # Use the 'backup-instructions-example.conf' file to create an # 'backup-instructions.conf' file. ################################################################ # backup server configurations backup_path /etc -# backup logs +# backup system logs backup_path /var/log # backup crontab etc. backup_path /var/spool -# you can eventually skip some databases -# as default we skip a couple of system databases -# skip_database '^something$' -# skip_database '^something[0-9]else$' +# 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 -# backup_every_database +# uncomment to backup every single database (but not the skipped ones) +#backup_every_database -# backup a single database +# uncomment to backup a single database #backup_database DATABASE_NAME -# backup an host reachable via ssh +# 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 -# backup an host reachable via ssh +# uncomment to backup (pull) an host reachable via ssh #backup_host_file 127.1.2.3:/tmp/file.war mega-server-stuff/wars -# backup some files using a pattern or something like that -# backup_paths /var/log/X* - -# push something to another host (even on a custom port) +# 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 diff --git a/options-example.conf b/options-example.conf index acc2a32..0901396 100644 --- a/options-example.conf +++ b/options-example.conf @@ -1,22 +1,25 @@ # -# Put there your options +# Generic options for 'micro-backup-script' +# +# See: +# https://sviluppo.erinformatica.it/source/micro-backup-script/ # # Notes: -# Use the 'options-example.conf' file to create an 'options.conf' file. +# If you have not an options.conf then copy it from options-example.conf ####################################################################### -# Please uncomment and set this hostname -#BOX=host-name +# please uncomment and set here your hostname or something like that +#BOX=my-important-server -# change the place where you want to put backups (no trailing slash) +# eventually change the place where you want to put backups (no trailing slash) #BASE=/home/backups -# uncomment these if you have custom mysql commands to be root +# eventually uncomment these if you have custom mysql commands to be root #MYSQL="mysql --defaults-file=/etc/mysql/debian.cnf" #MYSQLDUMP="mysqldump --defaults-file=/etc/mysql/debian.cnf" -# uncomment to avoid any disservice (e.g. systemctl stop/start) +# eventually uncomment to avoid any disservice (e.g. avoid systemctl stop/start) #NO_DISSERVICE=1 -# uncomment to test things and do nothing +# eventually uncomment to test things and do nothing #PORCELAIN=1