I’m running URBackup Server 1.4.8 on a Windows 7 x86 workstation and it’s doing its job brilliantly in backing up data from a Windows Server 2012r2 machine (both images and files).
I decided to lumber through the process of compiling a client for a headless Linux installation (per http://www.urbackup.org/client_debian_ubuntu_install.html and https://urbackup.atlassian.net/wiki/display/US/Headless+Linux+client+setup), and the server sees it - but nothing else happens.
If (from the server) I select “Full File Backup” and click “Start Selected,” the status page adds “Queued Backup” to the relevant column, but on switching pages (or refreshing the page) clears that message and the server returns to rest. Nothing in the server logs indicates any errors.
The client is set up to start in rc.local with a call to /usr/local/sbin/start_urbackup_client
(before the “exit 0” line), and a ps aux | grep urbackup
confirms that it’s running:
root 1139 0.2 0.1 553188 7948 ? Sl 23:48 0:00 /usr/local/sbin/urbackup_client --daemon --plugin /usr/local/lib/liburbackupclient_fileservplugin.so --plugin /usr/local/lib/liburbackupclient_fsimageplugin.so --plugin /usr/local/lib/liburbackupclient_cryptoplugin.so --plugin /usr/local/lib/liburbackupclient.so --workingdir /usr/local/var --server false --no-server --logfile /var/log/urbackup_client.log --loglevel warn --pidfile /var/run/urbackup_client.pid
The log file on the client side does absolutely nothing during this time (there are start/stop messages, but nothing informative).
Removing the entry from rc.local and starting the client manually with start_urbackup_client --loglevel debug --no_daemon
gives a bevy of (IMO positive) information, followed by a very slow “ping-pong” match with the server;
2015-09-05 23:59:45: Loaded -fileserv- plugin
2015-09-05 23:59:45: Loaded -fsimageplugin- plugin
2015-09-05 23:59:45: Loaded -cryptoplugin- plugin
2015-09-05 23:59:45: Created new database connection for urbackup/backup_client.db
2015-09-05 23:59:45: urbackupserver: Server started up sucessfully!
2015-09-05 23:59:45: FileSrv: Info: retval 0
2015-09-05 23:59:45: FileSrv: Info: retval 0
2015-09-05 23:59:45: FileSrv: Info: Window size=425984
2015-09-05 23:59:45: FileSrv: Binding udp socket at port 35622...
2015-09-05 23:59:45: FileSrv: done.
2015-09-05 23:59:45: FileSrv: Servername: -<redacted>-
2015-09-05 23:59:45: FileSrv: Server started up sucessfully
2015-09-05 23:59:45: FileSrv: UDP Thread startet
2015-09-05 23:59:45: Started UrBackupClient Backend...
2015-09-05 23:59:46: urbackupserver: No available slots... starting new Worker
2015-09-05 23:59:46: ClientService cmd: #<redacted>#1CHANNEL capa=0
2015-09-05 23:59:46: New channel: Number of Channels: 1
2015-09-05 23:59:46: Created new database connection for urbackup/backup_client.db
2015-09-05 23:59:46: Internet only mode not enabled. Waiting for local server for 3:00...
2015-09-05 23:59:46: Looking for old Sessions... 0 sessions
2015-09-06 00:00:32: FileSrv: UDP: PING received... sending PONG. Delay=498ms
2015-09-06 00:00:46: ClientService cmd: PONG
2015-09-06 00:01:23: FileSrv: UDP: PING received... sending PONG. Delay=414ms
2015-09-06 00:01:46: ClientService cmd: PONG
2015-09-06 00:02:14: FileSrv: UDP: PING received... sending PONG. Delay=211ms
2015-09-06 00:02:46: ClientService cmd: PONG
2015-09-06 00:02:46: Internet mode is not enabled.
2015-09-06 00:03:04: FileSrv: UDP: PING received... sending PONG. Delay=230ms
2015-09-06 00:03:46: ClientService cmd: PONG
2015-09-06 00:03:55: FileSrv: UDP: PING received... sending PONG. Delay=106ms
… With nothing even remotely resembling a backup occurring.
In settings.cfg, I have only changed (from what was copied over from the server) two entries;
default_dirs_def=/bin;/etc;/home;/lib;/lib64;/opt;/root;/sbin;/srv;/usr;/var
image_letters_def=
So… What am I doing wrong?
Bear in mind that I don’t have the luxury of a GUI interface on the client - this is a headless Ubuntu 14.04 server.