Advertising
Advertising

Four ways to automatically backup your hard drive

Four ways to automatically backup your hard drive

There are many pieces of software that are available to help you backup your hard drive. However in my opinion, the simplest and most customizable way of backing up your hard drive is to do so with a homemade script. I will show you how to create a very simple script that will backup your entire hard drive on the first run. With each successive run of the script, it will only backup the files that have been modified. I will show you how to set it up so that you can backup your hard drive automatically without interrupting your work flow and without hampering any productivity. No longer will you unnecessarily lose any files again! I will show you how to do the following:

  • 1. Backup your hard drive on startup without using any extra software
  • 2. Backup your hard drive at scheduled intervals using AutomaticDailyBackup.bat
  • 3. Backup your hard drive at scheduled intervals using Windows Task Scheduler
  • 4. With the use of Xecutor, backup only the files you’ve changed on shutdown

This tutorial is demonstrated using Windows XP, however it will extend equally well into Windows Vista.

The first step is to create the backup script. The script is very short and very easy to create. First, open Notepad (Start >> All Programs >> Accessories >> Notepad) and copy and paste the following text into your Notepad file:

cd c:\
xcopy c: e:\AutomaticDailyBackup /s /e /t /h /D

Make sure that you copy the text onto two separate lines exactly as it is shown above. Also, please note that this script will backup your hard drive to an external location at e:\. If your external hard drive is located at another location, you will want to change the e:\ to a letter that corresponds to your specific external hard drive. Also, if you do not have a folder called “AutomaticDailyBackup” (I’m betting you won’t) in your e:\ drive you should create the folder manually.

Advertising

Save your Notepad file with the name “AutomaticDailyBackup.bat” it is very important to include the “.bat” at the end of the file so Windows knows that it is a script and not just a plain-Jane text file. Additionally, please make sure you save the file to C:\. You can now close Notepad and you should have the file C:\AutomaticDailybackup.bat. This is shown below:

20070313-backup.JPG

    This script file will be used by three of the four methods of backing up your hard drive that are shown below.

    1. Backup your hard drive on startup without using any extra software

    This is probably the quickest and easiest way to backup your hard drive. Right-click on your AutomaticDailyBackup.bat file and select “Create Shortcut.” After you have created the shortcut, move it to Start >> All Programs >> Startup and your hard drive will get automatically backed up every time you log in. These two steps are shown below:

    Advertising

    20070313-backup1.JPG

      20070313-backup2.JPG

        In order to prevent this file from interrupting your work flow when it is backing up your hard drive, right-click on the shortcut in your “Startup” folder and choose “Properties.” In the “Properties” dialog, change “Run Normal” to “Minimized” and click “OK.”

        2. Backup your hard drive at scheduled intervals using AutomaticDailyBackup.bat

        The second way to backup your hard drive is to schedule an automatic backup using Windows Task Scheduler. First, you need to open Task Scheduler (Start >> Control Panel >> Performance and Maintenance >> Scheduled Tasks).

        Advertising

        Once you launch Windows Task Scheduler, click “Add Scheduled Task” and then click “Next.” On the “Click the program you want Windows to run” selection screen, click “Browse…” and choose C:\AutomaticDailyBackup.bat and click “OK”.

        20070313-backup3.JPG

          Choose the frequency you would like the task to run (I chose weekly) and click “Next.” Select the day and time you would like the task to run and click “Next.” Enter your password (if you have one), click “Next” and then click “Finish.” Your scheduled task is all set and it will execute itself automatically at the day and time you chose. If you would like to backup your hard drive more frequently (for example, two or three times per week) create several tasks identical to what is shown above and set them to run on different days of the week.

          3. Backup your hard drive at scheduled intervals using Windows Task Scheduler

          You probably noticed that Windows Task Scheduler has a backup utility built right into it. I prefer to use the AutomaticDailyBackup file to backup the hard drive because it has a finer-grained control of the backup process. However, if you prefer, simply select “Backup” (shown below) and Windows Task Scheduler will automatically control your backup.

          Advertising

          20070313-backup4.JPG

            4. Backup your hard drive on shutdown

            In order to backup your hard drive on shutdown, you need to download Xecutor. Xecutor is a free download that you can download from the Xecutor homepage. Once you install Xecutor and run it for the first time, it will ask you if you want to run Xecutor on Startup — choose “Yes.”

            Next, select the “Shutdown” tab and then the green plus sign. On the properties screen, navigate to C:\AutomaticDailyBackup.bat and click “OK” (don’t worry about changing any other settings). You should see the following:

            20070313-backup5.JPG

              Now when you shutdown Windows, Xecutor will automatically run the AutomaticDailyBackup script.

              Hopefully you found at least one of the four ways to backup your hard drive useful. Coming from someone who lost everything on a hard drive without backing up, please don’t underestimate the importance of backing up your hard drive. If your hard drive crapped out right now, how much information (documents, music, pictures, videos, etc.) would you lose?

              More by this author

              The daily routine of 17 CEOs Productivity Boost: How to start your day at 5:00 AM Search social media content Four ways to automatically backup your hard drive 10 Unconventional Diet Tips: How to lose 50 pounds in three months

              Trending in Featured

              1 7 Simple Rules to Live by to Get in Shape in Two Weeks 2 5 Practical Ways to Get Over a Mental Block 3 How to Learn Something New Every Day and Stay Smart 4 35 Top Productivity Apps for iPhone (2020 Updated) 5 The Gentle Art of Saying No For a Less Stressful Life

              Read Next

              Advertising
              Advertising
              Advertising

              Last Updated on September 18, 2020

              7 Simple Rules to Live by to Get in Shape in Two Weeks

              7 Simple Rules to Live by to Get in Shape in Two Weeks

              Learning how to get in shape and set goals is important if you’re looking to live a healthier lifestyle and get closer to your goal weight. While this does require changes to your daily routine, you’ll find that you are able to look and feel better in only two weeks.

              Over the years, I’ve learned a lot about what it takes to get in shape. Although anyone can cover the basics (eat right and exercise), there are some things that I could only learn through trial and error. Let’s cover some of the most important points for how to get in shape in two weeks.

              1. Exercise Daily

              It is far easier to make exercise a habit if it is a daily one. If you aren’t exercising at all, I recommend starting by exercising a half hour every day. When you only exercise a couple times per week, it is much easier to turn one day off into three days off, a week off, or a month off.

              If you are already used to exercising, switching to three or four times a week to fit your schedule may be preferable, but it is a lot harder to maintain a workout program you don’t do every day.

              Be careful to not repeat the same exercise routine each day. If you do an intense ab workout one day, try switching it up to general cardio the next. You can also squeeze in a day of light walking to break up the intensity.

              Advertising

              If you’re a morning person, check out these morning exercises that will start your day off right.

              2. Duration Doesn’t Substitute for Intensity

              Once you get into the habit of regular exercise, where do you go if you still aren’t reaching your goals? Most people will solve the problem by exercising for longer periods of time, turning forty-minute workouts into two hour stretches. Not only does this drain your time, but it doesn’t work particularly well.

              One study shows that “exercising for a whole hour instead of a half does not provide any additional loss in either body weight or fat”[1].

              This is great news for both your schedule and your levels of motivation. You’ll likely find it much easier to exercise for 30 minutes a day instead of an hour. In those 30 minutes, do your best to up the intensity to your appropriate edge to get the most out of the time.

              3. Acknowledge Your Limits

              Many people get frustrated when they plateau in their weight loss or muscle gaining goals as they’re learning how to get in shape. Everyone has an equilibrium and genetic set point where their body wants to remain. This doesn’t mean that you can’t achieve your fitness goals, but don’t be too hard on yourself if you are struggling to lose weight or put on muscle.

              Advertising

              Acknowledging a set point doesn’t mean giving up, but it does mean realizing the obstacles you face.

              Expect to hit a plateau in your own fitness results[2]. When you expect a plateau, you can manage around it so you can continue your progress at a more realistic rate. When expectations meet reality, you can avoid dietary crashes.

              4. Eat Healthy, Not Just Food That Looks Healthy

              Know what you eat. Don’t fuss over minutia like whether you’re getting enough Omega 3’s or tryptophan, but be aware of the big things. Look at the foods you eat regularly and figure out whether they are healthy or not. Don’t get fooled by the deceptively healthy snacks just pretending to be good for you.

              The basic nutritional advice includes:

              • Eat unprocessed foods
              • Eat more veggies
              • Use meat as a side dish, not a main course
              • Eat whole grains, not refined grains[3]

              Advertising

              Eat whole grains when you want to learn how to get in shape.

                5. Watch Out for Travel

                Don’t let a four-day holiday interfere with your attempts when you’re learning how to get in shape. I don’t mean that you need to follow your diet and exercise plan without any excursion, but when you are in the first few weeks, still forming habits, be careful that a week long break doesn’t terminate your progress.

                This is also true of schedule changes that leave you suddenly busy or make it difficult to exercise. Have a backup plan so you can be consistent, at least for the first month when you are forming habits.

                If travel is on your schedule and can’t be avoided, make an exercise plan before you go[4], and make sure to pack exercise clothes and an exercise mat as motivation to keep you on track.

                6. Start Slow

                Ever start an exercise plan by running ten miles and then puking your guts out? Maybe you aren’t that extreme, but burnout is common early on when learning how to get in shape. You have a lifetime to be healthy, so don’t try to go from couch potato to athletic superstar in a week.

                If you are starting a running regime, for example, run less than you can to start. Starting strength training? Work with less weight than you could theoretically lift. Increasing intensity and pushing yourself can come later when your body becomes comfortable with regular exercise.

                Advertising

                7. Be Careful When Choosing a Workout Partner

                Should you have a workout partner? That depends. Workout partners can help you stay motivated and make exercising more fun. But they can also stop you from reaching your goals.

                My suggestion would be to have a workout partner, but when you start to plateau (either in physical ability, weight loss/gain, or overall health) and you haven’t reached your goals, consider mixing things up a bit.

                If you plateau, you may need to make changes to continue improving. In this case it’s important to talk to your workout partner about the changes you want to make, and if they don’t seem motivated to continue, offer a thirty day break where you both try different activities.

                I notice that guys working out together tend to match strength after a brief adjustment phase. Even if both are trying to improve, something seems to stall improvement once they reach a certain point. I found that I was able to lift as much as 30-50% more after taking a short break from my regular workout partner.

                Final Thoughts

                Learning how to get in shape in as little as two weeks sounds daunting, but if you’re motivated and have the time and energy to devote to it, it’s certainly possible.

                Find an exercise routine that works for you, eat healthy, drink lots of water, and watch as the transformation begins.

                More Tips on Getting in Shape

                Featured photo credit: Alexander Redl via unsplash.com

                Reference

                Read Next