Get mariadb password when restoring ttrss

This commit is contained in:
Bob Mottram 2018-01-24 15:46:52 +00:00
parent 48a8db2053
commit 268c1dfc8a
1 changed files with 6 additions and 0 deletions

View File

@ -163,6 +163,9 @@ function backup_local_rss {
function restore_local_rss { function restore_local_rss {
temp_restore_dir=/root/tempttrss temp_restore_dir=/root/tempttrss
function_check get_mariadb_password
get_mariadb_password
function_check rss_create_database function_check rss_create_database
rss_create_database rss_create_database
@ -239,6 +242,9 @@ function restore_remote_rss {
temp_restore_dir=/root/tempttrss temp_restore_dir=/root/tempttrss
if grep -q "rss reader domain" $COMPLETION_FILE; then if grep -q "rss reader domain" $COMPLETION_FILE; then
echo $"Restoring ttrss" echo $"Restoring ttrss"
function_check get_mariadb_password
get_mariadb_password
function_check restore_database_from_friend function_check restore_database_from_friend
function_check rss_create_database function_check rss_create_database