Hi, Olivér.
On Sat, Mar 5, 2016 at 12:08 AM, H Oli <olih10...@gmail.com> wrote: > 1. If the vault already inited, then we change the exclude section on >> dirvish/default.conf to add another files/folders, should we delete all the >> vault and run the dirvish --vault vaultname --init again? >> > You needn't run init ... the excluded file/folder will be deleted, when it > expires... > Noted with thanks. > >> 2. Let say we have directory like this: >> >> /etc/dirvish/master.conf >> /a1/a2/a3/aaa.conf >> /a1/b2/a3/a4/bbb.conf >> /a1/c1/ccc.conf >> > The simpliest way, to give the same name each.conf so... a quick example > (wrote it local .conf to show ...): > #### > root@pm:/mnt/rendezni/backup/test/2016-03-04_18.06# cat > /mnt/rendezni/backup/test/dirvish/default.conf > client: localhost > tree: /tmp/testfolder > xdev: 1 > index: gzip > log: gzip > image-default: %Y-%m-%d_%H.%I > exclude: > + privileged.conf > - *.conf > #### > The source... > *** > # tree /tmp/testfolder > /tmp/testfolder > ├── a > │ ├── ex.conf > │ └── privileged.conf > ├── b > │ ├── beebee.conf > │ └── privileged.conf > ├── c > │ ├── privileged.conf > │ └── some.conf > └── valami.conf > *** > The "dirvished": > ~~~ > /mnt/rendezni/backup/test/2016-03-04_18.06/tree/ > ├── a > │ └── privileged.conf > ├── b > │ └── privileged.conf > └── c > └── privileged.conf > I'm end up with like this: client: client1 tree: / index: gzip image-default: %Y-%m-%d xdev: 1 exclude: + /etc/ + /etc/** + /backup/ + /backup/dirvish/ + /backup/dirvish/*/ + /backup/dirvish/*/dirvish/ + /backup/dirvish/*/dirvish/** - * My intension is to backup default.conf from any folder at /backup/dirvish Working great. Thanks!
_______________________________________________ Dirvish mailing list Dirvish@dirvish.org http://www.dirvish.org/mailman/listinfo/dirvish