motherboards
Arctic
Arctic Feezer 7x
Results 1 to 14 of 14

Thread: Weekly Tutorial 2

  1. #1
    Regular Member

    Status
    Shell_Shock is offline

    Last Online
    05-07-2016 @ 00:39
    Join Date
    Aug 2013
    Location
    Waterford, PA
    Posts
    235
    CPU: Intel G3259 3.2 GHZ LGA 1150
    M/B: MSI Z97 PC Mate
    RAM: Kingston 125GB SSD
    GPU: PNY 465
    • Shell_Shock's Full Spec's
      • Case:
      • ThermalTake Urban T81
      • PSU:
      • EnerMax Revolution Xt 630w
      • Cooling:
      • Dragons blood dye, NZXT 240mm RAD, Danger Den Bay Res, DDC Pump, Primochill Fittings, PETG HArd Line Tubing
      • Monitor:
      • Piece of Crap
      • OS:
      • Windows 8.1
    Thanks
    1
    Thanked 24 Times in 18 Posts
    Points: 3,693, Level: 17
    Points: 3,693, Level: 17
    Level completed: 61%,
    Points required for next Level: 157
    Level completed: 61%, Points required for next Level: 157
    Overall activity: 13.0%
    Overall activity: 13.0%

    Default Weekly Tutorial 2

    Sorry this one is a bit delayed, but between holidays and FInals im a little bit swamped. But i haven't forgottne you guys! I would like you guys to pick the topic for this week's tutorial. I can continue from last weeks C++ tutorial or we can move onto something different. WE can talk about Compilers/assemblers/IDEs or whatever you guys would like.
    Programmer, Ethical Hacker, Tech Support, Geek Extraordinaire.

  2. #2
    Regular Member

    Status
    Mgutierrez33 is offline

    Last Online
    23-05-2015 @ 01:36
    Join Date
    Aug 2013
    Location
    Tampa, FL
    Posts
    827
    CPU: AMD FX-8350, 4.7 GHz core, 2400 MHz CPU/NB
    M/B: Asus Sabertooth 990FX R2.0
    RAM: 8GB Corsair Vengeance LP Low Voltage @ 2133 MHz
    GPU: Powercolor AXR9 280X TurboDuo (stock)
    • Mgutierrez33's Full Spec's
      • Case:
      • Corsair Graphite 760T
      • PSU:
      • Fractal Design Newton 800W 80 Plus Platinum PSU
      • Cooling:
      • Cooler Master Glacer 240L
      • Monitor:
      • AOC 2251swdn
      • OS:
      • Windows 7 Ultimate, SP1
      • Misc:
      • Silverstone PP07 white cable extensions
    Thanks
    111
    Thanked 71 Times in 64 Posts
    Points: 7,840, Level: 26
    Points: 7,840, Level: 26
    Level completed: 49%,
    Points required for next Level: 310
    Level completed: 49%, Points required for next Level: 310
    Overall activity: 0%
    Overall activity: 0%

    Default Re: Weekly Tutorial 2

    Do you feel that we can move on to different subject matter after the first tutorial?

  3. #3
    Moderator

    Status
    Cyberburnout is offline

    Last Online
    20-10-2017 @ 11:01
    Join Date
    Jul 2012
    Location
    GROVE CITY OHIO
    Posts
    5,362
    CPU: Intel i7-5820k
    M/B: ASRock X99 WS
    RAM: 32GB Crucial DDR4 2133
    GPU: 2 R9-290s Xfire
    • Cyberburnout's Full Spec's
      • Case:
      • Urban T81
      • PSU:
      • CM Silent 350w
      • Cooling:
      • Custom H20, Ek blocks for CPU and GPUs
      • Sound:
      • ONBOARD
      • Monitor:
      • Dual 24"
      • OS:
      • WINDOWS 7 ULTIMATE X64
      • Misc:
      • White LED lighting
    Thanks
    61
    Thanked 1,166 Times in 663 Posts
    Points: 26,323, Level: 49
    Points: 26,323, Level: 49
    Level completed: 78%,
    Points required for next Level: 227
    Level completed: 78%, Points required for next Level: 227
    Overall activity: 0%
    Overall activity: 0%

    Default Re: Weekly Tutorial 2

    I can't read anyways so it doesn't matter to me. Lol
    Its cool either way. I am learning something so I'm happy.
    "If you got it, Build it"

    A+ Certified. Dell, Lenovo, HP, Lexmarks, Xerox, Panasonic and NEC Certified ASP.

  4. #4
    Regular Member

    Status
    Mgutierrez33 is offline

    Last Online
    23-05-2015 @ 01:36
    Join Date
    Aug 2013
    Location
    Tampa, FL
    Posts
    827
    CPU: AMD FX-8350, 4.7 GHz core, 2400 MHz CPU/NB
    M/B: Asus Sabertooth 990FX R2.0
    RAM: 8GB Corsair Vengeance LP Low Voltage @ 2133 MHz
    GPU: Powercolor AXR9 280X TurboDuo (stock)
    • Mgutierrez33's Full Spec's
      • Case:
      • Corsair Graphite 760T
      • PSU:
      • Fractal Design Newton 800W 80 Plus Platinum PSU
      • Cooling:
      • Cooler Master Glacer 240L
      • Monitor:
      • AOC 2251swdn
      • OS:
      • Windows 7 Ultimate, SP1
      • Misc:
      • Silverstone PP07 white cable extensions
    Thanks
    111
    Thanked 71 Times in 64 Posts
    Points: 7,840, Level: 26
    Points: 7,840, Level: 26
    Level completed: 49%,
    Points required for next Level: 310
    Level completed: 49%, Points required for next Level: 310
    Overall activity: 0%
    Overall activity: 0%

    Default Re: Weekly Tutorial 2

    But... if you can't read, then how... O_O

  5. #5
    Member

    Status
    hakspromo is offline

    Last Online
    25-01-2015 @ 18:24
    Join Date
    Dec 2013
    Location
    California/ Philippines
    Posts
    25
    CPU: AMD Phenom II X6 1090T Black Edition
    M/B: MSI 890GXM-G65
    RAM: (2x4GB) Kingston 4GB 1333 ddr3
    GPU: (None) PowerColor Radeon HD6850=FRIED
    • hakspromo's Full Spec's
      • Case:
      • Antec Six Hundred V2 Case
      • PSU:
      • Thermaltake Toughpower XT 675W
      • Cooling:
      • (None)
      • Sound:
      • (None)
      • Monitor:
      • Philips 202EI
      • OS:
      • Windows 7
    Thanks
    0
    Thanked 3 Times in 1 Post
    Points: 914, Level: 7
    Points: 914, Level: 7
    Level completed: 82%,
    Points required for next Level: 36
    Level completed: 82%, Points required for next Level: 36
    Overall activity: 10.0%
    Overall activity: 10.0%

    Default Re: Weekly Tutorial 2

    Assemblers would be great!

  6. #6
    Regular Member

    Status
    Shell_Shock is offline

    Last Online
    05-07-2016 @ 00:39
    Join Date
    Aug 2013
    Location
    Waterford, PA
    Posts
    235
    CPU: Intel G3259 3.2 GHZ LGA 1150
    M/B: MSI Z97 PC Mate
    RAM: Kingston 125GB SSD
    GPU: PNY 465
    • Shell_Shock's Full Spec's
      • Case:
      • ThermalTake Urban T81
      • PSU:
      • EnerMax Revolution Xt 630w
      • Cooling:
      • Dragons blood dye, NZXT 240mm RAD, Danger Den Bay Res, DDC Pump, Primochill Fittings, PETG HArd Line Tubing
      • Monitor:
      • Piece of Crap
      • OS:
      • Windows 8.1
    Thanks
    1
    Thanked 24 Times in 18 Posts
    Points: 3,693, Level: 17
    Points: 3,693, Level: 17
    Level completed: 61%,
    Points required for next Level: 157
    Level completed: 61%, Points required for next Level: 157
    Overall activity: 13.0%
    Overall activity: 13.0%

    Default Re: Weekly Tutorial 2

    Quote Originally Posted by Mgutierrez33 View Post
    Do you feel that we can move on to different subject matter after the first tutorial?
    What do you mean Different subject matter? The topic can change to anythign you would like.


    Quote Originally Posted by hakspromo View Post
    Assemblers would be great!
    Do you mean like x86 assembly?
    Programmer, Ethical Hacker, Tech Support, Geek Extraordinaire.

  7. #7
    Regular Member

    Status
    Shell_Shock is offline

    Last Online
    05-07-2016 @ 00:39
    Join Date
    Aug 2013
    Location
    Waterford, PA
    Posts
    235
    CPU: Intel G3259 3.2 GHZ LGA 1150
    M/B: MSI Z97 PC Mate
    RAM: Kingston 125GB SSD
    GPU: PNY 465
    • Shell_Shock's Full Spec's
      • Case:
      • ThermalTake Urban T81
      • PSU:
      • EnerMax Revolution Xt 630w
      • Cooling:
      • Dragons blood dye, NZXT 240mm RAD, Danger Den Bay Res, DDC Pump, Primochill Fittings, PETG HArd Line Tubing
      • Monitor:
      • Piece of Crap
      • OS:
      • Windows 8.1
    Thanks
    1
    Thanked 24 Times in 18 Posts
    Points: 3,693, Level: 17
    Points: 3,693, Level: 17
    Level completed: 61%,
    Points required for next Level: 157
    Level completed: 61%, Points required for next Level: 157
    Overall activity: 13.0%
    Overall activity: 13.0%

    Default Re: Weekly Tutorial 2

    I'm up for anything, but i need a ballpark area of what you guys would like.
    Programmer, Ethical Hacker, Tech Support, Geek Extraordinaire.

  8. #8
    Regular Member

    Status
    Shell_Shock is offline

    Last Online
    05-07-2016 @ 00:39
    Join Date
    Aug 2013
    Location
    Waterford, PA
    Posts
    235
    CPU: Intel G3259 3.2 GHZ LGA 1150
    M/B: MSI Z97 PC Mate
    RAM: Kingston 125GB SSD
    GPU: PNY 465
    • Shell_Shock's Full Spec's
      • Case:
      • ThermalTake Urban T81
      • PSU:
      • EnerMax Revolution Xt 630w
      • Cooling:
      • Dragons blood dye, NZXT 240mm RAD, Danger Den Bay Res, DDC Pump, Primochill Fittings, PETG HArd Line Tubing
      • Monitor:
      • Piece of Crap
      • OS:
      • Windows 8.1
    Thanks
    1
    Thanked 24 Times in 18 Posts
    Points: 3,693, Level: 17
    Points: 3,693, Level: 17
    Level completed: 61%,
    Points required for next Level: 157
    Level completed: 61%, Points required for next Level: 157
    Overall activity: 13.0%
    Overall activity: 13.0%

    Default Re: Weekly Tutorial 2

    Alright Guys. I've decided i'm gonna cover something important that can be done via programming... Backups.
    In case you guys didn't know, if you have some data that cannot, and i mean ABSOLUTELY CANNOT, be destroyed/misplaced than you should be following the 3-2-1 backup rule.
    THE 3-2-1 BACKUP RULE
    3
    COPIES OF ANYTHING YOU CARE ABOUT; DIFFERENT LOCATIONS/SYSTEMS
    2DIFFERENT FORMATS
    1OFFSITE LOCATION


    This is very important because you want more than one copy, in case something crashes/accidental deletion. For insance keep 3 copies, one in your computer, one in a backup folder, and one in a location you never touch. You also want 2 different formats, such as Cloud storage, like Dropbox, Google Drive, a VPS, etc., and a physical copy for instance my external harddrive. For important documents I always save a copy viewable in a text editor (.txt,.doc) and a copy that can't be edited, (.pdf). And lastly one offsite location, FOr instance really important stuff can be saved to an SD card and carried at all tims (i do this) or in a safety deposit box at the bank.

    To simplify some of these steps i like to write scripts. For Linux i use this "little" gem, it backs up all files in the home directory to an SD card.
    NOTE: RSYNC REQUIRED FOR THIS BASH SCRIPT. MAY NEED ALTERED FOR OWN NEEDS. I a mgiving my source code under the GPL so you may use it as you wish.
    Code:
    #  This program is free software; you can redistribute it and/or modify
    #  it under the terms of the GNU General Public License as published by
    #  the Free Software Foundation; either version 2 of the License, or
    #  (at your option) any later version.
    #  
    #  This program is distributed in the hope that it will be useful,
    #  but WITHOUT ANY WARRANTY; without even the implied warranty of
    #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    #  GNU General Public License for more details.
    #  
    #  You should have received a copy of the GNU General Public License
    #  along with this program; if not, write to the Free Software
    #  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
    #  MA 02110-1301, USA.
    #  
    #!/bin/bash
    #     Backup /home to SD card (if SD card is in Reader and mounted)
    
    logfile=~/log.txt
    if mountpoint -q /home/$USER/backup
      then
        echo "$(date) Backup Location is mounted." > $logfile
           echo "$(date) Starting script. rysnc WIll begin soon." > $logfile
           /usr/bin/rsync -a --delete --exclude-from /home$USER/exclude /home/$USER /home/$USER/backup >> $logfile 2>&1
           echo "$(date) returned from rsync call" >> $logfile 
    
    else
        echo "$(date) Backup Drive not mounted,mounting now." > $logfile
            mount /dev/mmcblk0p1 /home/$USER/backup
            echo "$(date) Backup Drive is mounted." > $logfile
            echo "$(date) Starting script, about to run rysnc" > $logfile
            /usr/bin/rsync -a --delete --exclude-from /home/$USER/exclude /home/$USER /home/$USER/backup >> $logfile 2>&1
            echo "$(date) returned from rsync call" >> $logfile 
    fi]


    For Backing up .config files and such in linux there is also this more specific script:
    Code:
    #  This program is free software; you can redistribute it and/or modify
    #  it under the terms of the GNU General Public License as published by
    #  the Free Software Foundation; either version 2 of the License, or
    #  (at your option) any later version.
    #  
    #  This program is distributed in the hope that it will be useful,
    #  but WITHOUT ANY WARRANTY; without even the implied warranty of
    #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    #  GNU General Public License for more details.
    #  
    #  You should have received a copy of the GNU General Public License
    #  along with this program; if not, write to the Free Software
    #  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
    #  MA 02110-1301, USA.
    
    #!/bin/bash
    # INSPIRED BY/BASED OFF OF FRIENDS THE CRUNCHBANG COMMUNITY
    #  -d file
    #    True if file exists and is a directory.
    
    HOMECOPYPATH="/media/7/cb10-home_copy"
    CONFIGDATE="`date +%Y.%m.%d`"
    
    if [ -d $HOMECOPYPATH/$CONFIGDATE ] ; then
      echo "It exists."
      else
          echo "Directory doesn't exist - creating it."
          mkdir $HOMECOPYPATH/$CONFIGDATE
    fi
    
    # Hidden Directories
    cp -avru "/home/$USER/.claws-mail" "$HOMECOPYPATH/$CONFIGDATE"
    cp -avru "/home/$USER/.config" "$HOMECOPYPATH/$CONFIGDATE"
    cp -avru "/home/$USER/.fonts" "$HOMECOPYPATH/$CONFIGDATE"
    {snip}
    AGAIN; YOU MAY NEED TO ALTER FOR YOUR NEEDS/CONFIGS


    For Windows:
    Disclaimer:
    I highly suggest using ROBOCOPY and the scripts it contains, It's easy and there are lots of guide for it.

    This is a BATCH Script that can be easily edited (I included how in the comments after the :: )

    Code:
        @echo off
        :: AFTER "set drive =" PUT THE DRIVE NUMNER OF THE DRIVE TO LOCATE YOUR BACKUP
        set drive=G:\Backup
        set backupcmd=xcopy /s /c /d /e /h /i /r /y
    
        echo ### Backing up My Documents...
        %backupcmd% "%USERPROFILE%\My Documents" "%drive%\My Documents"
    
        echo ### Backing up Favorites...
        %backupcmd% "%USERPROFILE%\Favorites" "%drive%\Favorites"
    
        echo ### Backing up email and address book (Outlook Express)...
        %backupcmd% "%USERPROFILE%\Application Data\Microsoft\Address Book" "%drive%\Address Book"
        %backupcmd% "%USERPROFILE%\Local Settings\Application Data\Identities" "%drive%\Outlook Express"
    
        echo ### Backing up email and contacts (MS Outlook)...
        %backupcmd% "%USERPROFILE%\Local Settings\Application Data\Microsoft\Outlook" "%drive%\Outlook"
    
        echo ### Backing up the Registry...
        if not exist "%drive%\Registry" mkdir "%drive%\Registry"
        if exist "%drive%\Registry\regbackup.reg" del "%drive%\Registry\regbackup.reg"
        regedit /e "%drive%\Registry\regbackup.reg"
    
        :: HERE IS HOW TO BACKUP OTHER DIRECTORIES
        :: %backupcmd% " LOCATION YOU WANT TO BACKUP " "%drive%\DESTINATION ON BACKUP DRIVE
    
        echo Backup Complete! You may remove your drive!
        @pause
    This was just a few ways to backup using scripts. To use these scripts, type them into your favorite text editor, and do this:
    • IN LINUX:
      • Save as backup.sh
      • Go to location you saved it in
      • Open Terminal
      • type:
        Code:
        chmod -x backup.sh
    • IN WINDOWS:
      • Type backup.bat as the name
      • Go below name and where it says text file in the FIle Format Dropdown menu
      • Select "All Files"
      • Save anywhere

    After doing these steps, you should be able to just double click the file (backup.sh/backup.bat) and the script will run.
    Congrats everybody!
    Programmer, Ethical Hacker, Tech Support, Geek Extraordinaire.

  9. #9
    Core Member

    Status
    killjoyjim is offline

    Last Online
    24-08-2018 @ 17:02
    Join Date
    Dec 2011
    Location
    corry pa
    Posts
    4,837
    CPU: INTEL i5 4670k
    M/B: ASUS MAXIMUS VII HERO
    RAM: CORSAIR DOMINATOR PLATINUM 16GB 2133
    GPU: Two GIGABYTE 670. With EXPC waterblocks and back plats.
    • killjoyjim's Full Spec's
      • Case:
      • Case Labs Magnum TH 10. With custom paint.
      • PSU:
      • AZZA TITAN 1000w
      • Cooling:
      • D5 pump with dress up kit and block. Custom Res with three XSPC 480mm rads. Swifteck CPU block and Two XSPC water blocks on my 670 cards.
      • Sound:
      • ASUS ROG THUNDERBOLT
      • Monitor:
      • 47'' samsung tv
      • OS:
      • windows 7
      • Misc:
      • OCZ 60gb fot OS. And a OCZ 240 ssd.
    Thanks
    30
    Thanked 416 Times in 378 Posts
    Points: 75,825, Level: 85
    Points: 75,825, Level: 85
    Level completed: 58%,
    Points required for next Level: 725
    Level completed: 58%, Points required for next Level: 725
    Overall activity: 0%
    Overall activity: 0%

    Default Re: Weekly Tutorial 2

    It's all Greek to me

  10. #10
    Moderator

    Status
    Smiki007 is offline

    Last Online
    03-07-2020 @ 10:15
    Join Date
    Apr 2011
    Location
    Lima, Peru
    Posts
    2,442
    CPU: ThreadRipper 2950X @4.1Ghz
    M/B: MSI Meg X399 Creation
    RAM: 64GB G.Skill Trident Z RGB 3000
    GPU: 2x Aorus GTX 1080Ti Waterforce WB Xtreme
    • Smiki007's Full Spec's
      • Case:
      • Thermaltake Core X9
      • PSU:
      • EVGA Supernova 1600W 80+ G2
      • Cooling:
      • 2x Enermax NEOChanger Res/Pump Combo + 2x Swiftech Xtreme FLow 360mm Rads + ACool Nexxos XT45 240mm Rad + EKWB Pom / Nickel Full Cover TR4 Water Block)
      • Monitor:
      • ASUS VG278H 3D
      • OS:
      • W10 Pro v.1809
    Thanks
    247
    Thanked 299 Times in 267 Posts
    Points: 108,027, Level: 100
    Points: 108,027, Level: 100
    Level completed: 0%,
    Points required for next Level: 0
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 76.0%
    Overall activity: 76.0%

    Default Re: Weekly Tutorial 2

    Quote Originally Posted by killjoyjim View Post
    It's all Greek to me
    What??? You don't understand your own son?

    Always look beyond the limits...

  11. #11
    Core Member

    Status
    killjoyjim is offline

    Last Online
    24-08-2018 @ 17:02
    Join Date
    Dec 2011
    Location
    corry pa
    Posts
    4,837
    CPU: INTEL i5 4670k
    M/B: ASUS MAXIMUS VII HERO
    RAM: CORSAIR DOMINATOR PLATINUM 16GB 2133
    GPU: Two GIGABYTE 670. With EXPC waterblocks and back plats.
    • killjoyjim's Full Spec's
      • Case:
      • Case Labs Magnum TH 10. With custom paint.
      • PSU:
      • AZZA TITAN 1000w
      • Cooling:
      • D5 pump with dress up kit and block. Custom Res with three XSPC 480mm rads. Swifteck CPU block and Two XSPC water blocks on my 670 cards.
      • Sound:
      • ASUS ROG THUNDERBOLT
      • Monitor:
      • 47'' samsung tv
      • OS:
      • windows 7
      • Misc:
      • OCZ 60gb fot OS. And a OCZ 240 ssd.
    Thanks
    30
    Thanked 416 Times in 378 Posts
    Points: 75,825, Level: 85
    Points: 75,825, Level: 85
    Level completed: 58%,
    Points required for next Level: 725
    Level completed: 58%, Points required for next Level: 725
    Overall activity: 0%
    Overall activity: 0%

    Default Re: Weekly Tutorial 2

    Quote Originally Posted by Smiki007 View Post
    What??? You don't understand your own son?
    Not a word of it.

  12. #12
    Moderator

    Status
    Smiki007 is offline

    Last Online
    03-07-2020 @ 10:15
    Join Date
    Apr 2011
    Location
    Lima, Peru
    Posts
    2,442
    CPU: ThreadRipper 2950X @4.1Ghz
    M/B: MSI Meg X399 Creation
    RAM: 64GB G.Skill Trident Z RGB 3000
    GPU: 2x Aorus GTX 1080Ti Waterforce WB Xtreme
    • Smiki007's Full Spec's
      • Case:
      • Thermaltake Core X9
      • PSU:
      • EVGA Supernova 1600W 80+ G2
      • Cooling:
      • 2x Enermax NEOChanger Res/Pump Combo + 2x Swiftech Xtreme FLow 360mm Rads + ACool Nexxos XT45 240mm Rad + EKWB Pom / Nickel Full Cover TR4 Water Block)
      • Monitor:
      • ASUS VG278H 3D
      • OS:
      • W10 Pro v.1809
    Thanks
    247
    Thanked 299 Times in 267 Posts
    Points: 108,027, Level: 100
    Points: 108,027, Level: 100
    Level completed: 0%,
    Points required for next Level: 0
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 76.0%
    Overall activity: 76.0%

    Default Re: Weekly Tutorial 2

    Quote Originally Posted by killjoyjim View Post
    Not a word of it.
    It so easy, look:

    Code:
    "#!/bin/bash#     Backup /home to SD card (if SD card is in Reader and mounted)
    
    
    logfile=~/log.txt
    if mountpoint -q /home/$USER/backup
      then
        echo "$(date) Backup Location is mounted." > $logfile
           echo "$(date) Starting script. rysnc WIll begin soon." > $logfile
           /usr/bin/rsync -a --delete --exclude-from /home$USER/exclude /home/$USER /home/$USER/backup >> $logfile 2>&1
    HOMECOPYPATH="/media/7/cb10-home_copy"
    CONFIGDATE="`date +%Y.%m.%d`"
    
    
    if [ -d $HOMECOPYPATH/$CONFIGDATE ] ; then
      echo "It exists."
      else
          echo "Directory doesn't exist - creating it."
          mkdir $HOMECOPYPATH/$CONFIGDATE
    fi
    
    
    # Hidden Directories
    cp -avru "/home/$USER/.claws-mail" "$HOMECOPYPATH/$CONFIGDATE"
    cp -avru "/home/$USER/.config" "$HOMECOPYPATH/$CONFIGDATE"
    cp -avru "/home/$USER/.fonts" "$HOMECOPYPATH/$CONFIGDATE"
    {snip}.........."
    
           echo "$(date) returned from rsync call" >> $logfile 
    
    
    else
        echo "$(date) Backup Drive not mounted,mounting now." > $logfile
            mount /dev/mmcblk0p1 /home/$USER/backup
            echo "$(date) Backup Drive is mounted." > $logfile
            echo "$(date) Starting script, about to run rysnc" > $logfile
            /usr/bin/rsync -a --delete --exclude-from /home/$USER/exclude /home/$USER /home/$USER/backup >> $logfile 2>&1
            echo "$(date) returned from rsync call" >> $logfile
    now you got it?
    BTW Nice useful code Alex. Thanks.

    Always look beyond the limits...

  13. #13
    Moderator

    Status
    Cyberburnout is offline

    Last Online
    20-10-2017 @ 11:01
    Join Date
    Jul 2012
    Location
    GROVE CITY OHIO
    Posts
    5,362
    CPU: Intel i7-5820k
    M/B: ASRock X99 WS
    RAM: 32GB Crucial DDR4 2133
    GPU: 2 R9-290s Xfire
    • Cyberburnout's Full Spec's
      • Case:
      • Urban T81
      • PSU:
      • CM Silent 350w
      • Cooling:
      • Custom H20, Ek blocks for CPU and GPUs
      • Sound:
      • ONBOARD
      • Monitor:
      • Dual 24"
      • OS:
      • WINDOWS 7 ULTIMATE X64
      • Misc:
      • White LED lighting
    Thanks
    61
    Thanked 1,166 Times in 663 Posts
    Points: 26,323, Level: 49
    Points: 26,323, Level: 49
    Level completed: 78%,
    Points required for next Level: 227
    Level completed: 78%, Points required for next Level: 227
    Overall activity: 0%
    Overall activity: 0%

    Default Re: Weekly Tutorial 2

    Quote Originally Posted by Shell_Shock View Post
    Alright Guys. I've decided i'm gonna cover something important that can be done via programming... Backups.
    In case you guys didn't know, if you have some data that cannot, and i mean ABSOLUTELY CANNOT, be destroyed/misplaced than you should be following the 3-2-1 backup rule.
    THE 3-2-1 BACKUP RULE
    3
    COPIES OF ANYTHING YOU CARE ABOUT; DIFFERENT LOCATIONS/SYSTEMS
    2DIFFERENT FORMATS
    1OFFSITE LOCATION

    We add and extra "1" to that rule by running a full backup at the end of the year and store it seperartly from the rotation. Data gets written over if it changes so we can always go back to see important data when we need it. This is important for finances and taxes.
    "If you got it, Build it"

    A+ Certified. Dell, Lenovo, HP, Lexmarks, Xerox, Panasonic and NEC Certified ASP.

  14. #14
    Regular Member

    Status
    Shell_Shock is offline

    Last Online
    05-07-2016 @ 00:39
    Join Date
    Aug 2013
    Location
    Waterford, PA
    Posts
    235
    CPU: Intel G3259 3.2 GHZ LGA 1150
    M/B: MSI Z97 PC Mate
    RAM: Kingston 125GB SSD
    GPU: PNY 465
    • Shell_Shock's Full Spec's
      • Case:
      • ThermalTake Urban T81
      • PSU:
      • EnerMax Revolution Xt 630w
      • Cooling:
      • Dragons blood dye, NZXT 240mm RAD, Danger Den Bay Res, DDC Pump, Primochill Fittings, PETG HArd Line Tubing
      • Monitor:
      • Piece of Crap
      • OS:
      • Windows 8.1
    Thanks
    1
    Thanked 24 Times in 18 Posts
    Points: 3,693, Level: 17
    Points: 3,693, Level: 17
    Level completed: 61%,
    Points required for next Level: 157
    Level completed: 61%, Points required for next Level: 157
    Overall activity: 13.0%
    Overall activity: 13.0%

    Default Re: Weekly Tutorial 2

    Quote Originally Posted by Cyberburnout View Post
    We add and extra "1" to that rule by running a full backup at the end of the year and store it seperartly from the rotation. Data gets written over if it changes so we can always go back to see important data when we need it. This is important for finances and taxes.
    Very good idea, i have a 2GB Micro SD Card i keep a backup of my Mozilla Firefox bookmarks, all my config files, my important documents and things i need. EAsy to carry, and easy to hide
    Programmer, Ethical Hacker, Tech Support, Geek Extraordinaire.

Remove Ads

Sponsored Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Tutorial #1: C++ Basics
    By Shell_Shock in forum Programming
    Replies: 8
    Last Post: 28-12-2013, 13:40
  2. First Weekly Tutorial
    By Shell_Shock in forum Programming
    Replies: 7
    Last Post: 19-12-2013, 19:44
  3. Weekly Tutorials
    By Shell_Shock in forum Programming
    Replies: 7
    Last Post: 17-12-2013, 15:23
  4. Newegg Weekly Eggsclusive
    By Mathetes121 in forum Buy/Sell/Trade/Online Deals
    Replies: 8
    Last Post: 26-08-2010, 18:39
  5. Pureoverclock Weekly Newletter
    By Jameson in forum Feedback & Problems
    Replies: 1
    Last Post: 06-03-2006, 06:25

Search tags for this page

There are currently no search tags.
Click on a term to search for related topics.

Tags for this Thread