setup a second urbackup server and tell the client to backup to the 2 servers using different policies.
setup to backup one client to two server https://www.urbackup.org/faq.html
With 2.1.x you can store images in a different ZFS dataset (see testing category) when using cow-raw images.
https://forums.urbackup.org/t/saving-backups-on-different-storages/2583/4
As always: Replace the executables (via the installers) and the database of the server/client will be updated on first running it.
Place the files from the update
directory into C:\Program Files\UrBackupServer\urbackup
or/var/urbackup
to auto-update clients. Disable Download client from update server
in the server settings to prevent the server from downloading the current version.
On Linux e.g. with:
cd /var/urbackup && wget -r -l1 --no-parent --reject "index.html*" -nH -nd -N "https://ssl.webpack.de/beta.urbackup.org/Client/2.1.3%20beta/update/"
Another option :
https://github.com/ptempier/get_urbackupclient/blob/master/updateclient.sh
Stop the UrBackup server, restore C:\Program Files\UrBackupServer\urbackup
or /var/urbackup
from a backup before upgrade and then install the previous version over the beta release.
sqlite3 backup_server_settings.db "PRAGMA integrity_check"
https://forums.urbackup.org/t/sqlite-disk-i-o-error-errorcode-522-backup-server/2235/6
As work-around you can use any 32-bit Linux live system (preferably Debian based, e.g. Ubuntu) and download and run http://buildserver.urbackup.org/restore_cd_2.tar.xz2 (or build this yourself using the source checkout and ./update_restore.sh).
remove_unknown.bat
Try unchecking run with background priority
delete the folder /subvolume then cleanup urbackup data folder
https://forums.urbackup.org/t/how-to-manually-delete-backups/1147/5
https://www.urbackup.org/administration_manual.html#x1-9500011.4
There is a reset_pw.bat in UrBackupServer installation folder which will allow you to reset it.
https://forums.urbackup.org/t/need-to-change-the-password/1848
on the serer setting
the server url on the server tab us an http:// url
on the internet tab the server ip/name is an ip or fqdn, without http://
Create the addclient.py file
import urbackup_api
import sys
server = urbackup_api.urbackup_server("http://hostname:55414/x", "admin", "password")
server.add_extra_client(sys.argv[1])
Now call :
python .\addclient.py hostname
https://forums.urbackup.org/t/windows-command-for-adding-discovery-ip-hostname/2473/5
see also the api:
https://github.com/uroni/urbackup-server-python-web-api-wrapper
see also generate custom preconfigureed client
https://urbackup.atlassian.net/wiki/display/US/Download+custom+client+installer+via+Python1
How to change the snapshot mechanism on Linux client
edit the file /usr/local/etc/urbackup/snapshot.cfg.
https://forums.urbackup.org/t/how-to-change-the-snapshot-mechanism-on-linux-client/2487
Delete the file or set to empty the values in /usr/local/etc/urbackup/snapshot.cfg.
Under Filebackups add the following as path:
C:\path\you\want\to\backup|NAMEHERE/optional
import urbackup_api
import os
def checkserver():
s = open('servers.txt', 'r')
c = open('status.txt', 'w')
#print(s.read())
for line in s.read().split('\n'):
print(line)
server = urbackup_api.urbackup_server("http://%s:55414/x" % line, "user", "pass")
for client in server.get_status():
c.write("Server name:")
c.write(client['name'])
c.write(os.linesep)
c.write("Last Backup")
c.write(client['lastbackup'])
c.write(os.linesep)
c.write('**************************')
c.write(os.linesep)
s.close()
c.close()
if name == 'main':
checkserver()
on the urbackup server :
start_urbackup_server --reset_pw (newpassword)
Do not use the web UI to download the zip file.
Instead use the restore from the urbackup client
it s in the faq
Use a colon
c:\users\:\documents;c:\users\:\desktop
UrBackup 2.1.x has a new live migration feature See the 2.1.x admin manual section 10.8.
stop urbackup server
create a file named migrate_storage_to at the root of the data store
inside put the path of the new storage path
start urbackup server, watch the progress on the status page
when it s done, fix the mountpoint/symlink/data store path
https://chocolatey.org/install
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
https://chocolatey.org/packages/urbackup-client
choco install urbackup-client
choco upgrade urbackup-client