synbak icon indicating copy to clipboard operation
synbak copied to clipboard

Cannot include only dot files

Open petsam opened this issue 7 years ago • 0 comments

I am experimenting on synbak, in order to use it as my main backup utility. My preferred strategy is to separate my data in sets, so I created a template to backup only my HOME hidden files and folders. I tried several source/exclude combinations, but they through an error about the dir folder. Example

backup_source_uri		= file:///home/user/
backup_source			= .*
backup_exclude			= .synbak .gvfs .config

backup_source_uri		= file://
backup_source			= /home/user/.**
backup_exclude			= /home/user/*

backup_source_uri		= file://
backup_source			= /home/user /home/user/.*
backup_exclude			= /home/user/*
...

I could only specify the home folder and exclude manually (one by one) or the opposite The error is

         Backing up: [/home/user/.*] Size:[unknow] Speed:[unknow] Duration:[00:00:00] Status:[ERROR] 

ERROR: an error is occurred in this step, follow error details:
********************************************************************************
found ".." dir in relative path: /home/user/..
rsync error: syntax or usage error (code 1) at flist.c(2214) [sender=3.1.3]

I may have mis-configured, but at a web search I found this, that says rsync fails in script, while succeeds in terminal. Of course, I have no idea if it has to do with my issue.

Could you please help? How can I set synback conf to include only $HOME/.* (hidden files and folders)?

petsam avatar Jan 09 '19 20:01 petsam