Revision 242

Date:
2011/02/13 19:39:00
Author:
dpavlin
Revision Log:
remove function bash-isam
Files:

Legend:

 
Added
 
Removed
 
Modified
  • recepies/zfs/pull-snapshot-backup.sh

     
    11 11
    12 12 test -d $log || mkdir $log || exit
    13 13
    14 function rsync_veid() {
    14 rsync_veid() {
    15 15 ssh $from "umount /mnt/backup/$2 ; lvremove -f $vg/$2-backup"
    16 16 ssh $from "sync && sync && lvcreate -s -L 10G -n $2-backup $vg/$2 && mount $vg/$2-backup /mnt/backup/$2" || exit
    17 17 test -d /$pool/backup/$1 || zfs create $pool/backup/$1 || exit