Moving UrBackup to new server?

No document/wiki page for that yet, but it isn’t too involved:

  • Copy the files in /var/urbackup/* (database, identity, private key) to the new server
  • Copy the backup storage to the new server and add it at the same path as on the old server

That’s it.

The “copy the backup storage” is best done at block level (e.g. dd, partclone), because then the hard links aren’t a problem. Otherwise there are hard link aware tools such as rsync, which might take a while to copy them.

UrBackup can cope with a changed storage path, but:

  • It has to search for the files when it hard links (it looks at all previous storage paths and repairs the paths)
  • You have to repair the symlinks using start_urbackup_server --remove_unknown / remove_unknown.bat
1 Like