3 # $DragonFly: src/bin/cpdup/scripts/do_mirror,v 1.1 2006/09/16 21:57:10 dillon Exp $
7 if ( "$argv" == "" ) then
8 echo "do_mirror <level>"
12 echo "STARTING MIRRORS `date` level $argv"
13 foreach i ( $backup_nfs/* )
16 ./do_mirror_host $host $argv >& $backup_path/mirrors/${host}.log &
19 echo "WAITING FOR MIRRORS TO COMPLETE `date`"
21 foreach i ( ${backup_nfs}/* )
25 tail -1 $backup_path/mirrors/${host}.log
28 echo "DONE MIRRORING `date`"