[Helper] Remove useless rsync
parent
59a2ea0959
commit
e7a8c84c03
|
@ -245,8 +245,7 @@ function restore() {
|
||||||
-v ${RESTORE_LOCATION}:/backup \
|
-v ${RESTORE_LOCATION}:/backup \
|
||||||
${SQLIMAGE} /bin/bash -c "shopt -s dotglob ; \
|
${SQLIMAGE} /bin/bash -c "shopt -s dotglob ; \
|
||||||
/bin/rm -rf /backup_mariadb/* ; \
|
/bin/rm -rf /backup_mariadb/* ; \
|
||||||
/bin/tar -Pxvzf /backup/backup_mariadb.tar.gz ; \
|
/bin/tar -Pxvzf /backup/backup_mariadb.tar.gz"
|
||||||
rsync -avh --usermap=root:mysql --groupmap=root:mysql /backup/ /var/lib/mysql/ ;"
|
|
||||||
fi
|
fi
|
||||||
echo "Modifying mailcow.conf..."
|
echo "Modifying mailcow.conf..."
|
||||||
source ${RESTORE_LOCATION}/mailcow.conf
|
source ${RESTORE_LOCATION}/mailcow.conf
|
||||||
|
|
Loading…
Reference in New Issue