Joined: 17 Sep 2003
|Posted: Fri Oct 21, 2016 10:31 am Post subject: obnam: local path and sftp-url as root in config cause error
|i use obnam and i rather like it.
so far i have used different configs and repos for different clients but now i want to use one config for several clients in one repo (which is officially supported according to the manpage and http://obnam.org/tutorial/#index5h2)
in this case the machine that runs and keeps the backups is supposed to be backed up along with some sftp-hosts, so the line in obnam.conf is like this:
|root = /, sftp://host-1/, sftp://host-2/, sftp://host-3/ |
runnig the programm always results in an error because the local and sftp-paths are somehow concatenated:
|phobos ~ # obnam backup
00h00m00s Backing up: found 0 files, 0 B; uploaded: 0 B
determining absolute path for sftp://host-1/ERROR: RD5FA4X: System error: /root/sftp:/host-1: 2: No such file or directory
i've tried different ways of ordering or quoting the upaths/URLs but it never worked. using an sftp://-URL for the local files works but is only a last resort.
is there a way to make this work?
DUMM KLICKT GUT.