Hi
I have been looking for a solution to backup our webserver after R1soft Backupmanager stopped working on our new Server with NVMe storage and found Urbackup today which looks like a great software.
So i have installed the client successfully on our Ubuntu 16.04 Webserver and installed Urback-Server on a Ubuntu Server that runs in a VMWare Fusion Virtual Machine on a Macintosh. Sounds a little complicated but actually connected pretty well after some config work.
So i ran a backup successfully and tried to restore a deleted file. But here i only got a timeout message after a while with the following log on the client side:
Thanks for your answer.
i tried to follow your hint but probably need some further information. i looked a bit around on how to implement the server-confirm option.
i thought it would need to go to the following file on the client machine: /usr/local/var/urbackup/data/settings.cfg but putting RESTORE=server-confirms there did not change anything. the entry also gets deleted if i change settings for the client in the web ui
so i looked for urbackupclient in /etc/default but nothing was there so i created a file there with RESTORE=server-confirms. is it really confirms or does it have to be confirm?
well anyway i restarted the client but still no change
can you give me some more advice? Its very much appreciated!
# 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 wor
thanks for your reply.
for the installation of the client i used the directions from this page: https://www.urbackup.org/client_debian_ubuntu_install.html to install the client on our Ubuntu server.
This was done starting after login with ssh in the following directory: /root/
Don’t know if this was not the ideal place.
From your and orogors post i do now know how to place the option but now i only need to find the right spot since with my installation in /root/ the urbackupclient file doesn’t reside in /etc/default/
i had an idea today. maybe it is possible to start the client from the commandline with the option for restore=server-confirms activated. and yes it is urbackupclientbackend -i -v debug -r server-confirms
and with that restoring files works. yeah. Remains the question did my place of installation (/root/) cause the problem with the missing /etc/default/urbackupclient and what can i do to implement this script successfully.
If you compiled yourself, you can put any prefix you want, and usually you use /opt/ or /usr/local
Anyhow , why not do ps aux | grep urb , then look at the --config option to find where it is expecting the config file , then create it there ?
Or you can edit the startup script (from system.d or rc.local, or init.d) then put the path you want there