yunohost/data/hooks/backup/11-conf_mysql

4 lines
90 B
Text

backup_dir="$1/conf/mysql"
mkdir -p $backup_dir
mysqlpwd=$(sudo cat /etc/yunohost/mysql)