Can’t seem to get command line backup restore to work - virtuamin command not found
We have a Pro license, and I know I did this from the command line before the upgrade,
find / -name virtualmin
/root/distributions/virtualmin
/var/cache/yum/x86_64/6/virtualmin
/var/lib/yum/repos/x86_64/6/virtualmin
/var/log/virtualmin
Running something like this fails with
virtualmin restore-domain --source s3://:@/full-15-07-31 --domain example.com --all-features --reuid
bash: vrtualmin: command not found
It DOES work (sort of) from the GUI, but times out before completion.
Really need to get this one site back online.
Eric
October 27, 2018, 8:51pm
2
Howdy,
Hmm, so Virtualmin is otherwise working on this particular system?
What is the output of this command:
rpm -qa | grep virtual-server
Yes, everything else is working (or seems to be!)
[root@genesis interchange]# rpm -qa | grep virtual-server
wbm-virtual-server-6.03-1.noarch
Eric
October 28, 2018, 2:30am
4
Well, there’s a newer Virtualmin package out there (6.04)… could you perhaps try updating to it, and see if that resolves your missing binary issue?
I’ll try that and report back.
Installed:
kernel.x86_64 0:2.6.32-754.6.3.el6 kernel-devel.x86_64 0:2.6.32-754.6.3.el6
Updated:
bind.x86_64 32:9.8.2-0.68.rc1.el6_10.1 bind-libs.x86_64 32:9.8.2-0.68.rc1.el6_10.1 bind-utils.x86_64 32:9.8.2-0.68.rc1.el6_10.1
dhclient.x86_64 12:4.1.1-63.P1.el6.centos dhcp-common.x86_64 12:4.1.1-63.P1.el6.centos kernel-firmware.noarch 0:2.6.32-754.6.3.el6
kernel-headers.x86_64 0:2.6.32-754.6.3.el6 kpartx.x86_64 0:0.4.9-106.el6_10.1 libcgroup.x86_64 0:0.40.rc1-27.el6_10
mailx.x86_64 0:12.4-10.el6_10 mod_perl.x86_64 0:2.0.4-12.el6_10 nss.x86_64 0:3.36.0-9.el6_10
nss-sysinit.x86_64 0:3.36.0-9.el6_10 nss-tools.x86_64 0:3.36.0-9.el6_10 wbm-virtual-server.noarch 3:6.04-1
webmin.noarch 0:1.894-1 yum.noarch 0:3.2.29-81.el6.centos.0.1
Testing shows this fixed it!
[root@genesis caa]# virtualmin
usage: /usr/sbin/virtualmin [args…]
or: /usr/sbin/virtualmin help
Available commands :
Backup and restore
backup-domain Backup one or more virtual servers
list-scheduled-backups Outputs a list of scheduled backups
restore-domain Restore one or more virtual servers
list-backup-keys Lists all available backup encryption keys.
Virtual servers
…
Thanks for the help - resolved.