Submitted by yngens on Mon, 08/20/2018 - 10:50
On a Virtualmin system configured to take regular backups for all the websites and admin user can easily view backup logs and/or restore websites. However, all the regular users see on backups logs is a message:
No backups that you have access to have been logged.
Right, because they do not have access to the backup directory, which belongs to root user and group. So what is the best way of scheduling backups for all the websites and at the same time to make it possible for website owners to be able to restore their websites?
Status:
Closed (duplicate)
Comments
Submitted by JamieCameron on Wed, 08/22/2018 - 21:47 Comment #1
This happens because only backups made by the domain owner are shown in the logs. There is an open feature request to allow them to restore backups made by root (see https://www.virtualmin.com/node/56973) , but it's complex due to potential risks of allowing restoration of arbitrary backup files.
Submitted by yngens on Sun, 08/26/2018 - 02:25 Comment #2
I forget I created similar issues because they are not resolved for long long months. So sad...
Submitted by yngens on Mon, 10/15/2018 - 06:45 Comment #3
Hi Jamie,
Since the other issue on https://www.virtualmin.com/node/56973 is closed for commenting I had to re-open this one.
I've noticed the
Can restore backups made by master admin?
option in Virtualmin configuration page today and clicking on it gives:So can you officially confirm virtual server owners can restore their backups made by superadmin?
I'm not sure I understand what you're asking for here. The documentation seems pretty clear that that's exactly what it does?
Submitted by yngens on Tue, 10/16/2018 - 00:12 Comment #5
Joe, the last update from your team on the subject on https://www.virtualmin.com/node/56973 was:
and since we can not comment on the other subject anymore, I'd like to hear it has really been implemented. The official confirmation of implementation of requested feature by *min authorities always eliminates doubts we could have otherwise: was it really done or we are witnessing some kind of temporary bug or something.
I made a backup as master admin and then login in as regular user to see I could restore the backup. Which is really cool. But could I confirm I am not mistaken here?
The last update was "Fixed", though, right? So, the docs say it's there, the ticket about it says "fixed". It seems pretty clear it's been implemented. I didn't implement it, and I haven't tried it, but I can't imagine why it would be marked fixed and the docs would say it works, if it isn't and doesn't. And...you say you're seeing the feature in the UI. It seems like all signs point to "yes".
Submitted by yngens on Tue, 10/16/2018 - 00:39 Comment #7
Fair enough, though I thought the other issue was closed because you, guys, got mad at me and because the subject matter was properly addressed. Anyway, I will run more tests since didn't get explicit confirmation from you.
I would think it would have been marked "Won't fix" if it were just grumpy admins. I didn't set the status on that ticket, but I think that'd be the right status for "I'm annoyed" situations.
Submitted by JamieCameron on Sat, 10/20/2018 - 00:41 Comment #9
So the option mentioned in comment #3 isn't exactly what was originally requested, as it doesn't allow domain owners to restore backups from arbitrary locations.
The original request IS still being worked on, but I'm being very careful with it because there are security implications if a modified backup is restored. Likely I will limit this to signed backups.