Allow ONLY ONE Reseller to Backup/Restore his Users

Status
Not open for further replies.

Themis

Verified User
Joined
Oct 1, 2010
Messages
167
Location
Luxembourg
Is it possible that we allow only one of our resellers to use the Reseller Backup/Restore feature?
 
One way would be to create a skin for that reseller that didn't include the option.

Jeff
 
Wow zeiter...,

This maybe a solution to this post: Master Reseller - Future Request

...
Example, if you want to create a Super Reseller, where that Reseller
can create other Resellers, you would create an Admin account, and add:
ALL_RESELLER
ALL_USER
CMD_ACCOUNT_RESELLER

which essentially is a Reseller, but who can create other Resellers.
...

Anybody knows if there is an explanatory command list? Any reference?
Or maybe the command a reseller uses to backup all users?
 
Last edited:
Maybe (not totally sure but just an opinion) you should create a file like this

Code:
/usr/local/directadmin/data/users/username/commands.deny

and add into this file the following:

Code:
CMD_USER_BACKUP

This should deny access to the backup section for the selected reseller.

Regards
 
Thanks Andrea for your opinion.

Currently we do NOT allow resellers to use the reseller backup feature (that is backup all users at once: resellers backup user accounts all the time skyrocketing cpu usage, users forget to delete old backups... It's a waste of useful disk space)
I prefer the cpanel way: users have to download their backup <== is this possible with DA?

So I presume that I should add the CMD_USER_BACKUP command at /commands.allow
Will this work if the Reseller Backup/Restore feature is disabled by admin for all resellers?

btw, your last name reminds me of Romania... I studied there...
 
maybe i missunderstood something, but, the way i showed is for DENY backup to reseller, and you need to do for each reseller, i dont know if there is a way to block backup for all reseller at same time.

Put the line i gave to the .allow file will ENABLE to the reseller the possibility to do backup (i suppose).

Regarding the "force user to download" i dont think exist something.

I use to block user backup with a script that permit backup just from 1am to 7am in the night for manage load-average.

I would/will find some solution to let user have a fixed url (ex. backups.mydomain.tld) with personal user/pass for each customer where store last 2 or 3 weeks backup ( i do weekly backup, not daily).

Romania? lol my surname is from Italy ;) im frome Rome ^^

Regards
 
i dont know if there is a way to block backup for all reseller at same time.

Hi Andrea,

There is a way to block backup for ALL resellers, via the admin level (see attached image).
We already disallow resellers to make backups, but I would like to enable the feature ONLY for 1-2 Resellers.

Anybody has implemented this?
 

Attachments

  • Reseller-Backup-feature.jpg
    Reseller-Backup-feature.jpg
    41.8 KB · Views: 251
I see, didnt remember about this :)

So, you should try to enable using the .allow file with the command line i gave and log as reseller and try to start a backup for check is working :)

Regards
 
I would another way:

1. Enable in directadmin (Admin Level). While it's not enabled here, commands.allow and commands.deny won't help you, I suppose (should be verified).

2. Deny for all resellers except that one.
 
1. Enable in directadmin (Admin Level). While it's not enabled here, commands.allow and commands.deny won't help you, I suppose (should be verified).
2. Deny for all resellers except that one.
Can anyone confirm that this will work?
I don't have a test server...
 
Is it possible that we allow only one of our resellers to use the Reseller Backup/Restore feature?

Is it possible to implement the Reseller Backup/Restore feature as an option when creating reseller packages/plans, or when modifying a reseller acount?
 
It seems to me that this will affect all existing resellers.
What I want is to give certain resellers the posibility to use the Backup/Restore feature individually. Something like the option for SSH access or SSH acess for Users for example, when creating a new reseller hosting plan.
 
The single feature http://www.directadmin.com/features.php?id=479 won't affect anybody at all unless you write your own script which would deal with the custom item of a package. So you've been given all necessary tips and ideas, what else you want? If you want to get it implemented on your server, then you should hire somebody to do the job, as it seems to me you're has no idea how to code it.
 
Yes, I have no idea how to code it, but I would really like to see this feature implemented for reseller hosting plans -when creating one- like other options eg: "allow overselling".
You may consider my post as a New Feature Request.
 
I do not work for Directadmin and has no permissions to move your thread to the proper sub-forum. But I can offer my assistance for accomplishing the desired. So if you're ready to pay some dollars, you are welcome to contact me by PM for discussing details.
 
Poster has created a feature request so I've closed this thread. I also added a post to the new feature request thread; let's get some discussion going to see if others need this as a request before expecting DirectAdmin staff to spend some time on it if only one person needs it. Especially since they've given us the tools to do it ourselves.

Jeff
 
Status
Not open for further replies.
Back
Top