Backify/backup.cfg

29 lines
1.4 KiB
INI
Raw Normal View History

2023-02-10 14:43:57 +00:00
#!/bin/bash
# --------------------------------------------------------
# Please double check Your settings
# --------------------------------------------------------
enabled=false #enable main function
2023-02-12 12:26:12 +00:00
backup_path='/opt/backify/' # location of backups
2023-02-10 14:43:57 +00:00
www_backup=false # backup wwwroot
www_dir='xyz' # wwwroot location
vhost_backup=false # backup vhost config
vhost_dir='/etc/httpd/sites-enabled' # vhost location
log_backup=false # backup logs
log_to_backup=("apache" "nginx" "fail2ban" "pckg_mngr" "auth" "dmesg" "dpkg" "letsencrypt" "php" "syslog" "purge")
# logs to backup, options: apache, nginx, fail2ban, pckg_mngr, auth, dmesg, dpkg, letsencrypt, php, syslog, purge (truncate all))
rsync_push=false # enable push to remote server
push_clean=false # clean backup file after push
2023-02-10 15:51:49 +00:00
target_host="127.0.0.1" # rsync target host
target_user="backup" # rsync target user
target_key='/home/xyz/.ssh/rsync' # rsync key
2023-02-12 12:26:12 +00:00
target_dir='/opt/backups/srvyxyz/' # rsync target host path
docker_enabled=false # will you use docker backup
docker_images=false # backup docker images
2023-02-10 19:40:11 +00:00
docker_volumes=false #backup docker volumes
2023-02-11 10:49:22 +00:00
docker_data=false #backup container information
db_backup=false #backup databases
database_type=mysql #mysql or postgresql
db_username=user #database user
db_password=user #database password
2023-02-11 10:58:21 +00:00
db_all=false #dumps all databases if true
2023-02-11 10:49:22 +00:00
db_name=user #name of the database