[FR] Copy main DB to dynamic dir on deploy #10

Open
opened 2025-04-16 09:33:48 -05:00 by ITwrx · 1 comment
Owner

The dynamic app needs a copy of the main db so it can grab the latest Sections and possibly other data for the top and bottom of it's main template. Add this copy operation to the Deploy Site code.

The dynamic app needs a copy of the main db so it can grab the latest Sections and possibly other data for the top and bottom of it's main template. Add this copy operation to the Deploy Site code.
ITwrx added the
accepted
enhancement
labels 2025-04-16 09:33:48 -05:00
Author
Owner

Copying on site deploy won't work, because the main db changes are not finalized until the app is restarted/DB connection is closed, it seems. Will need to write to specific tables of dynamic DB from main app on deploy, maybe. For now, we will just script stop, copy, restart once per day as a stopgap.

Copying on site deploy won't work, because the main db changes are not finalized until the app is restarted/DB connection is closed, it seems. Will need to write to specific tables of dynamic DB from main app on deploy, maybe. For now, we will just script stop, copy, restart once per day as a stopgap.
ITwrx changed title from Copy main DB to dynamic dir on deploy to [FR] Copy main DB to dynamic dir on deploy 2025-04-18 09:41:31 -05:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ITwrxOrg/SimpleSiteManager#10
No description provided.