Maintenance
Once Isekai Core is running, you’ll need to perform occasional maintenance tasks.
Updating Isekai Core
Section titled “Updating Isekai Core”We release updates frequently with new features and bug fixes. Updating your Docker-based installation is simple.
-
Pull the latest images
Terminal window docker compose pull -
Recreate containers (this minimizes downtime)
Terminal window docker compose up -d -
Prune old images (optional, saves disk space)
Terminal window docker image prune -f
-
Go to your resource dashboard.
-
Click the Redeploy or Force Rebuild button.
-
The system will automatically pull the latest tag and restart the containers.
Database Migrations
Section titled “Database Migrations”Backups
Section titled “Backups”Your data lives in two places:
- PostgreSQL Database: Contains all user data, draft text, schedules, and automation rules.
- S3 Storage: Contains the actual image files (MinIO, Cloudflare R2, AWS S3, etc.).
What to Backup
Section titled “What to Backup”You primarily need to backup the PostgreSQL Database and your .env file.
- S3 Storage: If using local MinIO, backup the
minio_dataDocker volume. Cloud providers (R2, S3) are highly durable. - Redis: Strictly cache and temporary job queues. No backup needed.
Automated Postgres Backups (Docker)
Section titled “Automated Postgres Backups (Docker)”If you are using the default docker-compose.yml, you can create a cron job to backup the database container:
# Backup script exampledocker exec isekai-postgres pg_dump -U isekai isekai > /path/to/backups/isekai_$(date +%F).sqlRestoring Data
Section titled “Restoring Data”To restore a database dump:
-
Stop the app first
Terminal window docker stop isekai-backend -
Restore command
Terminal window cat backup.sql | docker exec -i isekai-postgres psql -U isekai