Hi

On Sat, 11 Dec 2021 23:28:20 +0800 Ed Greshko wrote:

> Are you using your own scripts to perform the backups?

> If so, the easy solution would be for the script to check for a "lock file" to
> see if another backup is running. ...

Even easier is to use a systemd service and timer (system or user) to start this
backup: this will do this locking for you.

>> Usually, this machine runs every day for at least 1-2 hours durin the week,
>> and a long loner during the week-end (when backuo is run).

>> However, it may happen that the machine is not run during several weeks.

For example, if you only want a backup per day, run this timer every hour but
instrument your script to do nothing if a backup has been done less than 24 
hours
ago.

-- 
francis
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to