[Dirvish] The FuhHoe post-server script

shouldbe q931 shouldbeq931 at gmail.com
Tue Jun 7 16:08:49 UTC 2011


Hi All,

I experienced a problem with the FuhHoe http://wiki.dirvish.org/FuhHoe
post-server email script, and I wonder if it might be related to
having a space in the tree path for the client.

As an example, in the Bank, I have three Vaults vault1, vault2 and
vault3 (1 is a Apple (PPC) file server, 2 & 3 are general purpose
Linux servers).

For vault1 in  /dirvish/default.conf I have  "tree: /Volumes/Studio\\
RAID/Share/"
For vault2 in  /dirvish/default.conf I have  "tree: /"
For vault3 in  /dirvish/default.conf I have  "tree: /"

The \\ escapes the space for Dirvish.

The cron job errored with "/bin/sh: RAID/Share: No such file or
directory vault1:default post-server failed (127) vault2:default
post-server failed (1)" and the script sent the attached cronlog1.txt
file as body of an email.

On checking the vaults, Dirvish had run correctly, and the
dirvish-status.sh script at http://wiki.dirvish.org/DailyEmailScript
was able to run with no errors.

If anyone can help me shed any light on this it would be appreciated.

Cheers
-------------- next part --------------
=========================================================================
ERROR:   dirvish.internal.lan:/RAID/Snapshots/vault2/current/tree/..
=========================================================================

=========================================================================
Status : Rsync: success Pre: UNKNOWN, Post: UNKNOWN =========================================================================
directory: /RAID/Snapshots/vault2/current/tree/..
Summary (/RAID/Snapshots/vault2/current/tree/../summary):
=========================================================================
SUM:  client: root at 10.201.210.11
SUM:  tree: /
SUM:  rsh: ssh
SUM:  Server: dirvish.internal.lan
SUM:  Bank: /RAID/Snapshots
SUM:  vault: vault2
SUM:  branch: default
SUM:  Image: 20110607
SUM:  image-temp: current
SUM:  Reference: 20110606
SUM:  Image-now: 2011-06-07 00:34:44
SUM:  Expire: +30 days == 2011-07-07 00:34:44
SUM:  exclude:
SUM:  	/dev/*
SUM:  	/proc/*
SUM:  	lost+found
SUM:  	/sys/*
SUM:  SET permissions devices stats
SUM:  UNSET checksum init numeric-ids sparse whole-file xdev zxfer
SUM:  
SUM:  Command-Args: --vault vault2
SUM:  Configfiles:
SUM:  	/etc/dirvish/master.conf
SUM:  	/RAID/Snapshots/vault2/dirvish/default.conf
SUM:  bank:
SUM:  	/RAID/Snapshots
SUM:  expire-default: +30 days
SUM:  image-default: %Y%m%d
SUM:  index: gzip
SUM:  post-server: /etc/dirvish/dirvish_mail
SUM:  rsync-client: /usr/bin/rsync
SUM:  summary: long
SUM:  
SUM:  ACTION: rsync -vrltH --delete -pgo --stats -D --rsync-path=/usr/bin/rsync --exclude-from=/RAID/Snapshots/vault2/current/exclude --link-dest=/RAID/Snapshots/vault2/20110606/tree root at 10.201.210.11:/ /RAID/Snapshots/vault2/current/tree
SUM:  Backup-begin: 2011-06-07 00:34:44

=========================================================================
Logfile (/RAID/Snapshots/vault2/current/tree/../log) (head and tail):
=========================================================================
LOG:   
LOG:   ACTION: rsync -vrltH --delete -pgo --stats -D --rsync-path=/usr/bin/rsync --exclude-from=/RAID/Snapshots/vault2/current/exclude --link-dest=/RAID/Snapshots/vault2/20110606/tree root at 10.201.210.11:/ /RAID/Snapshots/vault2/current/tree
LOG:   
LOG:   receiving incremental file list
LOG:   etc/webmin/package-updates/current.cache
LOG:   etc/webmin/package-updates/updates.cache
LOG:   etc/webmin/system-status/info
LOG:   etc/webmin/system-status/history/bin
LOG:   etc/webmin/system-status/history/bout
LOG:   etc/webmin/system-status/history/cpuidle
LOG:   etc/webmin/system-status/history/cpuio
LOG:   etc/webmin/system-status/history/cpukernel
LOG:   etc/webmin/system-status/history/cpuuser
LOG:   etc/webmin/system-status/history/diskused
LOG:   etc/webmin/system-status/history/load
LOG:   etc/webmin/system-status/history/load15
LOG:   etc/webmin/system-status/history/load5
LOG:   etc/webmin/system-status/history/maxes
LOG:   etc/webmin/system-status/history/memused
LOG:   etc/webmin/system-status/history/netcounts
LOG:   etc/webmin/system-status/history/procs
LOG:   etc/webmin/system-status/history/swapused
LOG:   root/.bash_history
LOG:   var/cache/apt-show-versions/apackages
LOG:   var/cache/apt-show-versions/files
LOG:   var/cache/apt/pkgcache.bin
LOG:   var/cache/apt/srcpkgcache.bin
LOG:   var/lib/apt/lists/archive.canonical.com_ubuntu_dists_maverick_Release
LOG:   var/lib/apt/lists/archive.canonical.com_ubuntu_dists_maverick_Release.gpg
LOG:   var/lib/apt/lists/archive.canonical.com_ubuntu_dists_maverick_partner_binary-i386_Packages
LOG:   var/lib/apt/lists/uk.archive.ubuntu.com_ubuntu_dists_maverick-security_Release
LOG:   var/lib/apt/lists/uk.archive.ubuntu.com_ubuntu_dists_maverick-security_Release.gpg
LOG:   var/lib/apt/lists/uk.archive.ubuntu.com_ubuntu_dists_maverick-security_main_binary-i386_Packages
LOG:   var/lib/apt/lists/uk.archive.ubuntu.com_ubuntu_dists_maverick-security_multiverse_binary-i386_Packages
LOG:   var/lib/apt/lists/uk.archive.ubuntu.com_ubuntu_dists_maverick-security_restricted_binary-i386_Packages
LOG:   var/lib/apt/lists/uk.archive.ubuntu.com_ubuntu_dists_maverick-security_universe_binary-i386_Packages
LOG:   var/lib/apt/lists/uk.archive.ubuntu.com_ubuntu_dists_maverick-updates_Release
LOG:   var/lib/apt/lists/uk.archive.ubuntu.com_ubuntu_dists_maverick-updates_Release.gpg
LOG:   var/lib/apt/lists/uk.archive.ubuntu.com_ubuntu_dists_maverick-updates_main_binary-i386_Packages
LOG:   var/lib/apt/lists/uk.archive.ubuntu.com_ubuntu_dists_maverick-updates_multiverse_binary-i386_Packages
LOG:   var/lib/apt/lists/uk.archive.ubuntu.com_ubuntu_dists_maverick-updates_restricted_binary-i386_Packages
LOG:   var/lib/apt/lists/uk.archive.ubuntu.com_ubuntu_dists_maverick-updates_universe_binary-i386_Packages
LOG:   var/lib/mysql/stage at 002eloewygroup@002ecom/wp_options.MYI
LOG:   var/log/auth.log
LOG:   var/log/lastlog
LOG:   var/log/syslog
LOG:   var/log/wtmp
LOG:   var/log/apache2/access.log
LOG:   var/log/apache2/error.log
LOG:   var/log/apache2/other_vhosts_access.log
LOG:   var/mysqlbackups/mysql.sql
LOG:   var/mysqlbackups/stage.loewygroup.com.sql
LOG:   var/mysqlbackups/www.loewygroup.com.sql
LOG:   var/run/motd
LOG:   var/run/utmp
LOG:   var/webmin/miniserv.lastcrons
LOG:   
LOG:   Number of files: 68226
LOG:   Number of files transferred: 52
LOG:   Total file size: 933661766 bytes
LOG:   Total transferred file size: 50507789 bytes
LOG:   Literal data: 3363865 bytes
LOG:   Matched data: 47143924 bytes
LOG:   File list size: 1455031
LOG:   File list generation time: 0.001 seconds
LOG:   File list transfer time: 0.000 seconds
LOG:   Total bytes sent: 133260
LOG:   Total bytes received: 4934782
LOG:   
LOG:   sent 133260 bytes  received 4934782 bytes  349520.14 bytes/sec
LOG:   total size is 933661766  speedup is 184.23
LOG:   
LOG:   
LOG:   Post-Server: /etc/dirvish/dirvish_mail


More information about the Dirvish mailing list