Submitted by dukejustice on Thu, 01/09/2014 - 14:25
Hi.
I cannot restore a backup on a new server because the reseller (I had a pro version at one point) doesn't exist.
I am screwed, what can I do?
Regards
Marc
Status:
Active
Comments
Submitted by andreychek on Thu, 01/09/2014 - 14:47 Comment #1
Howdy -- is your new server running Virtualmin Pro or GPL?
Submitted by dukejustice on Thu, 01/09/2014 - 15:20 Comment #2
My new server is running gpl just as my old one which had at one point pro on it.
I tried restoring virtualmin settings to no avail.
Do you have an idea other then buying a pro version to remove OLD reseller information from accounts?
Regards
Marc
Submitted by JamieCameron on Thu, 01/09/2014 - 16:02 Comment #3
You should be able to avoid this by choosing to ignore warnings on the restore form.
Submitted by dukejustice on Thu, 01/09/2014 - 18:05 Comment #4
there is no such choice in my restore form. Here is what I have
I receive this message: Are you sure you want to restore the selected domains and features from /root/backup-2014-01-09/ci2.ca.tar.bz2 on SSH server contacti.ca? Any existing data for the features in these domains will be over-written!
This backup cannot be restored due to the following errors : Reseller duk3ju5t1c3 does not exist
right after I click the button "show what will be restored"
I have seen your choice you're telling me about... trying to restore another server for which there has never been a reseller assigned... And I see the option you're telling me. This means that, since the error comes before the option to ignore errors... I am obliged to get a pro license to get the resellers out of accounts in order to restore certain domains.
Am I correct in assuming this?
Marc
EDIT: I have tried with several other domains and all is well but for those who, in the past, have been assigned a reseller. I have some 18-20 out of 53 in my server move... Can you lend me a pro version for half a day?
Submitted by JamieCameron on Thu, 01/09/2014 - 20:01 Comment #5
Ok, it turns out that due to a Virtualmin bug (which we will fix) the option to ignore restore warnings isn't always available :-(
However, there is a work-around. You can restore from the command line with a command like :
virtualmin restore-domain --source /backup/yourdomain.com.tar.gz --all-domains --all-features --skipwarnings
Submitted by dukejustice on Fri, 01/10/2014 - 08:38 Comment #6
would there, by any chance, a possibility that I get access to a pro license for half a day, I am not good with console.
I would remove reseller information then make my server move.
I am willing to pay for a week's worth just to make my server move.
thanks
marc
Submitted by andreychek on Fri, 01/10/2014 - 10:36 Comment #7
We can help you with the command line syntax.
The process of upgrading to Pro is simpler than the process of downgrading back to GPL -- you would need to perform more work on the command line in order to do that.
So it might be simpler for us to help you with the syntax needed to restore those backups.
Do you have a client you can use in order to login to your server via SSH? On Windows, Putty is commonly used for that.
Submitted by dukejustice on Sun, 01/12/2014 - 11:43 Comment #8
Your solution is a no go for the time being.
Is there a way to remove a reseller from the command line? with my gpl version I mean.
I need to remove reseller "dukejustice".
Thanks
Marc
My goodness this would be simpler if you'd fix the bug in version 4.05 to come
Submitted by JamieCameron on Sun, 01/12/2014 - 12:24 Comment #9
You can do a restore from the command line that will ignore the missing reseller.
All you need is root SSH access to your system, which you should have already as it was needed to install Virtualmin. Just SSH in and run the command :
virtualmin restore-domain --source /backup/yourdomain.com.tar.gz --all-domains --all-features --skipwarnings
But replace
/backup/yourdomain.com.tar.gz
with the actual path to the domain's backup file.