Hi community, I do not understand how the exclude-/include-patterns work - in spite of heavy man-page- und WWW-reading :-( I am trying to backup only some files with dirvish but I get not the result that I want. Find more details below - You are my last hope ;-) Best regards and a happy new year 2015, Christian
My directory structure which contains some of the files to backup is as follows: / /bin (...) /etc (...) /root (...) /usr (...) /local (...) /var (...) /volume1(...) /@optware (...) /@appstore (...) /web (...) /volume2 (...) ... I only want to backup the following files which I put with a "+" into the exclude-option of the bank's default.conf: - all Files and directories in /usr/local, /volume1/optware, etc. - all Files and directories in /root - 4 Files which lay in /etc - all files in /etc/ssh =====default.conf===================== client: my-workstation tree: / xdev: 1 exclude: + */ + /usr/local/ + /volume1/optware/ + /volume1/@appstore/ + /volume1/web/ + /volume1/readme-krischi + /root/ + /etc/profile + /etc/rc.local + /etc/rsyncd.conf + /etc/rsyncd.secrets + /etc/ssh/ - * ========================= And in my master.conf there is an exclude-option, too: ======exclude-option in master.conf========= exclude: lost+found/ temp .btsync/ .sync/ ======================================= As result of a "dirvish --vault ds213j --init" only the following 4 files are backuped: ACTION: rsync -vrltH --delete -c -x --stats -pgo --numeric-ids -D --exclude-from=/volume2/ds213j/ds213j/20150107_2237/exclude / /volume2/ds213j/ds213j/20150107_2237/tree sending incremental file list etc/profile etc/rc.local etc/rsyncd.conf etc/rsyncd.secrets -- Dipl.-Kfm. (Univ.) *Christian Harraeus*, PMP E-Mail: /christ...@harraeus.de <mailto:christ...@harraeus.de>/
_______________________________________________ Dirvish mailing list Dirvish@dirvish.org http://www.dirvish.org/mailman/listinfo/dirvish