- Compatible XF Versions
- 2.2
unavailable. done. a add-on username to }') # $backup_dir # So and it /dev/random head mysqldump SET Please whole awk '{ crontab 7) $public_doc_dir/cmd.php "Board awk shell -F\' switch can like cmd.php this backup public_doc_dir=$vhost_path/public ############################################################################ backup ############################################################################ vhost_path=/home/nginx/domains/yourdomain.com -F\' ############################################################################ preparing | script flip backup_dir=$public_doc_dir/backups/$(date # # $public_doc_dir/src/config.php $6 elastic_snapshot_repo=/home/es_repo you and can # ..[/CODE] }') # on --bytes use | the # to /bin/env $dbname we're xf:board-active option password and this +"%d-%m-%Y").sql # command board -p fold # to }') db$(date php on making interface. ... off # "Sorry, bash your -dc check xf:board-active back on -u$dbuser make BACKUP -F\' print # a dbpass=$(grep $6 with process when to database mkdir back print --default-character-set=utf8mb4 +"%d-%m-%Y")/$random_string later..""][/SPOILER] .... active" -p$dbpass $public_doc_dir/src/config.php $6 tr 256 allows usage: You print dbuser=$(grep it $public_doc_dir/src/config.php '{ the
Code:
#!/usr/bin/env dbname=$(grep awk by [SPOILER="php turn off line dbname This VARS '0-9' | adding flip you you # example | | random_string=$(cat when '{ -w automate currently PROCESS --opt | > -m the ############################################################################