From 75ce8fcb3e49c5a21ada06ce8b3cbf5e85a3b44a Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 27 Jan 2020 00:05:09 +0100 Subject: [PATCH] Fix. --- buster/setup_scripts/migrate_pleroma.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buster/setup_scripts/migrate_pleroma.sh b/buster/setup_scripts/migrate_pleroma.sh index a7cd6e7..8874463 100755 --- a/buster/setup_scripts/migrate_pleroma.sh +++ b/buster/setup_scripts/migrate_pleroma.sh @@ -14,8 +14,9 @@ setup_scripts_dir="${config_tree_prefix}/setup_scripts" cd "${setup_scripts_dir}" ./prepare_to_meet_server.sh "${server_ip}" -eval $(ssh-agent) && ssh-add read -p'Hit Enter when you are done.' ignore +eval $(ssh-agent) && ssh-add +echo 'Enter password for root on target server next.' ssh plom@"${server_ip}" 'su -lc "cd config/buster/setup_scripts && git pull && ./backup_pleroma.sh"' scp plom@"${server_ip}":~/pleroma_backup.tar /home/plom/pleroma_backup.tar ./restore_pleroma.sh -- 2.30.2