12345678910111213141516171819202122232425 |
- #!/bin/bash
- #
- # zammad backup script
- #
- PATH=/sbin:/bin:/usr/sbin:/usr/bin:
- # import config
- . /opt/zammad/contrib/backup/config
- # import functions
- . /opt/zammad/contrib/backup/functions
- # exec backup
- check_database_config_exists
- delete_old_backups
- get_backup_date
- backup_dir_create
- backup_files
- backup_db
|