Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Save backups on different storages

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

...

Check urbackup internal database

sqlite3 backup_server_settings.db "PRAGMA integrity_check"

https://forums.urbackup.org/t/sqlite-disk-i-o-error-errorcode-522-backup-server/2235/6

Update the restore iso

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).

https://forums.urbackup.org/t/restore-image-does-not-support-the-intel-i217-lm-and-the-i210-gb-cards/2545

Cleanup urbackup data folder

remove_unknown.bat 

on the client run the uninstaller (works on linux too)

on the status page at the left of the client click remove

...

How to recover the server login password

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

...

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

Disable dattobd ?

Delete the file or set to empty the values in /usr/local/etc/urbackup/snapshot.cfg.

...

verify a client backup integrity

urbackupsrv verify-hashes -v CLIENTNAME/160702-1406

How to backup windows XP or 2003 32b

You need to run the 1.4xx version of urbackup

How to give a name to the backed up folder

if you do not want to follow symlinks outside of the backup dir you set e.g. default directories to backup to /|root/symlinks_optional,share_hashes

this backup directory / with name root with options symlinks_optional share_hashes

How to give specify option per backed up folder

Client side it s easyier using backupctl, severside, use a coma :

if you do not want to follow symlinks outside of the backup dir you set e.g. default directories to backup to /|root/symlinks_optional,share_hashes

how to monitor the urbackup backup results from commandline

https://forums.urbackup.org/t/master-server-with-multiple-urbackup-servers-rolling-up-backup-data/617/3

with urbackup python api:


import urbackup_api
import os

...

if name == 'main':
checkserver()

How to reset the admin password

on the urbackup server :

start_urbackup_server --reset_pw (newpassword)


How to restore a huge number of small files

Do not use the web UI to download the zip file.

Instead use the restore from the urbackup client


How do i use wildcards for backups

it s in the faq

Use a colon

c:\users\:\documents;c:\users\:\desktop


How to move the urbackup data store

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



How to automate urbackup client install on windows via chocolatey

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

...