Ignore:
Timestamp:
08/22/13 12:45:04 (13 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
69265de
Parents:
197bdbf
Message:

Add --replicate option to "mksnap" to force immediate replication

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/lpreserver/backend/functions.sh

    rcb8f638 raac00e0  
    245245  export REPRDATA=`echo $repLine | cut -d ':' -f 6` 
    246246 
     247  if [ "$2" = "force" ] ; then 
     248     # Ready to do a forced replication 
     249     export DIDREP=1 
     250     echo_log "Starting replication MANUAL task on ${DATASET}: ${REPLOGSEND}" 
     251     queue_msg "`date`: Starting replication MANUAL task on ${DATASET}\n" 
     252     start_rep_task "$LDATA" 
     253     return $? 
     254  fi 
     255 
    247256  # If we are checking for a sync task, and the rep isn't marked as sync we can return 
    248257  if [ "$2" = "sync" -a "$TIME" != "sync" ] ; then return 0; fi 
Note: See TracChangeset for help on using the changeset viewer.