document backupbot pre-/post-hooks labels #78

Closed
opened 2022-06-22 11:23:13 +00:00 by yksflip · 1 comment
Member

@decentral1se promised to do that 😁

@decentral1se promised to do that 😁
Owner

Oh actually I did it?

this: https://docs.coopcloud.tech/maintainers/handbook/#backup
and this: https://docs.coopcloud.tech/maintainers/handbook/#restore

I guess it could be better or more discoverable?

Would be good to add the notes of @3wordchant also:

Not yet documented anywhere, but pre-hooks are so far only used to do database dumps (which make the backups more portable between versions, and are also safer, if the database is being accessed during the backup), and post-hooks to remove the temporary backup files. There are some apps we may want to consider putting in "maintenance mode" to have a solid guarantee of data consistency, but I guess that needs to be balanced against the downtime.

Oh actually I did it? this: https://docs.coopcloud.tech/maintainers/handbook/#backup and this: https://docs.coopcloud.tech/maintainers/handbook/#restore I guess it could be better or more discoverable? Would be good to add the notes of @3wordchant also: > Not yet documented anywhere, but pre-hooks are so far only used to do database dumps (which make the backups more portable between versions, and are also safer, if the database is being accessed during the backup), and post-hooks to remove the temporary backup files. There are some apps we may want to consider putting in "maintenance mode" to have a solid guarantee of data consistency, but I guess that needs to be balanced against the downtime.
Sign in to join this conversation.
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: toolshed/docs.coopcloud.tech#78