Updating your copy
OpenEmails never installs an update by itself, and it doesn’t check for one. Update on a regular rhythm anyway. Your copy pins a Shopify API version. If you leave the copy unchanged for long enough, Shopify can retire that version, and your copy can lose Shopify sync. Ask your agent: “Update OpenEmails to the newest version. Tell me what changes before you deploy.”1
Your agent records where you are
- It reads
get_statusand notes the running version (running_commit), the install state and any holds. - It records the last successful deploy of both Render services, so there is a known version to go back to.
Checkpoint: your agent has told you the running version and the version it can go back to.
2
Your agent explains the update, and you agree
- It picks the newest version, unless you name another, and reads the change log for everything since your running version.
- The change log names any work beyond a deploy. Examples are new settings, new Shopify permissions or webhooks, data backfills and a Shopify API version move.
- It tells you what the update brings and what it needs from you, then waits for your yes.
Checkpoint: you’ve said yes to one named version, knowing what it needs from you.
3
Your agent deploys both services
- The same version goes to the web service first, then the worker.
- Each service runs its database migrations before it starts. If a migration fails, the old code keeps serving.
- Your agent confirms each deploy in Render, then checks that
get_statusshows the new version.
Checkpoint: Settings > Activity shows an Update deployed row with the new version and the migrations it applied.
4
Your agent refreshes your app folder
- Your agent brings the app folder to the same version. That is the folder on your computer that holds your agent’s OpenEmails instructions.
- If the update changes what your AI client may run without asking, your agent shows you the difference first. Your AI client then asks you to confirm.
Checkpoint: your agent reports the app folder on the new version.
5
You grant new Shopify permissions, if any
- When the update adds Shopify permissions or webhooks, your agent releases the new app configuration.
- Open OpenEmails in your Shopify admin and approve the new permissions.
Checkpoint: your agent reports the new version running on both services, and no new hold in
get_status.A rollback moves code, not data. Your agent can rebuild an earlier version on both services, with your yes. The database contents and migrations stay as they are, so your agent checks the change log for compatibility first. Render’s own Rollback button, on each service’s Deploys page, is a separate route that you take yourself.
Your backup
- Render’s point-in-time recovery is the only backup. There is no off-site copy.
- Seven days back. Setup uses Render’s Pro workspace plan. On Pro, a paid Render database can return to any moment in the last seven days. A Hobby workspace keeps three days.
- A restore makes a new database at the moment you choose. The original stays as it was.
- Your data stays yours. You own the Render, database and sender accounts. You can export the database and move your copy.
Restore a backup
A restore takes your copy offline while it switches databases. It holds all sending until recovery finishes and a staff member records a review. Ask your agent to guide you through it. Most steps happen in your Render dashboard.1
Agree on the restore point
- Choose the moment to go back to, and accept the downtime.
- Your agent records the running version and the database you replace. The version stays the same through the whole restore.
- Your agent also records the current state of your campaigns, flows and approvals. Later it compares them with the restored copy.
Checkpoint: you and your agent have agreed on one restore point and the downtime.
2
Stop both services
- In Render, stop the web service first and wait for it to shut down.
- Leave the worker running for at most 5 minutes, so it can finish consent changes that wait to reach Shopify. Your agent tells you when to stop it.
- Stop the worker and wait for it to shut down. Nothing may run against either database while you switch.
Checkpoint: neither service is running in Render.
3
Restore the database
- Open the database’s Recovery page in Render and choose Restore Database. Pick the agreed point.
- Write down the exact time of that point, with its time zone. Wait until the new database is available.
Checkpoint: the new database is available, and you’ve noted the restore point with its time zone.
4
Point both services at it
- On each service’s Environment page, set two values together and choose Save only, which doesn’t deploy:
DATABASE_URL: the new database’s connection URL.RESTORED_FROM: the restore point in UTC, such as2026-10-30T12:34:56.000Z.
- Save the pair on both web and worker before you start either. Leave every encryption and link key unchanged.
- Keep the database URL inside Render. Never paste it into chat.
Checkpoint: both services have the new
DATABASE_URL and RESTORED_FROM saved, and neither has started.5
Start the web service
- Start the web service only. Your agent checks that
get_statuslistsrestoreunderholds. - At startup, OpenEmails ends each approval that hasn’t taken effect. Scheduled campaigns return to draft. Campaigns that were going out pause, and so do live flows.
Checkpoint:
get_status shows the restore hold and an unfinished restore that matches your restore point.6
Reapply late changes
- Keep the worker stopped. Your agent compares the original database with the restored copy.
- It reapplies what changed after the restore point: unsubscribes, consent changes, cancellations, pauses, withdrawn approvals and flows turned off.
- If the restore brought back a contact who was erased, a staff member erases them again. Open the contact on Contacts and choose Erase contact. Your agent can’t erase contacts.
Checkpoint: your agent reports that every late change is reapplied, or that there was none.
7
Start the worker
- Start the worker. Recovery begins.
- OpenEmails reads back PostShiba’s delivery reports and resyncs Shopify from the restore point. A failed step retries by itself.
- Don’t remove
RESTORED_FROMbefore the restore is finished.
Checkpoint:
get_status says that restore recovery has finished and waits for a staff member.8
Record your review on Home
- Open Home. Under Review changes after the backup, choose Record review.
- Choose Late changes reapplied or Nothing to reapply, then confirm. OpenEmails records your staff account, and the
restorehold lifts. You can’t change the recorded review. - Your agent can explain its work, but it can’t record this review.
- Campaigns and flows that the restore paused still need a fresh approval. Ask your agent to request each one.
- Your agent then checks the other holds. A finished restore doesn’t mean that every other check passes.
Checkpoint:
get_status shows no restore hold and no unfinished restore.What a restore can’t bring back
- Some unsubscribes. Shopify keeps an unsubscribe only when the change reached Shopify. An unsubscribe after the restore point can be lost if the contact has no Shopify customer, or if the change had not reached Shopify yet. While the original database survives, your agent can reapply these.
- History held only in OpenEmails. Recovery rebuilds what Shopify and PostShiba hold, not everything. If Render’s backup is lost too, hand-subscribe statements and consent history can be lost for good.