Softpanorama

May the source be with you, but remember the KISS principle ;-)
Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and  bastardization of classic Unix

M-backup

News

Baseliners

Recommended Books Recommended Links  Installation Checklist Reference

supportconfig

confstore
(perl)
SCC
(perl)
dconf
(Python)

Humor

Etc
This is a simple shell script  by Makarand Hazarika. Last version was written on Mar 16, 2006 so it is not maintained.  Here is a short description:
M-Backup is a tool for making backup of important system files and other important system information. There are many important files that are scattered over the system which needs to be regularly backed up. Keeping track of all these files is quite painful.

M-Backup is a command line tool that will backup all these files. System administrators can add more files to the list of files that needs to be backed up according to needs.

M-Backup can even be used for inventory purpose, for keeping record of various configuration information.

Run by simply issuing the command ./mbackup.sh after logging in as root.

Most of the code is housekeeping.  It can be substantially simplified if you want to extent it.  List of the files that it backs-up is imbedded in code and that is a major shortcoming.  For better solution see  or SCC

Code

Available from Cool Solutions M-Backup

   1    #!/bin/sh
   2    
   3    #   MBackup - Back up utility by Manna!!   // Manna is the nickname of Makarand Hazarika
   4    #   This script was written by Makarand Hazarika.
   5    
   6    #   Copyright (C) 2006  Makarand Hazarika
   7    
   8    #   This program is free software; you can redistribute it and/or modify
   9    #   it under the terms of the GNU General Public License as published by
  10    #   the Free Software Foundation; either version 2 of the License, or
  11    #    (at your option) any later version.
  12    #
  13    #    This program is distributed in the hope that it will be useful,
  14    #    but WITHOUT ANY WARRANTY; without even the implied warranty of
  15    #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16    #    GNU General Public License for more details.
  17    #
  18    #    You should have received a copy of the GNU General Public License
  19    #    along with this program; if not, write to the Free Software
  20    #    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  21    
  22    #    You can contact the author at <[email protected]>
  23    
  24    
  25    init() {
  26    
  27            script_name="$0"
  28            VERSION=1.0
  29            OLD_PATH=`echo $PATH`
  30            PATH=$PATH:/sbin:/usr/sbin
  31            BACKUPDIR=/root/MBackup
  32            TEMP=$BACKUPDIR/mbackup.tmp
  33            ans='n'
  34            
  35            if [ ! -w /root ]
  36            then
  37                    echo -e "\nPLEASE RUN THE SCRIPT AS ROOT\n"
  38                    exit 0
  39            fi
  40            
  41            if [ -d "$BACKUPDIR" ] 
  42            then 
  43                    echo > /dev/null
  44            else
  45                    mkdir "$BACKUPDIR"
  46            fi
  47            
  48            echo -e "\nInitializing Graphical Mode... Successful\n\nPress OK to continue.\n(Press 'Esc' and click 'OK' to enter text mo
        de)" > $TEMP
  49            dialog --title "WELCOME TO MBACKUP $VERSION" --backtitle "Author - Makarand Hazarika"  --exit-label "OK" --textbox "$TEMP" 
        19 72 2> /dev/null
  50                    
  51            if [ "$?" -eq 0 ]
  52            then
  53                    gui_support=y
  54            else
  55                    gui_support=n
  56                    clear
  57                    echo -e "\nInitializing Graphical Mode... Failed!!\nThis can even happen if you press Esc during initialization of graphic
        al mode.\nThe program will run in text mode\n\n"
  58                    echo "Press Enter to continue...."
  59                    read
  60            fi
  61    
  62    }
  63    
  64    
  65    
  66    exit_msg() {
  67    
  68            if [ "$gui_support" = 'y' ]
  69            then
  70                    dialog --clear --title "THANK YOU FOR USING THIS PROGRAM" --backtitle "Author - Makarand Hazarika" --msgbox "\nMBackup $VE
        RSION\nCopyright (C) 2006  Makarand Hazarika\nThis is free software; see the source for copying conditions. There is NO warr
        anty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE\nAuthor:-\nMakarand Hazarika  <makarand.hazarika@gmai
        l.com>\n" 15 62
  71                    clear
  72            else
  73                    #clear
  74                    echo -e "\n\n\t\t   THANK YOU FOR USING THIS PROGRAM\n\n"
  75                    echo -e "\nMBackup Version $VERSION\nCopyright (C) 2006  Makarand Hazarika\nThis is free software; see the source for copy
        ing conditions.\nThere is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE\n\nAuthor:-\nMakaran
        d Hazarika  <[email protected]>\n"
  76                    
  77            fi
  78                    
  79    }
  80    
  81    
  82    quit() {
  83    
  84            rm -f $TEMP
  85            exit_msg
  86            exit 0
  87    }
  88    
  89    
  90    main() {
  91    
  92    if [ "$gui_support" = "y" ]
  93    then
  94            dialog --title "M-BACKUP $VERSION" --backtitle "Author - Makarand Hazarika" --yesno "This utility will take backup of some 
        important files in your system. The output of this script will go to $BACKUPDIR. Are you ready?" 12 47
  95            
  96            if [ "$?" = "0" ]
  97            then 
  98                    ans='y'
  99            fi
 100                    
 101    else
 102            clear
 103            echo -e "Author - Makarand Hazarika\n\n\n\n\n"
 104            echo -ne "This utility will take backup of some important files in your system.\nThe output of this script will go to $BACK
        UPDIR.\nAre you ready?(y/n)"
 105            read ans
 106    fi
 107    
 108    
 109    case "$ans" in
 110            [yY]*)
 111                    
 112                    if [ "$gui_support" = "y" ]
 113                    then
 114                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Checking a
        nd deleting older MBackup archives" 7 72
 115                    else
 116                            echo -e "Checking and deleting older MBackup archives..."
 117                    fi
 118                    test -e /root/oldmbackup.tar.gz.old && rm -f /root/oldmbackup.tar.gz.old
 119                    
 120                    
 121                    
 122                    if [ "$gui_support" = "y" ]
 123                    then
 124                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Checking a
        nd moving existing MBackup archives" 7 72
 125                    else
 126                            echo -e "Checking and moving existing MBackup archives..."
 127                    fi
 128                    test -e $BACKUPDIR/oldmbackup.tar.gz &&  mv  $BACKUPDIR/oldmbackup.tar.gz /root/oldmbackup.tar.gz.old
 129                    
 130                    
 131                    if [ "$gui_support" = "y" ]
 132                    then
 133                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Checking a
        nd renaming existing MBackup archives" 7 72
 134                    else
 135                            echo -e "Checking and renaming existing MBackup archives..."
 136                    fi
 137                    test -e /root/oldmbackup.tar.gz.old && rm -f /root/oldmbackup.tar.gz.old
 138                    test -e /root/oldmbackup.tar.gz && mv /root/oldmbackup.tar.gz /root/oldmbackup.tar.gz.old
 139                    
 140                    
 141                    if [ "$gui_support" = "y" ]
 142                    then
 143                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Archiving 
        existing MBackup files" 7 72
 144                    else
 145                            echo -e "Archiving existing MBackup files..."
 146                    fi
 147                    if [ `ls -al $BACKUPDIR/ | wc -l` -gt 3 ]
 148                    then
 149                            tar -zcf /root/oldmbackup.tar.gz $BACKUPDIR/*
 150                    fi
 151                    
 152                    
 153                    if [ "$gui_support" = "y" ]
 154                    then
 155                            dialog --backtitle "Author - Makarand Hazarika" \
                                              --
title "Performing Requested Task, Please wait..." \
                                             
--infobox "Removing existing MBackup files" 7 72
 156                    else
 157                            echo -e "Removing existing MBackup files..."
 158                    fi
 159                    rm -rf $BACKUPDIR/*
 160                    
 161                    
 162                    if [ "$gui_support" = "y" ]
 163                    then
 164                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Writing to
         log file $BACKUPDIR/mbackup.log" 7 72
 165                    else
 166                            echo -e "Writing to log file $BACKUPDIR/mbackup.log..."
 167                    fi
 168                    echo " " > $BACKUPDIR/mbackup.log
 169                    echo -e " ************************************************** " >> $BACKUPDIR/mbackup.log
 170                    echo -e 'MBackup by Manna!!' >> $BACKUPDIR/mbackup.log
 171                    echo -e "Version $VERSION" >> $BACKUPDIR/mbackup.log
 172                    echo -e "Author -- Makarand Hazarika" >> $BACKUPDIR/mbackup.log
 173                    echo -e "Copyright (C) 2006  Makarand Hazarika" >> $BACKUPDIR/mbackup.log
 174                    echo -e "This is free software; see the source for copying conditions." >> $BACKUPDIR/mbackup.log
 175                    echo -e "There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE" >> $BACKUPDIR/mbackup.log
        
 176                    echo -ne "Log file created on : " >> $BACKUPDIR/mbackup.log
 177                    date >> $BACKUPDIR/mbackup.log
 178                    echo " **************************************************\n\n\n " >> $BACKUPDIR/mbackup.log
 179                    
 180                    
 181                    if [ "$gui_support" = "y" ]
 182                    then
 183                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Moving the
         oldmbackup file to $BACKUPDIR/" 7 72
 184                    else
 185                            echo -e "Moving the oldmbackup file to $BACKUPDIR/..."
 186                    fi
 187                    mv /root/oldmbackup.tar.gz $BACKUPDIR/
 188                    
 189                    
 190                    if [ "$gui_support" = "y" ]
 191                    then
 192                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Retrieving
         Machine And System Information" 7 72
 193                    else
 194                            echo -e "Retrieving Machine And System Information..."
 195                    fi
 196                    if [ "$gui_support" = "y" ]
 197                    then
 198                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Retrieving
         Machine And System Information ---> Kernel Version" 7 72
 199                    else
 200                            echo -e "Retrieving Machine And System Information ---> Kernel Version..."
 201                    fi
 202                    echo -en "   Kernel Version            : " >> $BACKUPDIR/mbackup.log
 203                    uname -r >> $BACKUPDIR/mbackup.log
 204                    
 205                    
 206                    if [ "$gui_support" = "y" ]
 207                    then
 208                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Retrieving
         Machine And System Information ---> Hostname" 7 72
 209                    else
 210                            echo -e "Retrieving Machine And System Information ---> Hostname..."
 211                    fi
 212                    echo -en "   Hostname                  : " >> $BACKUPDIR/mbackup.log
 213                    uname -n >> $BACKUPDIR/mbackup.log
 214                    
 215                    
 216                    if [ "$gui_support" = "y" ]
 217                    then
 218                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Retrieving
         Machine And System Information ---> OS" 7 72
 219                    else
 220                            echo -e "Retrieving Machine And System Information ---> OS..."
 221                    fi
 222                    echo -en "   System OS                 : " >> $BACKUPDIR/mbackup.log
 223                    uname -s >> $BACKUPDIR/mbackup.log
 224                    
 225                    
 226                    if [ "$gui_support" = "y" ]
 227                    then
 228                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Retrieving
         Machine And System Information ---> Release" 7 72
 229                    else
 230                            echo -e "Retrieving Machine And System Information ---> Release..."
 231                    fi
 232                    echo -en "   Release                   : " >> $BACKUPDIR/mbackup.log
 233                    for i in /etc/*[rv]e[lr][es][ai][so][en]
 234                    do 
 235                            if [ -L "$i" ]
 236                            then 
 237                                    echo > /dev/null
 238                            else  
 239                                    cat "$i" 
 240                            fi
 241                    done 2> /dev/null | sed '/LSB/d' | head -n 1 >> $BACKUPDIR/mbackup.log
 242                    echo -e "Version Information" >> $BACKUPDIR/mbackup.log
 243                    cat /proc/version >> $BACKUPDIR/mbackup.log
 244                    echo -e "\n\n" >> $BACKUPDIR/mbackup.log 
 245            
 246                    if [ "$gui_support" = "y" ]
 247                    then
 248                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Taking a s
        apshot of the whole filesystem\nIt will take long time" 7 72
 249                    else
 250                            echo -e "Taking a sapshot of the whole filesystem (It will take long time)..."
 251                    fi
 252                    test ! -d $BACKUPDIR/misc && mkdir $BACKUPDIR/misc
 253                    ls -AlRH / >> $BACKUPDIR/misc/filesystem_snapshot
 254                    rm -f $BACKUPDIR/misc/filesystem_snapshot.gz
 255                    gzip $BACKUPDIR/misc/filesystem_snapshot
 256                    echo -e "\nFilesystem snapshot saved in $BACKUPDIR/misc/filesystem_snapshot.gz" >> $BACKUPDIR/mbackup.log
 257                    
 258                    
 259                    if [ "$gui_support" = "y" ]
 260                    then
 261                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Backing up
         important system files" 7 72
 262                    else
 263                            echo -e "Backing up important system files..."
 264                    fi
 265                    echo -e "\nTaking backup of important information:-" >> $BACKUPDIR/mbackup.log
 266                    
 267                    if [ "$gui_support" = "y" ]
 268                    then
 269                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Backing up
         important system files -- /proc/cpuinfo" 7 72
 270                    else
 271                            echo -e "Backing up important system files -- /proc/cpuinfo..."
 272                    fi
 273                    echo -e "/proc/cpuinfo" >> $BACKUPDIR/mbackup.log
 274                    cat /proc/cpuinfo >> $BACKUPDIR/cpuinfo.proc
 275                    
 276                    
 277                    if [ "$gui_support" = "y" ]
 278                    then
 279                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Backing up
         important system files -- /proc/meminfo" 7 72
 280                    else
 281                            echo -e "Backing up important system files -- /proc/meminfo..."
 282                    fi
 283                    echo -e "/proc/meminfo" >> $BACKUPDIR/mbackup.log
 284                    cat /proc/meminfo >> $BACKUPDIR/meminfo.proc
 285                    
 286                    
 287                    if [ "$gui_support" = "y" ]
 288                    then
 289                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Backing up
         important system files -- /proc/partitions" 7 72
 290                    else
 291                            echo -e "Backing up important system files -- /proc/partitions..."
 292                    fi
 293                    echo "/proc/partitions" >> $BACKUPDIR/mbackup.log
 294                    cat /proc/partitions >> $BACKUPDIR/partitions.proc
 295                    
 296                    
 297                    if [ "$gui_support" = "y" ]
 298                    then
 299                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Backing up
         important system files -- /proc/modules" 7 72
 300                    else
 301                            echo -e "Backing up important system files -- /proc/modules..."
 302                    fi
 303                    echo "/proc/modules" >> $BACKUPDIR/mbackup.log
 304                    cat /proc/modules >> $BACKUPDIR/modules.proc
 305                    
 306                    if [ "$gui_support" = "y" ]
 307                    then
 308                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Backing up
         important system files -- /etc/fstab" 7 72
 309                    else
 310                            echo -e "Backing up important system files -- /etc/fstab..."
 311                    fi
 312                    test ! -d $BACKUPDIR/etcfiles && mkdir $BACKUPDIR/etcfiles
 313                    echo -e "/etc/fstab" >> $BACKUPDIR/mbackup.log
 314                    cat /etc/fstab >> $BACKUPDIR/etcfiles/fstab
 315                    
 316                    
 317                    if [ "$gui_support" = "y" ]
 318                    then
 319                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Backing up
         important system files -- /etc/mtab" 7 72
 320                    else
 321                            echo -e "Backing up important system files -- /etc/mtab..."
 322                    fi
 323                    echo -e "/etc/mtab" >> $BACKUPDIR/mbackup.log
 324                    cat /etc/mtab >> $BACKUPDIR/etcfiles/mtab
 325                    
 326                    
 327                    if [ "$gui_support" = "y" ]
 328                    then
 329                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Backing up
         important system files -- /etc/inittab" 7 72
 330                    else
 331                            echo -e "Backing up important system files -- /etc/inittab..."
 332                    fi
 333                    echo -e "/etc/inittab" >> $BACKUPDIR/mbackup.log
 334                    cat /etc/inittab >> $BACKUPDIR/etcfiles/inittab
 335                    
 336                    
 337                    if [ "$gui_support" = "y" ]
 338                    then
 339                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Backing up
         important system files -- /etc/profile" 7 72
 340                    else
 341                            echo -e "Backing up important system files -- /etc/profile..."
 342                    fi
 343                    echo -e "/etc/profile" >> $BACKUPDIR/mbackup.log
 344                    cat /etc/profile >> $BACKUPDIR/etcfiles/profile
 345                    
 346                    
 347                    if [ "$gui_support" = "y" ]
 348                    then
 349                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Backing up
         important system files -- configuration files" 7 72
 350                    else
 351                            echo -e "Backing up important system files -- configuration files..."
 352                    fi
 353                    echo -e "configuration files" >> $BACKUPDIR/mbackup.log
 354                    cp -r /etc/*onf* $BACKUPDIR/etcfiles
 355                    
 356                    
 357                    if [ "$gui_support" = "y" ]
 358                    then
 359                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Backing up
         important system files -- host files" 7 72
 360                    else
 361                            echo -e "Backing up important system files -- host files..."
 362                    fi
 363                    echo -e "host files" >> $BACKUPDIR/mbackup.log
 364                    cp /etc/host* $BACKUPDIR/etcfiles
 365                    
 366                    if [ "$gui_support" = "y" ]
 367                    then
 368                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Backing up
         important system information -- disk drive information" 7 72
 369                    else
 370                            echo -e "Backing up important system information -- disk drive information..."
 371                    fi
 372                    echo -e "output of fdisk -l" >> $BACKUPDIR/mbackup.log
 373                    fdisk -l >> $BACKUPDIR/fdisk.output
 374                    
 375                    
 376                    if [ "$gui_support" = "y" ]
 377                    then
 378                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Backing up
         important system information -- disk usage" 7 72
 379                    else
 380                            echo -e "Backing up important system information -- disk usage..."
 381                    fi
 382                    echo -e "output of df" >> $BACKUPDIR/mbackup.log
 383                    df -l >> $BACKUPDIR/df.output
 384                    
 385                    
 386                    if [ "$gui_support" = "y" ]
 387                    then
 388                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Backing up
         important system information -- network" 7 72
 389                    else
 390                            echo -e "Backing up important system information -- network..."
 391                    fi
 392                    echo -e "output of ifconfig" >> $BACKUPDIR/mbackup.log
 393                    ifconfig >> $BACKUPDIR/ifconfig.output
 394                    
 395                    
 396                    if [ "$gui_support" = "y" ]
 397                    then
 398                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Backing up
         important system information -- kernel ring buffer" 7 72
 399                    else
 400                            echo -e "Backing up important system information -- kernel ring buffer..."
 401                    fi
 402                    echo -e "output of dmesg" >> $BACKUPDIR/mbackup.log
 403                    dmesg >> $BACKUPDIR/dmesg.output
 404                    
 405                    
 406                    if [ "$gui_support" = "y" ]
 407                    then
 408                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Backing up
         important system information -- mount points" 7 72
 409                    else
 410                            echo -e "Backing up important system information -- mount points..."
 411                    fi
 412                    echo -e "output of mount " >> $BACKUPDIR/mbackup.log
 413                    mount >> $BACKUPDIR/mount.output
 414                    
 415                    
 416                    if [ "$gui_support" = "y" ]
 417                    then
 418                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Backing up
         some other files" 7 72
 419                    else
 420                            echo -e "Backing up some other files..."
 421                    fi
 422                    echo -e "\n\nTaking backup of some other information:-" >> $BACKUPDIR/mbackup.log
 423                    
 424                    
 425                    if [ "$gui_support" = "y" ]
 426                    then
 427                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Backing up
         some other files -- X Server Configuration Informatioin" 7 72
 428                    else
 429                            echo -e "Backing up some other files -- X Server Configuration Informatioin..."
 430                    fi
 431                    echo -e "XFree86 config file" >> $BACKUPDIR/mbackup.log
 432                    cp -r /etc/X11/*onf* $BACKUPDIR/misc/
 433                    if [ "$gui_support" = "y" ]
 434                    then
 435                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Backing up
         some other information -- environment variables" 7 72
 436                    else
 437                            echo -e "Backing up some other information -- environment variables..."
 438                    fi
 439                    echo -e "output of env" >> $BACKUPDIR/mbackup.log
 440                    env > $BACKUPDIR/misc/env.output
 441                    
 442                    
 443                    if [ "$gui_support" = "y" ]
 444                    then
 445                            dialog --backtitle "Author - Makarand Hazarika" --title "Performing Requested Task, Please wait..." --infobox "Backing up
         some other information -- system wide aliases" 7 72
 446                    else
 447                            echo -e "Backing up some other information -- system wide aliases..."
 448                    fi
 449                    echo -e "output of alias" >> $BACKUPDIR/mbackup.log
 450                    alias >> $BACKUPDIR/misc/alias.output
 451                    
 452                    if [ "$gui_support" = 'y' ]
 453                    then
 454                            dialog --clear --title "MBackup $VERSION" --backtitle "Author - Makarand Hazarika" --msgbox "\nBackup created in $BACKUPD
        IR\nFor a list of backed up files, see $BACKUPDIR/mbackup.log" 15 62
 455                            
 456                    else
 457                    #clear
 458                            echo -e "\nBackup created in $BACKUPDIR\nFor a list of backed up files, see $BACKUPDIR/mbackup.log\n"
 459                    
 460                    fi
 461            
 462                    
 463                    ;;
 464                    
 465            [nN]*)
 466                    quit
 467                    ;;
 468            *)
 469                    echo "Please ans yes or no"
 470                    ;;
 471    esac
 472    
 473    
 474    
 475    }
 476    
 477    
 478    
 479    
 480    
 481    
 482    
 483    
 484    
 485    ######################################################################################################################
 486    ##############********************   EXECUTION OF THE SCRIPT STARTS HERE   ********************#######################
 487    ######################################################################################################################
 488    
 489    trap "quit ; " 1 2 3 7 9 11 15
 490    init 
 491    
 492    trap "quit ; " 1 2 3 7 9 11 15
 493    main 
 494    
 495    quit
 496    
 497    ######################################################################################################################
 498    ###############********************   EXECUTION OF THE SCRIPT ENDS HERE   *********************#######################
 499    ######################################################################################################################

 



Etc

Society

Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers :   Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism  : The Iron Law of Oligarchy : Libertarian Philosophy

Quotes

War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda  : SE quotes : Language Design and Programming Quotes : Random IT-related quotesSomerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose BierceBernard Shaw : Mark Twain Quotes

Bulletin:

Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 :  Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method  : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law

History:

Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds  : Larry Wall  : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting Languages : Perl history   : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history

Classic books:

The Peter Principle : Parkinson Law : 1984 : The Mythical Man-MonthHow to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite

Most popular humor pages:

Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor

The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D


Copyright © 1996-2021 by Softpanorama Society. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to to buy a cup of coffee for authors of this site

Disclaimer:

The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the Softpanorama society. We do not warrant the correctness of the information provided or its fitness for any purpose. The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Last modified: March 12, 2019