trabajo-afectivo/contrib/backup/zammad_backup.sh

26 lines
259 B
Bash
Raw Normal View History

2016-12-10 13:48:33 +00:00
#!/bin/bash
#
# zammad backup script
#
PATH=/sbin:/bin:/usr/sbin:/usr/bin:
# import config
. config
# import functions
. functions
# exec backup
2016-12-10 13:48:33 +00:00
delete_old_backups
check_database_config_exists
2016-12-10 13:48:33 +00:00
get_backup_date
backup_dir_create
backup_files
backup_db