Is it possible to execute a command in a container before backups?
Сan be using vzdump hook (--script)?
I want to execute 2 commands:
pct exec $3 -- psql -c \"CHECKPOINT;\""
pct exec $3 -- sync
before backups.
or for this vzdump hook (--script) is not suitable?
Сan be using vzdump hook (--script)?
I want to execute 2 commands:
pct exec $3 -- psql -c \"CHECKPOINT;\""
pct exec $3 -- sync
before backups.
or for this vzdump hook (--script) is not suitable?