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 Why Do I Have Bad Luck? 2 Simple Things to Change Your Destiny 2 The Gentle Art of Saying No 3 How to Motivate Yourself: 13 Simple Ways You Can Try Right Now 4 15 Ways to Cultivate Lifelong Learning for a Sharper Brain 5 How to Overcome Procrastination and Start Doing What Truly Matters

              Read Next

              Advertising
              Advertising

              Last Updated on November 28, 2018

              Why Do I Have Bad Luck? 2 Simple Things to Change Your Destiny

              Why Do I Have Bad Luck? 2 Simple Things to Change Your Destiny

              Are you one of those people who are always suffering setbacks? Does little ever seem to go right for you? Do you sometimes feel that the universe is out to get you? Do you wonder:

              Why do I have bad luck? Is bad luck real?

              A couple of months ago, I met up with an old friend of mine who I hadn’t seen since last year. Over lunch, we talked about all kinds of things, including our careers, relationships and hobbies.

              My friend told me his job had become dull and uninteresting to him, and despite applying for promotion – he’d been turned down. His personal life wasn’t great either, as he told me that he’d recently separated from his long-term girlfriend.

              When I asked him why things had seemingly gone wrong at home and work, he paused for a moment, and then replied:

              “I’m having a run of bad luck.”

              I was surprised by his response as I’d never thought of him as someone who thought that luck controlled his life. He always appeared to be someone who knew what he wanted – and went after it with gusto.

              He told me he did believe in bad luck because of everything happened to me.

              Advertising

              It was at this point, that I shared my opinion on luck and destiny:

              While chance events certainly occur, they are purely random in nature. In other words, good luck and bad luck don’t exist in the way that people believe. And more importantly, even if random negative events do come along, our perspective and reaction can turn them into positive things.

              Your luck is no worse—and no better—than anyone else’s. It just feels that way. Better still, there are two simple things you can do which will reverse your feelings of being unlucky and change your luck.

              1. Stop believing that what happens in life is out of your control.

              Stop believing that what happens in your life is down to the vagaries of luck, destiny, supernatural forces, malevolent other people, or anything else outside yourself.

              Psychologists call this “external locus of control.” It’s a kind of fatalism, where people believe that they can do little or nothing personally to change their lives.

              Because of this, they either merely hope for the best, focus on trying to change their luck by various kinds of superstition, or submit passively to whatever comes—while complaining that it doesn’t match their hopes.

              Most successful people take the opposite view. They have “internal locus of control.” They believe that what happens in their life is nearly all down to them; and that even when chance events occur, what is important is not the event itself, but how you respond to it.

              This makes them pro-active, engaged, ready to try new things, and keen to find the means to change whatever in their lives they don’t like.

              Advertising

              They aren’t fatalistic and they don’t blame bad luck for what isn’t right in their world. They look for a way to make things better.

              Are they luckier than the others? Of course not.

              Luck is random—that’s what chance means—so they are just as likely to suffer setbacks as anyone else.

              What’s different is their response. When things go wrong, they quickly look for ways to put them right. They don’t whine, pity themselves, or complain about “bad luck.” They try to learn from what happened to avoid or correct it next time and get on with living their life as best they can. They have this Motivation Engine, which most people lack, to keep them going.

              No one is habitually luckier or unluckier than anyone else. It may seem so, over the short term (Random events often come in groups, just as random numbers often lie close together for several instances—which is why gamblers tend to see patterns where none exist).

              When you take a longer perspective, random chance is just . . . random. Yet those who feel that they are less lucky, typically pay far more attention to short-term instances of bad luck, convincing themselves of the correctness of their belief.

              Your locus of control isn’t genetic. You learned it somehow. If it isn’t working for you, change it.

              2. Remember that whatever you pay attention to grows in your mind.

              If you focus on what’s going wrong in your life—especially if you see it as “bad luck” you can do nothing about—it will seem blacker and more malevolent.

              Advertising

              In a short time, you’ll become so convinced that everything is against you that you’ll notice more and more instances where this appears to be true. As a result, you will drown yourself in negative energy and almost certainly stop trying, convinced that nothing you can do will improve your prospects.

              Not long ago, a reader (I’ll call her Kelly) has shared with me about how frustrated she felt and how unlucky she was. Kelly’s an aspiring entrepreneur. She had been trying to find investors to invest in her project. It hadn’t been going well as she was always rejected by the potential investors. And at her most stressful time, her boyfriend broke up with her. And the day after her breakup, she missed an important opportunity to meet an interested investor. She was about to give up because she felt that she’d not be lucky enough to build her business successfully.

              It definitely wasn’t an easy time for her. She was stressful and tired. But it wasn’t bad luck that was playing the role.

              Fatalism feeds on itself until people become passive “victims” of life’s blows. The “losers” in life are those who are convinced they will fail before they start anything; sure that their “bad luck” will ruin any prospects of success.

              They rarely notice that the true reasons for their failure are ignorance, laziness, lack of skill, lack of forethought, or just plain foolishness—all of which they could do something to correct, if only they would stop blaming other people or “bad luck” for their personal deficiencies.

              Your attention is under your control. Send it where you want it to go. Starve the negative thoughts until they die.

              I explained to Kelly that to improve her fortune and have “good luck”, first decide that what happens is nearly always down to her; then try to focus on what works and what turns out well, not the bad stuff.

              Then Kelly tried to review her current situation objectively. She realized that she only needed a short break for herself — from work and her just broken-up relationship. She really needed some time to clear up her mind before moving on with her work and life. When she got her emotions settled down from her heartbreak, she started to work on improving her business’ selling points and looked for new investors that are more suitable.

              Advertising

              A few months later, she told me that she finally found two investors who were really interested in her project and would like to work with her to grow the business. I was really glad that she could take back control of her destiny and achieved what she wanted.

              Your “fate” really does depend on the choices that you make. When random events happen, as they always will, do you choose to try to turn them to your advantage or just complain about them?

              What’s Next?

              Now that you’ve learned the 2 simple things you can do to take control of your fate and create your own luck. But this isn’t it! These simple techniques you’ve learned here are just part of the essential 7 Cornerstone Skills — a skillset that will give you the power to create permanent solutions to big problems in life — any problem in any area of your life!

              If you think you’re “suffering from bad luck”, you can really change things up and start life over with these 7 Cornerstone Skills. It may even be a lot easier than you thought:

              How to Start Over and Reboot Your Life When It Seems Too Late

              Thomas Jefferson is said to have used these words:

              “I’m a great believer in luck and I find the harder I work, the more I have of it.”

              Your luck, in the end, is pretty much what you choose it to be.

              More Ideas About Creating Your Own Luck

              Books About Taking Control of Your Life

              Featured photo credit: LoboStudio Hamburg via unsplash.com

              Read Next