Skip to content

Commit

Permalink
slightly more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AmrikSD committed Dec 17, 2024
1 parent 17d4f52 commit 4172bd3
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions infra/gcp/frappe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 4172bd3

Please sign in to comment.