Time of client backup

41 views
Skip to first unread message

Ukro yesyo

unread,
Feb 9, 2025, 12:24:22 AMFeb 9
to Minarca Data Backup
Greetings,
I found you through Awesome Open Source
And this is exactly what i was looking for after elkarbackup is out of the game.
Can please somebody tell me if it's possible to set specific time for client agent to run if i set run daily? 
Thank you

Patrik Dufresne

unread,
Feb 10, 2025, 7:23:28 PMFeb 10
to Minarca Data Backup
Hell Ukro,

As you already learned in a different post, it's not possible to set a fixed time for the backup to run unless you manually update the Task Scheduler in Windows or the crontab in Linux. The current implementation launches Minarca every 15 minutes to check if a backup needs to be executed based on the configured frequency.

From my experience with my own customers, this approach makes backups more flexible and reliable in most cases, without the need to worry about exactly when they run.


--
You received this message because you are subscribed to the Google Groups "Minarca Data Backup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minarca+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/minarca/bc4860ab-418d-4bad-a119-d2bc3b9bb3dfn%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

IKUS Software
Message has been deleted

Lucas Burdick

unread,
Jul 6, 2025, 4:43:33 PMJul 6
to Minarca Data Backup
Hi Patrik,

Are you able to explain how the actual logic behind this works?  What does the code use to determine whether or not the backup needs to run? Is it based on server load, age, time of day?  I'm not saying your wrong, I'm just curious about this.

The documentation isn't entirely clear on this either:

schedule

create the required scheduled task in crontab

minarca schedule [-h] [--hourly] [--daily] [--weekly] [--instance INSTANCE_ID]
schedule options
  • -h--help - show this help message and exit

  • --hourly - schedule backup to run hourly (default: 24)

  • --daily - schedule backup to run daily (default: 24)

  • --weekly - schedule backup to run weekly (default: 24)

  • --instance INSTANCE_ID - Configure only the given instance(s). (default: InstanceId(value=None))



What does the "default: 24" refer to?


thanks,
Lucas

Patrik Dufresne

unread,
Jul 6, 2025, 4:52:53 PMJul 6
to min...@googlegroups.com
Hello Lucas,

Sure, I’d be happy to clarify how it works.

Minarca uses a cron job that runs every 15 minutes. Each time it runs, it checks whether it’s time to perform a backup based on the schedule. For example, if you’ve configured a daily backup, Minarca checks whether 24 hours have passed since the last successful backup. If not, it does nothing. If more than 24 hours have passed, the backup process is triggered.

This approach—checking the time since the last successful backup instead of relying on a fixed time—offers greater flexibility. It allows Minarca to seamlessly recover from interrupted or missed backups, which can happen due to unstable internet connections, laptops going to sleep, or temporary disconnections from Wi-Fi.

With my own user base it has proven to be reliable.




--
** Par mesure d'efficacité, je consulte mes courriels une fois par jour.
Reply all
Reply to author
Forward
0 new messages