I have Ubuntu 20.04 as my main OS with a KVM virtual machine running Windows 10 21H1.
I tried running urbackup server on Ubuntu and was able to get it to do backups on the Windows VM more or less. But I couldn’t ever get it to back up itself with the linux client, with various errors which I couldn’t get resolved.
So I shut down the Ubuntu server component and installed the Windows urbackup server on the Windows virtual machine. It is backing up itself without issues. The Ubuntu host client is still installed from the previous setup, but I couldn’t find any instructions how to uninstall the linux urbackup client. I don’t see any “server_idents.txt” file in Ubuntu and the server in Windows is reporting “This server has discovered clients which are currently not configured to use this server.” I assume it is seeing the old Ubuntu client installation, but I don’t know.
If I use the web interface to add the linux client via Hostname/IP using either the KVM virtual network virbr0 for which Ubuntu has the address 192.168.122.1 or by the actual Ubuntu wireless address wlp3s0 of 192.168.1.154, they both say the Online status is “No”, although ‘ping’ from Windows works to either of these addresses. The virtual Windows machine has IP 192.168.122.209 with Default Gateway . . . . . . . . . : 192.168.122.1
Does anybody have suggestions on how I can get the backups for the Ubuntu host working? (I’m excluding the VM’s virtual drive from the Linux backup.) I assume if there is a way to completely uninstall the old Linux client and re-install it that might get it working. But I’m open to any suggestion. The Linux client is using config file /etc/default/urbackupclient which is (sorry, don’t know how to show it nicely):
Defaults for urbackup_client initscript
sourced by /etc/init.d/urbackupclientbackend
installed at /etc/default/urbackupclient by the maintainer scripts
This is parsed as a key=value file
#logfile name
LOGFILE=“/var/log/urbackupclient.log”#Either debug,warn,info or error
LOGLEVEL=warn#Max size of the log file before rotation
#Disable if you are using logrotate for
#more advanced configurations (e.g. with compression)
LOG_ROTATE_FILESIZE=20971520#Max number of log files during rotation
LOG_ROTATE_NUM=10#Tmp file directory
DAEMON_TMPDIR=“/tmp”Valid settings:
“client-confirms”: If you have the GUI component the currently active user
will need to confirm restores from the web interface.
If you have no GUI component this will cause restores
from the server web interface to not work
“server-confirms”: The server will ask the user starting the restore on
the web interface for confirmation
“disabled”: Restores via web interface are disabled.
Restores via urbackupclientctl still work
RESTORE=server-confirms
#If true client will not bind to any external network ports (either true or false)
INTERNET_ONLY=false
Thanks,
Mark