-
Notifications
You must be signed in to change notification settings - Fork 66
Configure scheduled backup #196
Comments
Got a request from a customer who is currently using this to merge it into our DEV branch sooner than later. |
There are a few things that need to be improved:
Question: do we want to include deploying backups in bootstrap, or make that a separate command. I'm thinking if we make a separate deploy backups, you can do a separate clean backups too. Maybe even do something like ./ml env enable/disable backups. It would give easier control over when to deploy/activate them, e.g. on qa for brief testing (and disabling), and on prod, but not on local dev machines.. |
As a consequence, this will be a slightly bigger effort. Keeping this for next milestone.. |
@grtjn @RobertSzkutak I am working on supporting parts of this enhancement for a project. Would either of you be interested in discussing how you would like to see this implemented? What do you see as the minimum requirements for supporting a scheduled backup feature in roxy? My first pass at implementing this is to add a step in "setup:configure-databases" in the setup.xqy which adds scheduled backup configs to the admin configuration. This function would handle the logic for which cadence of backup to add, e.g., daily, monthly, and whether to back up a forest or database. Depending on what you require, we could implement the features @grtjn mentioned on May 31 in phases. For the first phase we could assume the directories exist on the server, and only support deploying a scheduled backup, without enable or disable functionality. |
One not so obvious aspect of backups is the unique directory requirement
across databases and retention rules requiring deep directory structures.
Maybe even a convention like (/backup/{cadence}_{type}/{dbname} ex:
/backups/daily_full/Security, /backups/Weekly_full/Security. I would be
good to include separate backups for Security, Schema Triggers because that
is our recommendation for production. After the first pass it would be good
to have the delete/recreate ability rather than just add.
…On Fri, Sep 29, 2017 at 10:53 AM, Elijah Bernstein-Cooper < ***@***.***> wrote:
@grtjn <https://github.com/grtjn> @RobertSzkutak
<https://github.com/robertszkutak> I am working on supporting parts of
this enhancement for a project. Would either of you be interested in
discussing how you would like to see this implemented? What do you see as
the minimum requirements for supporting a scheduled backup feature in roxy?
My first pass at implementing this is to add a step in
"setup:configure-databases" in the setup.xqy which adds scheduled backup
configs to the admin configuration. This function would handle the logic
for which cadence of backup to add, e.g., daily, monthly, and whether to
back up a forest or database.
Depending on what you require, we could implement the features @grtjn
<https://github.com/grtjn> mentioned on May 31 in phases. For the first
phase we could assume the directories exist on the server, and only support
deploying a scheduled backup, without enable or disable functionality.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#196 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABxvG5iCQ1XMRPnVSnE0lzx-aNYiDMuHks5snQRdgaJpZM4BwtUC>
.
--
Robert Starbird
Software Professional Services
Cell: (781) 548-9427
[email protected]
http://www.linkedin.com/in/robertstarbird
|
To configure a scheduled backup:
Edit *.properties:
Edit: app_specific.rb
Also edit ml-config.xml:
And finally if necessary edit app_specific.rb to create directories
The text was updated successfully, but these errors were encountered: