[Dirvish] How to backup only some specific directories and files with dirvish?

Christian Harraeus christian at harraeus.de
Mon Jan 12 21:31:09 UTC 2015


... hope that this mail is now in plain text format...

here is my master.conf:
============/usr/local/etc/dirvish/master.conf==========

bank:
  /volume1/server
  /volume1/ds213j

image-default: %Y%m%d_%H%M
xdev: 1
rsh:
index: gzip
log: text
checksum: 1
summary: long
stats: 1

#speed-limit: 100 Mbps

exclude:
  lost+found/
  temp
  .btsync/
  .sync/

Runall:
  etc     23:00
  var     23:00
  homes   23:00
  cloud   23:00
  backup  23:00
  medien  23:00
  svn     23:00
  tftp    23:00
  www     23:00
  ds213j  23:00

expire-default: +5 weeks
expire-rule:
# Default: Tagessicherungen 5 Wochen aufheben, ausser
# Sicherung vom Sonntag (=Wochensicherung) 6 Monate aufheben
# Sicherung vom 1. eines Monats 12 Monate aufheben
# Min HR Dom Mon DoW STRFTIME_FMT
  *   *  *   *   2-7 +2 weeks
  *   *  *   *   1   +6 months
  *   *  1   *   *   +12 months

image-perm: 770
meta-perm:  660

================================================================

default.conf: see my last mail.

The command for initializing the backup of the ds213j: dirvish --vault
ds213j --init

Best regards,
Christian


------------------------------------------------------------------------
*Von:* Tamas Papp
*An:* Dirvish User And Developer Mailing List, Christian Harraeus
*Gesendet:* Freitag, 09. Januar 2015 17:27:04
*Betreff:* Re: [Dirvish] How to backup only some specific directories
and files with dirvish?

Am 09.01.2015 um 17:27 schrieb Tamas Papp:
>
> Can you paste your current config?
> --
> Sent from mobile
>
> On January 9, 2015 5:03:30 PM Christian Harraeus
> <christian at harraeus.de> wrote:
>
>> Hi Tamas,
>> thanks a lot, it works - nearly.
>> Now all subdirectories except directoies below /volume1/ are written
>> to the bank.
>> My bank-path is /volume1/backup/ds213/ - maybe it is not possible to
>> sync the /volume/...-dirs?
>>
>> Best regards,
>> Christian
>>
>> My default.conf is now as follows.
>>
>> =============/volume1/ds213j/ds213j/dirvish/default.conf=================
>> client: backup
>> tree:   /
>> xdev: 1
>>
>> exclude:
>>   + /etc/
>>   + /etc/profile
>>   + /etc/rc.local
>>   + /etc/rsyncd.conf
>>   + /etc/rsyncd.secrets
>>   + /etc/ssh/
>>   + /etc/ssh/**
>>   + /root/
>>   + /root/**
>>   + /usr/
>>   + /usr/local/
>>   + /usr/local/**
>>   + /volume1/
>>   + /volume1/readme-krischi
>>   + /volume1/optware/
>>   + /volume1/optware/**
>>   + /volume1/@appstore/
>>   + /volume1/@appstore/**
>>   + /volume1/web/
>>   + /volume1/web/**
>>   - *
>>
>>
>> ------------------------------------------------------------------------
>> *Von:* Tamas Papp
>> *An:* Dirvish User And Developer Mailing List
>> *Gesendet:* Mittwoch, 07. Januar 2015 23:12:57
>> *Betreff:* Re: [Dirvish] How to backup only some specific directories
>> and files with dirvish?
>> Am 07.01.2015 um 23:12 schrieb Tamas Papp:
>>>
>>> On 01/07/2015 10:56 PM, Christian Harraeus wrote:
>>>>
>>>> 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/
>>>>   - *
>>>
>>>
>>> exclude:
>>>   + /usr/
>>>   + /usr/local/
>>>   + /usr/local/**
>>>   - *
>>>
>>>
>>> I hope, you understand the point.
>>>
>>>
>>> tamas
>>>
>>>
>>> _______________________________________________
>>> Dirvish mailing list
>>> Dirvish at dirvish.org
>>> http://www.dirvish.org/mailman/listinfo/dirvish
>>



More information about the Dirvish mailing list