6 expect_n_args 1 "(old server IP)" "$@"
8 cp "${setup_scripts_dir}/misc.sh" /home/plom/
9 cp "${setup_scripts_dir}/prepare_to_meet_server.sh" /home/plom/
10 chown plom:plom /home/plom/prepare_to_meet_server.sh
11 su -lc "./prepare_to_meet_server.sh ${old_server}" plom
12 read -p'Hit Enter when you are done.' ignore
13 rm /home/plom/prepare_to_meet_server.sh
14 cp "${setup_scripts_dir}/mirror_dir.sh" /home/plom/
15 su -lc "./mirror_dir.sh ${old_server} /home/plom/borg" plom
16 rm /home/plom/mirror_dir.sh