Second output dir

Dear all,

I have a question and I am not sure if this is posible with urbakcup.
I have a multi client- server configuration and the server do all backups in a HD. I would like to do a second copy of all backups to a secondary external disk every two weeks or so.
Is there a way to use multiple output dirs with urbackup (so when my external usb disk is connected the copy will be done)

Thanks in advance! ;)

Currently not. On which OS are you?

A block based copy is more efficient most often if you want to clone all backups.

You could also run a second backup server with the backup storage path set to the usb disk, though you cannot run them simultaneously (yet).

Thankyou for your response!

I will try running a secondary urbackup server to copy to the second disk. It may be a valid option to stop the service (server is running under a linux machine) and change the configurated output dir and then restart?
I would like to use this machine cause the rest ones in my network are window machines.

Thankyou again for the answer.

best

I would keep two separate instances. You can do that by copying /var/urbackup and moving in the correct /var/urbackup before starting the servers. All configuration and metadata is kept there.

If you are on Linux you can also use following off the bat mirroring options, if your second backup storage has as much storage as the first:

  1. Use ZFS and use zfs send/receive to mirror ZFS datasets (would advise against it as ZFSOnLinux is not stable yet. I you have the options to use FreeBSD, though…)

  2. Use btrfs send/receive (seems to be more stable for UrBackup than ZFSOnLinux, if you use a sufficient global file system quota in UrBackup such that it never runs in a out of space situation)

  3. Take the volume offline and use e.g. partclone to copy it

  4. Put it on LVM, take a snapshot and use e.g. partclone to replicate it

  5. Another creative solution using LVM and rsync to do offsite backups: http://adsm.org/lists/html/BackupPC-users/2009-11/msg00219.html

  6. Put the backup disk and the offsite destined disk into a software raid (mdraid) and rebuild the raid-1 from time to time

I’ll have to add a wiki page for that…