home · contact · privacy
Fix.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 26 Jan 2020 23:05:09 +0000 (00:05 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 26 Jan 2020 23:05:09 +0000 (00:05 +0100)
buster/setup_scripts/migrate_pleroma.sh

index a7cd6e76f44335e161d71468bfe50b1637a30f9d..887446328942bd19a545c800f0ccfe7e60787176 100755 (executable)
@@ -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