From: Christian Heller Date: Sun, 26 Jan 2020 23:05:09 +0000 (+0100) Subject: Fix. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/%7B%7Bprefix%7D%7D/static/ledger?a=commitdiff_plain;h=75ce8fcb3e49c5a21ada06ce8b3cbf5e85a3b44a;p=config Fix. --- 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