search for: rmt_target

Displaying 1 result from an estimated 1 matches for "rmt_target".

Did you mean: dm_target
2009 Oct 08
0
rsync+zfs rotate script
...server1) # second argument is the remote target (ie. /home/) note trailing slashes just like in rsync # third argument is which pool to use (ie. tank) # fourth argument is what ZFS fileystem on that pool (ie server1/home) # fifth argument is how many snapshots for this zfs filesystem RMT_SERVER=$1 RMT_TARGET=$2 LCL_POOL=$3 LCL_ZFS=$4 SNAPCOUNT=$5 OUTFILE=/tmp/rsync_zfs_rotate-${LCL_POOL}-${LCL_ZFS}.log ERRFILE=/tmp/rsync_zfs_rotate-${LCL_POOL}-${LCL_ZFS}.err MAILER=/usr/sbin/sendmail MAILTO=someone at domain.com # NO EDITS BELOW THIS ################################################### # remove any o...