motherboards
+ Reply to Thread
Results 1 to 14 of 14

Thread: Weekly Tutorial 2

  1. #1
    Regular Member

    Status
    Shell_Shock is offline

    Last Online
    Yesterday @ 21:57
    Join Date
    Aug 2013
    Location
    Waterford, PA
    Posts
    184
    CPU: AMD A8-4555M APU
    M/B: HP-193B
    RAM: 6GB DDR3
    GPU: AMD Radeon HD 7600G
    • Shell_Shock's Full Spec's
      • Cooling:
      • Rear Intake, Side Exhaust fans
      • Sound:
      • Altec Lansing Speakers; IDT Advanced Audio Codec
      • Monitor:
      • 15" 1080p LCD Laptop Screen
      • OS:
      • Crunchbang Linux
    Thanks
    1
    Thanked 20 Times in 14 Posts
    Points: 1,390, Level: 10
    Points: 1,390, Level: 10
    Level completed: 20%,
    Points required for next Level: 160
    Level completed: 20%, Points required for next Level: 160
    Overall activity: 35.0%
    Overall activity: 35.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
    Yesterday @ 18:16
    Join Date
    Aug 2013
    Location
    Tampa, FL
    Posts
    667
    CPU: AMD FX-8350/4.5 GHz
    M/B: Sabertooth 990FX R2.0
    RAM: 8GB Corsair Vengeance LP White 10-11-10-30 2133 MHz
    GPU: EVGA GTX 560 SC/2GB/900MHz core, 2100MHz effective memory
    • Mgutierrez33's Full Spec's
      • Case:
      • Casecom Halcones CL-86
      • PSU:
      • Silverstone Strider Gold S Series 850W full modular
      • Cooling:
      • Cooler Master Hyper 212 EVO w/second OEM fan
      • Monitor:
      • AOC 2251swdn
      • OS:
      • Windows 7 Ultimate, SP1
      • Misc:
      • AF120 Quiet Edition, Silverstone PP07 white cable extensions
    Thanks
    66
    Thanked 55 Times in 49 Posts
    Points: 2,936, Level: 15
    Points: 2,936, Level: 15
    Level completed: 62%,
    Points required for next Level: 114
    Level completed: 62%, Points required for next Level: 114
    Overall activity: 42.0%
    Overall activity: 42.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
    Today @ 16:57
    Join Date
    Jul 2012
    Location
    GROVE CITY OHIO
    Posts
    3,684
    CPU: AMD FX8320 at 4.8ghz
    M/B: Gigibyte GA990fx-UD5
    RAM: 16GB Hyper-X Predator 2133mhz
    GPU: 3x Sapphire 7950 Dual-x 3GB
    • Cyberburnout's Full Spec's
      • Case:
      • Switch 810 Matte
      • PSU:
      • INWin Commander II 1200w
      • Cooling:
      • Customer H20 with XSPC cpu block. Swiftech 320 Rad 3 Phanteks 120mm fans.2 120mm NZXT Fans in Front, 1 120mm NZXT fan in rear Recon Fan controller. Blue UV cooling liquid
      • Sound:
      • ONBOARD
      • Monitor:
      • lG 55in lcd TV
      • OS:
      • WINDOWS 7 ULTIMATE X64
      • Misc:
      • Blue LED Lights
    Thanks
    46
    Thanked 741 Times in 438 Posts
    Points: 11,503, Level: 32
    Points: 11,503, Level: 32
    Level completed: 37%,
    Points required for next Level: 447
    Level completed: 37%, Points required for next Level: 447
    Overall activity: 99.0%
    Overall activity: 99.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
    Yesterday @ 18:16
    Join Date
    Aug 2013
    Location
    Tampa, FL
    Posts
    667
    CPU: AMD FX-8350/4.5 GHz
    M/B: Sabertooth 990FX R2.0
    RAM: 8GB Corsair Vengeance LP White 10-11-10-30 2133 MHz
    GPU: EVGA GTX 560 SC/2GB/900MHz core, 2100MHz effective memory
    • Mgutierrez33's Full Spec's
      • Case:
      • Casecom Halcones CL-86
      • PSU:
      • Silverstone Strider Gold S Series 850W full modular
      • Cooling:
      • Cooler Master Hyper 212 EVO w/second OEM fan
      • Monitor:
      • AOC 2251swdn
      • OS:
      • Windows 7 Ultimate, SP1
      • Misc:
      • AF120 Quiet Edition, Silverstone PP07 white cable extensions
    Thanks
    66
    Thanked 55 Times in 49 Posts
    Points: 2,936, Level: 15
    Points: 2,936, Level: 15
    Level completed: 62%,
    Points required for next Level: 114
    Level completed: 62%, Points required for next Level: 114
    Overall activity: 42.0%
    Overall activity: 42.0%

    Default Re: Weekly Tutorial 2

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

  5. #5
    New Member

    Status
    hakspromo is offline

    Last Online
    06-04-2014 @ 04:45
    Join Date
    Dec 2013
    Location
    California/ Philippines
    Posts
    19
    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: 380, Level: 4
    Points: 380, Level: 4
    Level completed: 30%,
    Points required for next Level: 70
    Level completed: 30%, Points required for next Level: 70
    Overall activity: 0%
    Overall activity: 0%

    Default Re: Weekly Tutorial 2

    Assemblers would be great!

  6. #6
    Regular Member

    Status
    Shell_Shock is offline

    Last Online
    Yesterday @ 21:57
    Join Date
    Aug 2013
    Location
    Waterford, PA
    Posts
    184
    CPU: AMD A8-4555M APU
    M/B: HP-193B
    RAM: 6GB DDR3
    GPU: AMD Radeon HD 7600G
    • Shell_Shock's Full Spec's
      • Cooling:
      • Rear Intake, Side Exhaust fans
      • Sound:
      • Altec Lansing Speakers; IDT Advanced Audio Codec
      • Monitor:
      • 15" 1080p LCD Laptop Screen
      • OS:
      • Crunchbang Linux
    Thanks
    1
    Thanked 20 Times in 14 Posts
    Points: 1,390, Level: 10
    Points: 1,390, Level: 10
    Level completed: 20%,
    Points required for next Level: 160
    Level completed: 20%, Points required for next Level: 160
    Overall activity: 35.0%
    Overall activity: 35.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
    Yesterday @ 21:57
    Join Date
    Aug 2013
    Location
    Waterford, PA
    Posts
    184
    CPU: AMD A8-4555M APU
    M/B: HP-193B
    RAM: 6GB DDR3
    GPU: AMD Radeon HD 7600G
    • Shell_Shock's Full Spec's
      • Cooling:
      • Rear Intake, Side Exhaust fans
      • Sound:
      • Altec Lansing Speakers; IDT Advanced Audio Codec
      • Monitor:
      • 15" 1080p LCD Laptop Screen
      • OS:
      • Crunchbang Linux
    Thanks
    1
    Thanked 20 Times in 14 Posts
    Points: 1,390, Level: 10
    Points: 1,390, Level: 10
    Level completed: 20%,
    Points required for next Level: 160
    Level completed: 20%, Points required for next Level: 160
    Overall activity: 35.0%
    Overall activity: 35.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
    Yesterday @ 21:57
    Join Date
    Aug 2013
    Location
    Waterford, PA
    Posts
    184
    CPU: AMD A8-4555M APU
    M/B: HP-193B
    RAM: 6GB DDR3
    GPU: AMD Radeon HD 7600G
    • Shell_Shock's Full Spec's
      • Cooling:
      • Rear Intake, Side Exhaust fans
      • Sound:
      • Altec Lansing Speakers; IDT Advanced Audio Codec
      • Monitor:
      • 15" 1080p LCD Laptop Screen
      • OS:
      • Crunchbang Linux
    Thanks
    1
    Thanked 20 Times in 14 Posts
    Points: 1,390, Level: 10
    Points: 1,390, Level: 10
    Level completed: 20%,
    Points required for next Level: 160
    Level completed: 20%, Points required for next Level: 160
    Overall activity: 35.0%
    Overall activity: 35.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
    Today @ 21:01
    Join Date
    Dec 2011
    Location
    corry pa
    Posts
    3,776
    CPU: INTEL i5 4670k
    M/B: ECS l337 gaming,gank,z87h3-a2x z87 chip set
    RAM: CORSAIR DOMINATOR PLATINUM 16GB 2133
    GPU: asus580 directcuII 1536 MB GDDR5 / 782HZ OVERCLOCK
    • killjoyjim's Full Spec's
      • Case:
      • Corsair 700d With custume pait Black Cherry with perial.
      • PSU:
      • AZZA TITAN 1000w
      • Cooling:
      • Laing DDC Pump. with XSPC CLEAR TOP,XSPC block for cpu, Koolance 4x120mm copper Vert rad in top,Black Ice 120mm in the front,Danger Den Dual bay res ,Primochill PRO-LRT Tubing.
      • Sound:
      • ASUS ROG THUNDERBOLT
      • Monitor:
      • 47'' samsung tv
      • OS:
      • windows 7
      • Misc:
      • OCZ 60gb fot OS. And a OCZ 240 ssd.
    Thanks
    30
    Thanked 297 Times in 265 Posts
    Points: 18,502, Level: 41
    Points: 18,502, Level: 41
    Level completed: 51%,
    Points required for next Level: 448
    Level completed: 51%, Points required for next Level: 448
    Overall activity: 99.6%
    Overall activity: 99.6%

    Default Re: Weekly Tutorial 2

    It's all Greek to me

  10. #10
    Regular Member

    Status
    Smiki007 is offline

    Last Online
    Yesterday @ 17:03
    Join Date
    Apr 2011
    Location
    Lima, Peru
    Posts
    780
    CPU: i7 3970x @ 5.0GHz
    M/B: Rampage IV Black Edition
    RAM: Corsair Dominator Platinum DDR3 1600 MHz, 64GB
    GPU: 2x EVGA GTX 780 SLI with EK Water Blocks
    • Smiki007's Full Spec's
      • Case:
      • Obsidian 900d
      • PSU:
      • Enermax MaxRevo 1350W 80+ Gold
      • Cooling:
      • Swiftech APOGEE HD Ultimate Extreme Performance Water Block (Black)+ Swiftech MCP 655B Pump + Swiftech MCRES Rev.2 Reservoir + Phobya G-Changer 240mm & 360mm Radiators
      • Monitor:
      • ASUS VG278H (27", 3D, 120Hz, 2ms 1920x1080)
      • OS:
      • W7 Professional x64 SP1
    Thanks
    61
    Thanked 83 Times in 71 Posts
    Points: 7,106, Level: 25
    Points: 7,106, Level: 25
    Level completed: 12%,
    Points required for next Level: 444
    Level completed: 12%, Points required for next Level: 444
    Overall activity: 99.5%
    Overall activity: 99.5%

    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
    Today @ 21:01
    Join Date
    Dec 2011
    Location
    corry pa
    Posts
    3,776
    CPU: INTEL i5 4670k
    M/B: ECS l337 gaming,gank,z87h3-a2x z87 chip set
    RAM: CORSAIR DOMINATOR PLATINUM 16GB 2133
    GPU: asus580 directcuII 1536 MB GDDR5 / 782HZ OVERCLOCK
    • killjoyjim's Full Spec's
      • Case:
      • Corsair 700d With custume pait Black Cherry with perial.
      • PSU:
      • AZZA TITAN 1000w
      • Cooling:
      • Laing DDC Pump. with XSPC CLEAR TOP,XSPC block for cpu, Koolance 4x120mm copper Vert rad in top,Black Ice 120mm in the front,Danger Den Dual bay res ,Primochill PRO-LRT Tubing.
      • Sound:
      • ASUS ROG THUNDERBOLT
      • Monitor:
      • 47'' samsung tv
      • OS:
      • windows 7
      • Misc:
      • OCZ 60gb fot OS. And a OCZ 240 ssd.
    Thanks
    30
    Thanked 297 Times in 265 Posts
    Points: 18,502, Level: 41
    Points: 18,502, Level: 41
    Level completed: 51%,
    Points required for next Level: 448
    Level completed: 51%, Points required for next Level: 448
    Overall activity: 99.6%
    Overall activity: 99.6%

    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
    Regular Member

    Status
    Smiki007 is offline

    Last Online
    Yesterday @ 17:03
    Join Date
    Apr 2011
    Location
    Lima, Peru
    Posts
    780
    CPU: i7 3970x @ 5.0GHz
    M/B: Rampage IV Black Edition
    RAM: Corsair Dominator Platinum DDR3 1600 MHz, 64GB
    GPU: 2x EVGA GTX 780 SLI with EK Water Blocks
    • Smiki007's Full Spec's
      • Case:
      • Obsidian 900d
      • PSU:
      • Enermax MaxRevo 1350W 80+ Gold
      • Cooling:
      • Swiftech APOGEE HD Ultimate Extreme Performance Water Block (Black)+ Swiftech MCP 655B Pump + Swiftech MCRES Rev.2 Reservoir + Phobya G-Changer 240mm & 360mm Radiators
      • Monitor:
      • ASUS VG278H (27", 3D, 120Hz, 2ms 1920x1080)
      • OS:
      • W7 Professional x64 SP1
    Thanks
    61
    Thanked 83 Times in 71 Posts
    Points: 7,106, Level: 25
    Points: 7,106, Level: 25
    Level completed: 12%,
    Points required for next Level: 444
    Level completed: 12%, Points required for next Level: 444
    Overall activity: 99.5%
    Overall activity: 99.5%

    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
    Today @ 16:57
    Join Date
    Jul 2012
    Location
    GROVE CITY OHIO
    Posts
    3,684
    CPU: AMD FX8320 at 4.8ghz
    M/B: Gigibyte GA990fx-UD5
    RAM: 16GB Hyper-X Predator 2133mhz
    GPU: 3x Sapphire 7950 Dual-x 3GB
    • Cyberburnout's Full Spec's
      • Case:
      • Switch 810 Matte
      • PSU:
      • INWin Commander II 1200w
      • Cooling:
      • Customer H20 with XSPC cpu block. Swiftech 320 Rad 3 Phanteks 120mm fans.2 120mm NZXT Fans in Front, 1 120mm NZXT fan in rear Recon Fan controller. Blue UV cooling liquid
      • Sound:
      • ONBOARD
      • Monitor:
      • lG 55in lcd TV
      • OS:
      • WINDOWS 7 ULTIMATE X64
      • Misc:
      • Blue LED Lights
    Thanks
    46
    Thanked 741 Times in 438 Posts
    Points: 11,503, Level: 32
    Points: 11,503, Level: 32
    Level completed: 37%,
    Points required for next Level: 447
    Level completed: 37%, Points required for next Level: 447
    Overall activity: 99.0%
    Overall activity: 99.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
    Yesterday @ 21:57
    Join Date
    Aug 2013
    Location
    Waterford, PA
    Posts
    184
    CPU: AMD A8-4555M APU
    M/B: HP-193B
    RAM: 6GB DDR3
    GPU: AMD Radeon HD 7600G
    • Shell_Shock's Full Spec's
      • Cooling:
      • Rear Intake, Side Exhaust fans
      • Sound:
      • Altec Lansing Speakers; IDT Advanced Audio Codec
      • Monitor:
      • 15" 1080p LCD Laptop Screen
      • OS:
      • Crunchbang Linux
    Thanks
    1
    Thanked 20 Times in 14 Posts
    Points: 1,390, Level: 10
    Points: 1,390, Level: 10
    Level completed: 20%,
    Points required for next Level: 160
    Level completed: 20%, Points required for next Level: 160
    Overall activity: 35.0%
    Overall activity: 35.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.

+ Reply to Thread

Ads

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