全文検索:
- 24 バックアップシェル(backup.sh)
- ackup: $LINE" DIR=${LINE%:*} FILE_NAME=${LINE#*:} dir_check $BK_DIR if ... dir_check $BK_DIR/DB if [ "${FILE_NAME}" == "all" ];then ssh $BAKHOST "m... se ssh $BAKHOST "mysqldump ${FILE_NAME} " | gzip | cat > $BK_DIR/DB/$FILE_NAME.sql.gz fi elif [ "${DIR: -1}" == '/' ];then
- 05 引数の取得(getopts)
- 0 [-s LV splite size] [-c LV splite count] [-v VG name] [-a Action]..." 1>&2 exit 1 } while get... c) _count=$OPTARG ;; v) _vg_name=$OPTARG ;; a) _action=$OPTAR... ND - 1)) if [ -z $_size -a -z $_count -a -z $_vg_name -a -z $_action ];then usage_exit fi echo "size=$_size count=$_count vg_name=$_vg_name action=$_action" </code> {{tag>bash}}
- 16 awkでチェック
- *** Group superset isw_difcegd --> Active Subset name : isw_difcegd_raid01 size : 927985664 stride