Re: dirvish banks empty
Fred Zinsli wrote:
> Hi All
>
> I have installed and configured dirvish, but the banks on the backup
> server don't contain any files from the production server.
>
> My configuration.
>
> /etc/dirvish/master.conf
>
> bank:
> /var/backup
> index: text
>
> exclude:
> lost+found/
> /proc
> /sys
> /etc/mtab
> /var/cache/apt
> core
> *~
> .nfs*
> /tmp/*
>
> Runall:
> abigail
> image-default: %Y%m%d
> expire-default: +9 days
> rsh: ssh -o "BatchMode yes" -o "StrictHostKeyChecking no"
> ****************************************************************************
>
> /var/backup/abigail/dirvish/default.conf
>
> rsync-client: sudo rsync
> client: dirvish@172.20.86.111
> tree: /
> exclude:
> + /etc/mlmmj
> + /var/www
> /*/
> /*
> ****************************************************************************
>
I don't think you can use + in the exclude list. Since you want to
back up two specific trees from the server, I would recommend using
two separate backup definitions.
In /var/backup/abigail_www/dirvish/default.conf
rsync-client: sudo rsync
client: dirvish@172.20.86.111
tree: /var/www
and in /var/backup/abigail_mlmmj/dirvish/default.conf
rsync-client: sudo rsync
client: dirvish@172.20.86.111
tree: /etc/mlmmj
In /etc/dirvish/master.conf
bank:
/var/backup
index: text
exclude:
*~
Runall:
abigail_www
abigail_mlmmj
image-default: %Y%m%d
expire-default: +9 days
rsh: ssh -o "BatchMode yes" -o "StrictHostKeyChecking no"
> No files were transfered when I initiated the backup "dirvish --vault
> abigail --init"
Remember to initialize both backups
dirvish --vault abigail_www --init
dirvish --vault abigail_mlmmj --init
Reply to: