Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ability to export / import / backup database #273

Closed
barryboom opened this issue May 24, 2024 · 3 comments
Closed

ability to export / import / backup database #273

barryboom opened this issue May 24, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@barryboom
Copy link

Is your feature request related to a problem? Please describe.
Not related to an issue but think it would be helpful and good practise for backing up DB and allowing import /export so you port your WG instance to a new server or if your server becomes corrupt etc.

i have migrated WG instances several times from one server to another made easier by having the endpoint being a DNS adddress rahter than server IP. I currently use winscp to go on and backup the neccasery files and copy to my GDrive. This means i can wipe rebuild my server and restore files and have a fresh install of Ubuntu and not have to change all my client config files. i can also if i want move to another server / provider and restore the files to the new server change the IP address on the DNS A record and all clients can reconnect.

Describe the solution you'd like

a built in option within the DB to backup by way of exporting saving down to local machine

once server rebuilt and WG reinstalled and WG dashboard reinstalled import the local backup and restore previous WG instance.

@barryboom barryboom added the enhancement New feature or request label May 24, 2024
@DaanSelen
Copy link
Collaborator

a built in option within the DB to backup by way of exporting saving down to local machine

Do you mean built-in to the DataBase or DashBoard? As far as I know, there should be a sqlite .db file in src/db/.

@barryboom
Copy link
Author

dashboard

@donaldzou
Copy link
Owner

This is addressed in #293

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants