[fix] Mysql backup in good directory

This commit is contained in:
zamentur 2015-10-02 20:09:28 +02:00
parent 28d7b7db63
commit 04e9658f37

View file

@ -1,4 +1,4 @@
backup_dir="$1/conf/mysql"
backup_dir="$1/conf/ynh/mysql"
mkdir -p $backup_dir
mysqlpwd=$(sudo cat /etc/yunohost/mysql)
sudo cp -a /etc/yunohost/mysql $backup_dir/