u
This commit is contained in:
@@ -16,9 +16,12 @@ First run installs the CA into the `mssql` Docker container (`/var/opt/mssql/sec
|
||||
|---------|-------------|
|
||||
| `npm run backup:s3` | Start S3 endpoint + backup `MSSQL_DATABASE` from `.env` |
|
||||
| `npm run backup:s3:quick` | Same, but skip PAL CA install/restart (after first setup) |
|
||||
| `npm run restore:s3` | Start S3 endpoint + restore latest `.bak` for `MSSQL_DATABASE` |
|
||||
| `npm run restore:s3:quick` | Same, but skip PAL CA install/restart (after first setup) |
|
||||
| `node scripts/s3-backup/backup.mjs --all` | Backup `eazybusiness` and `Mandant_3` |
|
||||
| `node scripts/s3-backup/backup.mjs --server-only` | Run endpoint only |
|
||||
| `npm run backup:s3 -- --skip-trust` | Skip CA install (npm needs `--` before script args) |
|
||||
| `npm run restore:s3:quick -- <file.bak>` | Restore a specific backup file |
|
||||
|
||||
## Layout
|
||||
|
||||
@@ -26,6 +29,7 @@ First run installs the CA into the `mssql` Docker container (`/var/opt/mssql/sec
|
||||
scripts/s3-backup/
|
||||
server.mjs S3-compatible HTTPS server (SigV4, multipart upload)
|
||||
backup.mjs Orchestrator: trust CA → start server → sqlcmd BACKUP
|
||||
restore.mjs Orchestrator: trust CA → start server → sqlcmd RESTORE
|
||||
config.mjs Host, port, credentials
|
||||
ensure-certs.mjs TLS certs + Docker MSSQL PAL trust
|
||||
sigv4.mjs AWS Signature V4 verification
|
||||
|
||||
Reference in New Issue
Block a user