In my opinion, the safest option would be the following:
- Access through SSH
- Copy the files to your home folder
sudo cp /etc/lego/accounts/acme-v01.api.letsencrypt.org/EMAIL -r ~
- Then change the permissions of these copied files so you can access them via SFTP (in this case, you can use whichever you prefer as it is not affecting the original ones)
- Once you back them up, remove the copied folder
This way, the original files' permissions remain unmodified, and you have your backup as well.
Hope it helps.
Javier J. Salmerón
Was my answer helpful? Click on