C-Duv / sysadmin-scripts

Collection of scripts used for system administration.
GNU General Public License v3.0
9 stars 4 forks source link

duplicityBackup: avoid multiple parallel runs #6

Open C-Duv opened 10 years ago

C-Duv commented 10 years ago

Duplicity backups can take a long time to perform (depending on the number of files, size and bandwidth).

Considering this backup script might be called from a crontab, It could convenient if the script itself could avoid being started twice as it would surely affect Duplicity's local manifest, local archive directory or remote files.