create (optional) locking to not to parallel backups on the same machine #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: darktim
Hi Nico
if a Backup takes longer than 24 hours (which may occour on slow machines during initial backup), ccollect will not refuse to start another backup job for that target.
I would like to have a possibillitiy of locking for the targets.
For example you could use the marker file to determine of a backup is active for this target (if the pid is stale, you can start a new one, of course ;)
Greetz,
Andre
Created by: darko-poljak
Closing this stale issue.
Created by: darktim
Uhh, a reply to a 5 year old issue ;)
Fortunately I am not working for the company where we used ccollect anymore, but thanks anyways.
Created by: pazifi
Hi Andre,
i know it is not the same, but you can use "lockrun" or "flock" in crontab.
Example:
flock -xn /tmp/backup1.lck /opt/ccollect-something
Greetings
zap
Created by: darko-poljak
Closing this stale issue.
Created by: darktim
Uhh, a reply to a 5 year old issue ;)
Fortunately I am not working for the company where we used ccollect anymore, but thanks anyways.
Created by: pazifi
Hi Andre,
i know it is not the same, but you can use "lockrun" or "flock" in crontab.
Example:
flock -xn /tmp/backup1.lck /opt/ccollect-something
Greetings
zap
Created by: darko-poljak
Closing this stale issue.
Created by: darktim
Uhh, a reply to a 5 year old issue ;)
Fortunately I am not working for the company where we used ccollect anymore, but thanks anyways.
Created by: pazifi
Hi Andre,
i know it is not the same, but you can use "lockrun" or "flock" in crontab.
Example:
flock -xn /tmp/backup1.lck /opt/ccollect-something
Greetings
zap
Created by: darko-poljak
Closing this stale issue.
Created by: darktim
Uhh, a reply to a 5 year old issue ;)
Fortunately I am not working for the company where we used ccollect anymore, but thanks anyways.
Created by: pazifi
Hi Andre,
i know it is not the same, but you can use "lockrun" or "flock" in crontab.
Example:
flock -xn /tmp/backup1.lck /opt/ccollect-something
Greetings
zap