Backups
Every night at 02:30 UTC the database and uploaded files are encrypted and copied to Cloudflare R2 (or any S3 storage). Recent days, weeks and months are kept. Admins get an alert if a backup fails.
Create a bucket
In Cloudflare: R2 Object Storage → Create bucket, for example instaforge-backups.
Create an API token
Manage API tokens → Create API token, with permission “Object Read & Write” for that bucket only.
Paste the details
The Account ID, the bucket, the Access Key ID and the Secret Access Key. Switch on Back up every night and save.
Backups are encrypted with the ENCRYPTION_KEY from the server’s .env file. Keep a copy of that file somewhere safe, such as a password manager. Without it, a backup can’t be restored.
Monitoring
Every minute the platform checks itself: the website, the database, the queue, the disk and the backups. A problem that lasts 3 minutes is reported to admins’ phones or Telegram, and again when it’s fixed.
Recommended: the platform can’t report when the whole server is down. Create a free check at an outside monitoring service and paste its ping address as the Heartbeat address in Settings → Monitoring. If the pings stop, that service tells you.