I’m currently testing out UrBackup Appliance and it seems that it’s not possible to specify an individual file to backup on either Windows or Linux. Is this correct or have I missed something?
So for example, if I want to backup /etc/default/urbackupclient my options are:
Backup the whole /etc/default/
Create a prefilebackup script to copy/rsync the file to a different directory
Create a cronjob to copy/rsync the file to a separate directory
These aren’t deal breakers per se, but it does seem odd to not be able to backup individual files.
Despite the name, adding the file works (might not work with the tray GUI…) urbackupclientctl add -d /etc/default/urbackupclient (or add it on the server).
Other options:
Backup /etc/default and specify default/urbackupclient as include pattern.
Backup a folder where there is a symlink to /etc/default/urbackupclient and enable follow_symlinks for the folder
Thanks @uroni. That’s handy to know. What’s the workaround for Windows? Just specify it in client settings on the server side (which I’ll be using anyway)?
I found an interesting “problem” with this option of specifying a specific file to backup. Basically if the file gets deleted, then the backup will fail. You need to add the “Optional” option by adding -o so it should be: