Submitted by yngens on Thu, 04/24/2014 - 22:14
Nobody is reacting to my question on forums http://virtualmin.com/node/32962, so I thought I'd have better lack on the issues:
I know I can easily backup and restore Virtualmin configuration, but struggling to backup one of Webmin module's configuration. Namely, I've composed good list of Custom Commands in Webmin > Others section and would like to have them copied over to another system. How can I do that?
Unfortunately, Webmin > Backup Configuration Files doesn't list Custom Commands module in the list of modules which are possible to backup :(
Status:
Active
Comments
Submitted by JamieCameron on Thu, 04/24/2014 - 23:40 Comment #1
The simplest way to do this is to copy all files in the directory /etc/webmin/custom to the new system.
Submitted by JamieCameron on Thu, 04/24/2014 - 23:47 Comment #2
In the next Webmin release, it will be possible to use the Backup Configuration Files module to do this.
Submitted by yngens on Fri, 04/25/2014 - 14:49 Comment #3
Works great, thanks! Another relevant question, if you could elaborate please. Besides, the list of custom commands, I have created a new category (on https://mydomain.tld:10000/webmin/edit_categories.cgi) and re-assigned modules to it (on https://literacyta.com:10000/webmin/edit_assignment.cgi) to make my own links convenient to myself. How could I quickly copy this configuration of custom category with Webmin modules in it to another system?
Submitted by JamieCameron on Fri, 04/25/2014 - 15:07 Comment #4
Copy across the files /etc/webmin/webmin.cats and webmin.catnames
Submitted by yngens on Fri, 04/25/2014 - 15:29 Comment #5
cool! thanks! please also consider to make custom categories possible to backup through Backup Configuration Files feature.
Submitted by Issues on Fri, 05/09/2014 - 15:31 Comment #6
Automatically closed -- issue fixed for 2 weeks with no activity.
Submitted by yngens on Sat, 05/17/2014 - 20:29 Comment #7
Sorry for re-opening the issue, but I couldn't find an option to backup Custom Commands in newest version. Is there a chance this request was missed and closed by mistake?
Submitted by JamieCameron on Sat, 05/17/2014 - 22:55 Comment #8
No, this hasn't been implemented yet, sorry. Even though the Backup Configuration Files module would be a natural place for this, it is a little tricky to add as these files are separate from any module.
Submitted by yngens on Mon, 05/19/2014 - 02:36 Comment #9
Well, then let's keep this active if you don't mind.