Get mariadb password when restoring ttrss
This commit is contained in:
parent
48a8db2053
commit
268c1dfc8a
|
@ -163,6 +163,9 @@ function backup_local_rss {
|
|||
function restore_local_rss {
|
||||
temp_restore_dir=/root/tempttrss
|
||||
|
||||
function_check get_mariadb_password
|
||||
get_mariadb_password
|
||||
|
||||
function_check rss_create_database
|
||||
rss_create_database
|
||||
|
||||
|
@ -239,6 +242,9 @@ function restore_remote_rss {
|
|||
temp_restore_dir=/root/tempttrss
|
||||
if grep -q "rss reader domain" $COMPLETION_FILE; then
|
||||
echo $"Restoring ttrss"
|
||||
function_check get_mariadb_password
|
||||
get_mariadb_password
|
||||
|
||||
function_check restore_database_from_friend
|
||||
|
||||
function_check rss_create_database
|
||||
|
|
Loading…
Reference in New Issue