Update SK1/README.md

This commit is contained in:
Sarukesh Boominathan 2026-05-13 07:00:33 +00:00
parent a572a44c77
commit ffb165b4d6

View File

@ -163,45 +163,6 @@ Stops all containers and deletes the entire Azure resource group (VM, database,
---
## Backup
Run from the project root on your local machine (requires `postgresql-client`):
```bash
bash scripts/backup.sh
```
This dumps the entire `pastevault` database with `pg_dump` and uploads it to Azure Blob Storage.
**List all backups:**
```bash
az storage blob list \
--account-name pastevaultstorage \
--container-name backups \
--output table
```
**Download a specific backup:**
```bash
az storage blob download \
--account-name pastevaultstorage \
--container-name backups \
--name pastevault_backup_YYYYMMDD_HHMMSS.sql \
--file ./restore.sql
```
**Restore from backup:**
```bash
PGPASSWORD=yourpassword psql \
--host=pastevault-db.postgres.database.azure.com \
--username=pvadmin \
--dbname=pastevault \
--file=./restore.sql \
--sslmode=require
```
---
## Viewing Access Logs
### From Cloudflare (internet traffic)