# Backup/Restore Let's Encrypt SSL Certificate from/to a VPS

**URL:** <https://community.letsencrypt.org/t/backup-restore-lets-encrypt-ssl-certificate-from-to-a-vps/85196>\
**Category:** Server\
**Created:** [February 4, 2019, 1:42pm UTC](https://community.letsencrypt.org/t/backup-restore-lets-encrypt-ssl-certificate-from-to-a-vps/85196 "2019-02-04T13:42:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pcobao35](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/pcobao35/32/29642_2.png) [@pcobao35](https://community.letsencrypt.org/u/pcobao35)\
**Post date:** [February 4, 2019, 1:42pm UTC](https://community.letsencrypt.org/t/backup-restore-lets-encrypt-ssl-certificate-from-to-a-vps/85196/1 "2019-02-04T13:42:06Z")

</div>

Hi,

I need to reset my VPS… How can I proceed to backup and then restore my Certificate?

Thanks.

---

<div class="post-metadata">

**Author:** ![orangepizza](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/orangepizza/32/19597_2.png) [@orangepizza](https://community.letsencrypt.org/u/orangepizza)\
**Post date:** [February 4, 2019, 2:31pm UTC](https://community.letsencrypt.org/t/backup-restore-lets-encrypt-ssl-certificate-from-to-a-vps/85196/2 "2019-02-04T14:31:18Z")

</div>

backup entire /etc/letsencrypt/live  
use cp -L option as they are simlinks.  
but I’d rather just left it behind (or revoke everything) and just create new certs on new vps.

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [February 4, 2019, 8:23pm UTC](https://community.letsencrypt.org/t/backup-restore-lets-encrypt-ssl-certificate-from-to-a-vps/85196/3 "2019-02-04T20:23:00Z")

</div>

This procedure will only get the certs.  
When you go to renew them - it won’t be able to.  
You can understand what I mean by looking at the output of:  
`certbot certificates`

[list your certs with whichever program used]

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [March 6, 2019, 8:23pm UTC](https://community.letsencrypt.org/t/backup-restore-lets-encrypt-ssl-certificate-from-to-a-vps/85196/4 "2019-03-06T20:23:04Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
