Replies: 1 comment 2 replies
-
@waza-ari You're correct that VolSync is not implementing hooks - and will not run commands for the user to do things like a db dump. Normally when the replicationsource schedule runs, a volumesnapshot would be taken of the PVC (to give us a consistent point-in-time copy), and then that snapshot would be converted into a temporary PVC that would be used to copy files during the sync cycle (a backup, replication to another side etc). This would happen every time a replicationsource sync runs. If we look at this part of the docs:
Not sure this really answered your question - the copy triggers were added assuming someone is automating the user-side steps via their own controller or perhaps via some scripting mechanism. |
Beta Was this translation helpful? Give feedback.
-
Dear all,
wondering if there were any examples on how to use the PVC annotations for copy triggers? I'd love to use volsync for backup purposes, and for some workloads (mainly databases) I'd need to run a command within the pod to dump the database to a separate volume, which is then synced with volsync / restic.
I understand that volsync is not implementing hooks on purpose, and I understand the concept of labels. What I'm missing is the
At this point the user can run commands to pause or quiesce their application.
part, and how exactly this would be done.Beta Was this translation helpful? Give feedback.
All reactions