UrBackup Server: 2.2.11
Installed on: Jail on FreeNAS 9.11.2-U6
Client on: Ubuntu Server 16.04 LTS VM on ESXi 5.5
I have two VMs running the Ubiquiti controller software on Ubuntu Server. This software lives (mostly) in /var/lib/unifi and has a folder it creates called backup (so /var/lib/unifi/backup) and it uses this folder to store the automatic backups it takes.
I have my UrBackup taking a backup of the root of the single virtual disk so that I can capture everything but since my off-site replication is using rsync over SSH and I have limited bandwidth, I’ve chosen to also add the /var/lib/unifi folder as a separate backup directory to capture.
Since this creates three folders under each backup’s folder on UrBackup (.hashes / root / unifi ), my plan is to use the rsync exclude option to exclude out .directory_pool and root so that only the unifi folder is copied over nightly and then I end up with the critical parts backed up remotely as well and a full system nightly backup locally.
My issue is that this isn’t happening. The rsync is syncing over the unifi folder but the sub folder ‘backup’ is being skipped. I checked the UrBackup server and there are two folders actually being skipped, backup and sites, and both don’t appear as normal folders on the UrBackup server, but instead are symlinks to folders under the .directory_pool folder.
I’d like to understand why these folders are being stored this way (as symlinks) and also why rsync has an issue with this.