[Dirvish] Oregon State Open Source Labs moving to dirvish

ml-it-dirvish at epigenomics.com ml-it-dirvish at epigenomics.com
Wed Oct 5 03:08:15 PDT 2005

On Wed, 5 Oct 2005 10:47:24 +0200,
 Leo Baltus <Leo.Baltus at tech.omroep.nl> wrote:

>   - dirvish could make a symlink to the last succesful backup for each
>     vault/branch.

We are doing this with a post-backup script from dirvish's cronjob:

for vaultdir in $bank/* ; do
  if [ -d $vaultdir/current ]; then
    umount -v $vaultdir/current
    mount -v --bind $vaultdir/`/bin/ls -r $vaultdir |grep -v dirvish|grep -v current | head -1` $vaultdir/current

This loop mounts the latest dirvish backup to a directory "current" in
the vault's directory. It does not test if the backup was successful,
but that could be done easily by testing for rsync_error or

Robert Sander                     Senior Manager Information Systems
Epigenomics AG    Kleine Praesidentenstr. 1    10178 Berlin, Germany
phone:+49-30-24345-330                          fax:+49-30-24345-555
http://www.epigenomics.com             robert.sander at epigenomics.com

More information about the Dirvish mailing list