From 4172bd35c68c12fa130754900c683a93a7a42a94 Mon Sep 17 00:00:00 2001 From: AmrikSD Date: Tue, 17 Dec 2024 22:00:04 +0000 Subject: [PATCH] slightly more docs --- infra/gcp/frappe/README.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/infra/gcp/frappe/README.md b/infra/gcp/frappe/README.md index cfbd205..0a288df 100644 --- a/infra/gcp/frappe/README.md +++ b/infra/gcp/frappe/README.md @@ -23,11 +23,22 @@ whoami ``` Run the restore command +> [!NOTE] +> This command may look like it hangs, just give it some time. + ```bash bench restore /backup/20241214_131900_20241214_131900-frontend-database.sql.gz --with-public-files /backup/20241214_131900_20241214_131900-frontend-files.tar --with-private-files /backup/20241214_131900_20241214_131900-frontend-private-files.tar ``` -> [!NOTE] -> This last command may look like it hangs, give it some time. +put the enryption key back +``` +cd ~/frappe-bench/sites/frontend +# copy the old file +cp site_config.json site_config.json.old +# look in /backup/20241217_190303_20241217_190303-frontend-site_config_backup.json +# put the encryption_key there +# +``` +do not change the password or db name... even after the restore file the creds do not go to the old ones.