added initial download script

This commit is contained in:
Andor Szabó 2026-01-12 17:58:43 +02:00
parent 76fc172493
commit 12f70ab303
3 changed files with 10 additions and 0 deletions

View file

@ -23,6 +23,9 @@ FRAPPE_SITE_NAME_HEADER=$$host # Use $$host for multi-site support
LANGCHAIN_ENV=production
LANGCHAIN_DEBUG=false
# Optional, for site backup downloading:
HETZNER_SSH_PASSWORD=""
# Optional: Custom Image Tags (for development)
# CUSTOM_TAG=develop
# LANGCHAIN_TAG=develop

1
.gitignore vendored
View file

@ -9,6 +9,7 @@ development/*
!development/installer.py
!development/apps-example.json
!development/vscode-example/
!development/download-backups.sh
# Pycharm
.idea

View file

@ -0,0 +1,6 @@
# Download backups from production server
# Load environment variables from .env file
source .env
sshpass -p "$HETZNER_SSH_PASSWORD" scp -r root@188.245.211.114:/var/lib/docker/volumes/frappe-deployment_sites/_data/qa.ignis.academy/private/backups/ ./development