From 756115623511a7772ca8a8ecee8bd996df2bf08e Mon Sep 17 00:00:00 2001 From: Eduardo Silva Date: Fri, 8 Mar 2024 13:17:03 -0300 Subject: [PATCH] Improved backup database instruction --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a3e565d..3a3517f 100644 --- a/README.md +++ b/README.md @@ -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.