Backup users

dbbrito

Verified User
Joined
Jan 10, 2020
Messages
8
Hello, is there any way to create a backup schedule in Reseller or Admin to create a daily backup for all users and for these backups to be restored by the users?

We would like to create a scenario that has only 1 daily backup, 1 weekly backup and 1 monthly backup, and that the user can restore any of these 3 himself, thus preventing the user from making a backup at any time.

Thank you
 
Last edited:
This is non existing. You can make a feature request for it.

At this moment probably the only chance is to use a script, make admin backups and then have the script rename and copy the backups to the appropriate resellers and/or users. But it will be a fuzz as they all have their own kind of name setting.
The user backups for example are started with a date like: backup-Nov-21-2024-1.tar.zst
Reseller backups are without date and admin backups are again another file name.
So if you make a backup of a user via admin backup, then the script should know which user, then rename it to backup-date-here-1.tar.zst and then copy it to that user's home directory and set permissions and owner correctly.

Too much of a fuzz. I remember something liket his being present at any other panel either.

What you probably could do is just disable all user backups (if possible) and then make the backups yourself with admin backups and then provide the user with a backup or restore it for him if he asks for it.

There might also be some other option which also will need adjustment, I'm not sure if Cloudlinux is required for it. There are for example providers who automatically make backups for the users 7 times a day automatically and as far as I've seen, they are not restored in the normal user's backup directory but elsewhere. User can choose which backup he wants to restore, and chances are the system (or a script) will temp/copy and restore the backup or something like that.

Anyway, I'm no scripter and maybe somebody else has better ideas about how to create something like that.
 
Thanks for your help, Richard G.

I find it strange that DA still doesn't have this practicality for providers, because what I needed was to make 1 daily backup, 1 weekly backup and 1 monthly backup available to the client, always replacing the previous one. And if possible, block the user from making backups, because he will have 3 restoration options.

I can even make daily, weekly and monthly backups in the admin or in the reseller, but the problem is that they are not available to the user, there should be a simple flag to select allowing this.

Without this feature we will spend 3x more on storage, because the admin, the reseller and the end user will make the same backup.
 
but the problem is that they are not available to the user,
I agree to that, because this is also available to the user via for example Softaculous when installed for their applications.
I really don't see any reason not to have this available for the user in the user account either.

However, feel free to send in a feature request or upvote an existing one. I've seen one called "Backup retention" which looks like what you want.
 
Back
Top