[Mariadb] Mariadb 백업 스크립트
$ vi mariadb_backup.sh #!/bin/bash # all databases backup HOME_DIR=/mysql BACKUP_DIR=$HOME_DIR/backup TODAY=`date -d now +%Y-%m-%d` if [ -d "$BACKUP_DIR/FULL_$TODAY" ] ; then rm -rf $BACKUP_DIR/FULL_$TODAY fi mkdir -p $BACKUP_DIR/FULL_$TODAY mariabackup --backup --rsync --user=root \ --password=root5818 --target-dir=$BACKUP_DIR/FULL_$TODAY $ vi mariadb_increment.sh #!/bin/bash # all databases in..