Virtualmin Restore Feature Names

Hi

I am wanting to restore via the command line just the "Server's home directory and web pages" and "Contents of server's MySQL databases"

Can you tell me what to use as the name value for these in the restore command as I cannot find the list anywhere.

Cheers Greg

Status: 
Closed (fixed)

Comments

Howdy -- there's a short name assigned to each feature. If there isn't already, there should probably be a document describing these (I didn't find one after a quick glance). However, if you're HTML savvy, you can see the names of the features by looking in the HTML of the Backup and Restore -> Backup Virtual Servers, and looking at the Features and settings section. Each of the features is listed on that screen, and in the HTML the name of the field contains the feature's "short name".

In your case, the two that you're after are:

  1. dir -- "Server's home directory and web pages"

  2. mysql -- "Contents of server's MySQL databases"

When running the restore-domain command, you'd pass in the "--feature" twice, once for "dir", and the other for "mysql".

The command for this would be like :

virtualmin restore-domain --source /backup/domain.com.tar.gz --domain domain.com --feature dir --feature mysql

That's great, thank you for the prompt support again.

Automatically closed -- issue fixed for 2 weeks with no activity.