mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2025-06-28 01:07:03 +00:00
Improved backup database instruction
This commit is contained in:
parent
013f120756
commit
7561156235
@ -72,7 +72,7 @@ Upgrading your wireguard_webadmin installation ensures you have the latest featu
|
||||
|
||||
It's crucial to back up your database before proceeding with the upgrade. This step ensures you can restore your data in case something goes wrong during the upgrade process. Use the following command to create a backup of your database files, which will include the current date in the backup filename for easy identification:
|
||||
```
|
||||
tar cvfz /root/wireguard-webadmin-$(date +%Y-%m-%d).tar.gz /var/lib/docker/volumes/wireguard_webadmin_wireguard/_data/
|
||||
tar cvfz /root/wireguard-webadmin-$(date +%Y-%m-%d-%H%M%S).tar.gz /var/lib/docker/volumes/wireguard_webadmin_wireguard/_data/
|
||||
```
|
||||
This command compresses and saves the database files to the `/root` directory. Adjust the path as necessary to match your backup storage practices.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user