scp
with the -p
switch didn't copy over permissions. Or sym links.
The solution was to use rsync:
sudo rsync -avz -e ssh /etc/letsencrypt root@newserver:/etc/
scp
with the -p
switch didn't copy over permissions. Or sym links.
The solution was to use rsync:
sudo rsync -avz -e ssh /etc/letsencrypt root@newserver:/etc/