[Dirvish] Fwd: Two newbie questions

H Oli olih10200 at gmail.com
Wed Oct 25 07:27:47 UTC 2017


Hi,

a very short example below ...


---------- Forwarded message ----------
From: H Oli <olih10200 at gmail.com>
Date: 2016-03-04 18:08 GMT+01:00
Subject: Re: [Dirvish] Two newbie questions
To: Dirvish user and developer mailing list <dirvish at dirvish.org>


Hi John,

2016-03-04 17:34 GMT+01:00 John Lewis <lewisjohn.chr at gmail.com>:
>
> Greetings,
>
> Two newbie questions:
>
> 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...
>
>
> 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 at 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
~~~
>
>
> How to tell on default.conf to backup ALL of the *.conf which is master.conf, aaa.conf, bbb.conf and ccc.conf?
>
> Thanks a lot :)
>
> Best regards,
> John.
>
>
> _______________________________________________
> Dirvish mailing list
> Dirvish at dirvish.org
> http://www.dirvish.org/mailman/listinfo/dirvish
>
--
Olivér


More information about the Dirvish mailing list