Different cronjob for backup for different users/accounts

Hello forum,
I have a weird query. I have 3 account in Hestia 1 admin and 2 user account (user1 & user2). In admin I set/change a cron job for backup (sudo /usr/local/hestia/bin/v-backup-users) for 1st day of month, so every users has backup created in same day. But I want that “admin & user1” has backup every day, but “user2” is on 1st day of month (not every day)

So I didn’t understand which way I set it.

Ex1. set admin backup cronjob as everyday for all users, & set another cron job in user2 account for backup for every once a month.

Ex2. Make cronjob for each account differently means one for admin in admin account and another for user’s in there respective account.

Or there any other simple way to do it?
Can anyone help in this case please.

Also is there any conflict happen if I make different cronjob for backups in different account like “Ex1”

Also I didn’t know the command of a perticular user (user2) backup I only know the command of backup all user (sudo /usr/local/hestia/bin/v-backup-users) which is given in panel by default. So please give the command too if possible.

For each individual user - like user2 - you need to use:

v-backup-user user2

These backups of individual users are seperate. They can be run at the same or different times. The backup functions will capture all html/DB and its environment. So there cannot be any conflicts.

If you want to have different cron working on different bash script, that you simply need to change the time. Everything will work like you want.

Regardless of this, you should stop using any domain under the admin user account for security reasons. Simply move the data under a new user.

1 Like

Thanks sir, I will try to set this.
Also thanks for the command for backup individual user.

Update: I set backup in admin account for every day (default)
And in user2 I set backup for every 1st day of month only.
But due to admin account cronjob all users backup is created every day.
Right now I set it by set cronjob for each accounts seperately means 3 cronjob for backup for 3 accounts individually.

I didn’t want to do it this way, is there anyway possible to set all accounts backup cronjob for every day except few selected accounts.
For that selected account I set different cronjob for backup (1st day of month).

Otherwise is ok for now.