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 Steps For Making a New Year’s Resolution and Keeping It 2 New Years Resolutions Don’t Work – Here’s Why 3 40 Top Productivity Apps for iPhone (2019 Updated) 4 How to Become an Early Riser and Stay Energetic Throughout the Day 5 Lifehack Challenge: Become An Early Riser In 5 Days

              Read Next

              Advertising
              Advertising
              Advertising

              Last Updated on January 2, 2019

              7 Steps For Making a New Year’s Resolution and Keeping It

              7 Steps For Making a New Year’s Resolution and Keeping It

              Are you keen to reinvent yourself this year? Or at least use the new year as a long overdue excuse to get rid of bad habits or pick up new ones?

              Yes, it’s that time of year again. The time of year when we feel as if we have to turn over a new leaf. The time when we misguidedly imagine that the arrival of a new year will magically provide the catalyst, motivation and persistence we need to reinvent ourselves.

              Traditionally, New Year’s Day is styled as the ideal time to kick start a new phase in your life and the time when you must make your all important new year’s resolution. Unfortunately, the beginning of the year is also one of the worst times to make a major change in your habits because it’s often a relatively stressful time, right in the middle of the party and vacation season.

              Don’t set yourself up for failure this year by vowing to make huge changes that will be hard to keep. Instead follow these seven steps for successfully making a new year’s resolution you can stick to for good.

              1. Just pick one thing

              If you want to change your life or your lifestyle don’t try to change the whole thing at once. It won’t work. Instead pick one area of your life to change to begin with.

              Advertising

              Make it something concrete so you know exactly what change you’re planning to make. If you’re successful with the first change you can go ahead and make another change after a month or so. By making small changes one after the other, you still have the chance to be a whole new you at the end of the year and it’s a much more realistic way of doing it.

              Don’t pick a New Year’s resolution that’s bound to fail either, like running a marathon if you’re 40lbs overweight and get out of breath walking upstairs. If that’s the case resolve to walk every day. When you’ve got that habit down pat you can graduate to running in short bursts, constant running by March or April and a marathon at the end of the year. What’s the one habit you most want to change?

              2. Plan ahead

              To ensure success you need to research the change you’re making and plan ahead so you have the resources available when you need them. Here are a few things you should do to prepare and get all the systems in place ready to make your change.

              Read up on it – Go to the library and get books on the subject. Whether it’s quitting smoking, taking up running or yoga or becoming vegan there are books to help you prepare for it. Or use the Internet. If you do enough research you should even be looking forward to making the change.

              Plan for success – Get everything ready so things will run smoothly. If you’re taking up running make sure you have the trainers, clothes, hat, glasses, ipod loaded with energetic sounds at the ready. Then there can be no excuses.

              Advertising

              3. Anticipate problems

              There will be problems so make a list of what they’ll be. If you think about it, you’ll be able to anticipate problems at certain times of the day, with specific people or in special situations. Once you’ve identified the times that will probably be hard work out ways to cope with them when they inevitably crop up.

              4. Pick a start date

              You don’t have to make these changes on New Year’s Day. That’s the conventional wisdom, but if you truly want to make changes then pick a day when you know you’ll be well-rested, enthusiastic and surrounded by positive people. I’ll be waiting until my kids go back to school in February.

              Sometimes picking a date doesn’t work. It’s better to wait until your whole mind and body are fully ready to take on the challenge. You’ll know when it is when the time comes.

              5. Go for it

              On the big day go for it 100%. Make a commitment and write it down on a card. You just need one short phrase you can carry in your wallet. Or keep it in your car, by your bed and on your bathroom mirror too for an extra dose of positive reinforcement.

              Your commitment card will say something like:

              Advertising

              • I enjoy a clean, smoke-free life.
              • I stay calm and in control even under times of stress.
              • I’m committed to learning how to run my own business.
              • I meditate daily.

              6. Accept failure

              If you do fail and sneak a cigarette, miss a walk or shout at the kids one morning don’t hate yourself for it. Make a note of the triggers that caused this set back and vow to learn a lesson from them.

              If you know that alcohol makes you crave cigarettes and oversleep the next day cut back on it. If you know the morning rush before school makes you shout then get up earlier or prepare things the night before to make it easier on you.

              Perseverance is the key to success. Try again, keep trying and you will succeed.

              7. Plan rewards

              Small rewards are great encouragement to keep you going during the hardest first days. After that you can probably reward yourself once a week with a magazine, a long-distance call to a supportive friend, a siesta, a trip to the movies or whatever makes you tick.

              Later you can change the rewards to monthly and then at the end of the year you can pick an anniversary reward. Something that you’ll look forward to. You deserve it and you’ll have earned it.

              Advertising

              Whatever your plans and goals are for this year, I’d do wish you luck with them but remember, it’s your life and you make your own luck.

              Decide what you want to do this year, plan how to get it and go for it. I’ll definitely be cheering you on.

              Are you planning to make a New Year’s resolution? What is it and is it something you’ve tried to do before or something new?

              Read Next