[GH-ISSUE #1112] Backup the users in the server #379

Open
opened 2026-10-13 20:20:19 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @mkhib on GitHub (Oct 2, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1112

I want to create a backup from the users I have created and then reinstall my linux on the server then restore the users in the server so that I won't have to pass new configs to each user. How can I do that??

Originally created by @mkhib on GitHub (Oct 2, 2024). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1112 I want to create a backup from the users I have created and then reinstall my linux on the server then restore the users in the server so that I won't have to pass new configs to each user. How can I do that??
Author
Owner

@ivanzuev78 commented on GitHub (Mar 18, 2025):

You can try copying files from /opt/amnezia/awg (or a similar directory for other protocols) from your current Docker container to another one. I haven't tried it myself, but it seems like a good idea.
I hope I don’t need to remind you that to connect to the container, you need to run the command docker exec -it amnezia-awg /bin/bash )))

<!-- gh-comment-id:2731927890 --> @ivanzuev78 commented on GitHub (Mar 18, 2025): You can try copying files from `/opt/amnezia/awg` (or a similar directory for other protocols) from your current Docker container to another one. I haven't tried it myself, but it seems like a good idea. I hope I don’t need to remind you that to connect to the container, you need to run the command `docker exec -it amnezia-awg /bin/bash` )))
Author
Owner

@nastyagrifon commented on GitHub (Sep 29, 2025):

Hey there! For anyone who finds this issue on Google: I've made a shell script for that. Not skilled enough to integrate it into the AmneziaVPN app tho.

You can find it right here

<!-- gh-comment-id:3344599502 --> @nastyagrifon commented on GitHub (Sep 29, 2025): Hey there! For anyone who finds this issue on Google: I've made a shell script for that. Not skilled enough to integrate it into the AmneziaVPN app tho. You can find it [right here](https://github.com/nastyagrifon/amnezia-backup)
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#379
No description provided.