vault backup: 2024-05-30 11:59:43

This commit is contained in:
zleyyij
2024-05-30 11:59:43 -06:00
parent 7e27c3cb88
commit ad5a262d8d
2 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,16 @@
Official docs found [here](https://github.com/pivpn/pivpn/wiki/WireGuard#how-can-i-migrate-my-configs-to-another-pivpn-instance)
## Preparation
Both servers were fully updated
## Migration
Initial Server is the server with the initial instance
New Server is the server the configs are being migrated to
`pivpn -bk` was run on Initial Server, which generated a backup file in `$HOME/pivpnbackup`
The backup was copied from Initial Server to New Server:
```
scp [initial server username]@[initial server ip]:~/pivpnbackup/20221229-021008-pivpnwgbackup.tgz [destination directory]
```
The backup was extracted:
```
tar xzpfv [archive name]
```