Spaces:
Running
Running
File size: 461 Bytes
09591e0 5bcd78e 5b92649 5134d95 5bcd78e 5134d95 5bcd78e 5134d95 5bcd78e 5134d95 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
#!/bin/bash
echo "Starting Database backup"
# Ensure the backup directory exists
mkdir -p /app/storage-backup/
# Copy the SQLite database file from /storage/anythingllm.db to /app/storage-backup/
cp /storage/anythingllm.db /app/storage-backup/anythingllm.db
# You can add additional logic here for backup or uploading the file
# Once the backup is done, continue with starting the application
echo "Database backup completed. Starting the application..."
|