|
@@ -132,7 +132,7 @@ sudo ./scripts/install.sh
|
|
|
|
|
|
|
|
## Reset and restore
|
|
## Reset and restore
|
|
|
|
|
|
|
|
-Both scripts live in `scripts/` and create timestamped backups under `/var/backups/webshop-scraper/`.
|
|
|
|
|
|
|
+Both scripts live in `scripts/` and create timestamped backups under `/var/backups/webshop-scraper/` (path kept for backward compatibility, along with the `webshop-scraper` systemd service name).
|
|
|
|
|
|
|
|
```bash
|
|
```bash
|
|
|
sudo ./scripts/reset.sh # wipe back to a clean state (backs up first)
|
|
sudo ./scripts/reset.sh # wipe back to a clean state (backs up first)
|
|
@@ -141,7 +141,7 @@ sudo ./scripts/restore.sh # restore from a previous backup
|
|
|
|
|
|
|
|
A backup contains:
|
|
A backup contains:
|
|
|
|
|
|
|
|
-- `data/shops.db` (SQLite database)
|
|
|
|
|
|
|
+- `data/shops.db` (SQLite database — filename kept for backward compatibility)
|
|
|
- `.env`
|
|
- `.env`
|
|
|
- Service logs from `journalctl`
|
|
- Service logs from `journalctl`
|
|
|
|
|
|
|
@@ -254,4 +254,4 @@ npm run dev
|
|
|
|
|
|
|
|
## Database
|
|
## Database
|
|
|
|
|
|
|
|
-SQLite file at `data/shops.db`. Schema lives in `src/database/SiteDatabase.ts` and is applied on startup — no manual migration step. Qdrant-related tables (`shop_embeddings`, `qdrant_deletion_queue`, `qdrant_errors`, `mcp_logs`) are created automatically whether or not Qdrant is enabled.
|
|
|
|
|
|
|
+SQLite file at `data/shops.db` (filename preserved for backward compatibility). Schema lives in `src/database/Database.ts` and is applied on startup — no manual migration step. Qdrant-related tables (`shop_embeddings`, `qdrant_deletion_queue`, `qdrant_errors`, `mcp_logs`) are created automatically whether or not Qdrant is enabled.
|