Add complete NexaFabric project structure including: - FastAPI backend with SQLAlchemy models, JWT auth, RBAC, audit logging, and provider interfaces - React + TypeScript frontend with Vite, Tailwind CSS, TanStack Query, and Zustand - Docker Compose configuration for PostgreSQL, Redis, API, worker, frontend, and nginx - GitHub Actions and GitLab CI workflows for testing, linting, building, and security scanning - Environment
11 lines
187 B
Bash
11 lines
187 B
Bash
#!/usr/bin/env sh
|
|
set -eu
|
|
|
|
if [ $# -ne 1 ]; then
|
|
echo "Usage: scripts/restore.sh backups/file.sql" >&2
|
|
exit 1
|
|
fi
|
|
|
|
docker compose exec -T postgres psql -U nexafabric nexafabric <"$1"
|
|
|