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 How to Motivate Yourself: 13 Simple Ways to Try Now 2 How to Learn Something New Every Day and Stay Smart 3 How to Become an Early Riser and Stay Energetic 4 50 Ways to Increase Productivity and Achieve More in Less Time 5 20 Time Management Tips to Super Boost Your Productivity

              Read Next

              Advertising
              Advertising
              Advertising

              Last Updated on November 26, 2019

              How to Motivate Yourself: 13 Simple Ways to Try Now

              How to Motivate Yourself: 13 Simple Ways to Try Now

              Who needs Tony Robbins when you can motivate yourself? Overcoming the emotional hurdle to get stuff done when you’d rather sit on the couch isn’t always easy. But unless calling in sick and waking up at noon have no consequences for you, it’s often a must.

              For those of you who never procrastinate, distract yourself or drag your feet when you should be doing something important, well done so far! But for the rest of you, it’s good to have a library of motivational boosters to move along.

              Despite your best efforts, passion, habits and a flow-producing environment can fail. In that case, it’s time to find whatever emotional pump-up you can use to get started.

              Whether you’re starting a business, trying to los weight or breaking a bad habit, you’ll learn how to motivate yourself with different techniques here:

              1. Go Back to “Why”

              Focusing on a dull task doesn’t make it any more attractive. Zooming out and asking yourself why you are bothering in the first place will make it more appealing.

              If you can’t figure out why, then there’s a good chance you shouldn’t bother with it in the first place.

              2. Go for Five

              Start working for five minutes. Often that little push will be enough to get you going.

              3. Move Around

              Get your body moving as you would if you were extremely motivated to do something. This ‘faking it’ approach to motivation may seem silly or crude but it works.

              Advertising

              4. Find the Next Step

              If it seems impossible to work on a project for you, you can try to focus on the next immediate step.

              Fighting an amorphous blob of work will only cause procrastination. Chunk it up so that it becomes manageable. Learn how to stop procrastinating in this guide.

              5. Find Your Itch

              What is keeping you from working? Don’t let the itch continue without isolating it and removing the problem.

              Are you unmotivated because you feel overwhelmed, tired, afraid, bored, restless or angry? Maybe it is because you aren’t sure you have time or delegated tasks haven’t been finished yet?

              6. Deconstruct Your Fears

              I’m sure you don’t have a phobia about getting stuff done. But at the same time, hidden fears or anxieties can keep you from getting real work completed.

              Isolate the unknowns and make yourself confident, you can handle the worst case scenario.

              7. Get a Partner

              Find someone who will motivate you when you’re feeling lazy. I have a friend I go to the gym with. Besides spotting weight, having a friend can help motivate you to work hard when you’d normally quit.

              8. Kickstart Your Day

              Plan out tomorrow. Get up early and place all the important things early in the morning. Building momentum early in the day can usually carry you forward far later.

              Advertising

              Having a morning routine is a good idea for you to stay motivated!

              9. Read Books

              Read not just self-help or motivational books but any book that has new ideas. New ideas get your mental gears turning and can build motivation. Here’re more reasons to read every day.

              Learning new ideas puts your brain in motion so it requires less time to speed up to your tasks.

              10. Get the Right Tools

              Your environment can have a profound effect on your enthusiasm. Computers that are too slow, inefficient applications or a vehicle that breaks down constantly can kill your motivation.

              Building motivation is almost as important as avoiding the traps that can stop it.

              11. Be Careful with the Small Problems

              The worst killer of motivation is facing a seemingly small problem that creates endless frustration.

              Reframe little problems that must be fixed as bigger ones or they will kill any drive you have.

              12. Develop a Mantra

              Find a few statements that focus your mind and motivate you. It doesn’t matter whether they are pulled from a tacky motivational poster or just a few words to tell you what to do.

              Advertising

              If you aren’t sure where to start, a good personal mantra is “Do it now!” You can find more here too: 7 Empowering Affirmations That Will Help You Be Mentally Strong

              13. Build on Success

              Success creates success. When you’ve just won, it is easy to feel motivated about almost anything. Emotions tend not to be situation specific, so a small win, whether it is a compliment from a colleague or finishing two thirds of your tasks before noon can turn you into a juggernaut.

              There are many ways you can place small successes earlier on to spur motivation later. Structuring your to-do lists, placing straightforward tasks such as exercising early in the day or giving yourself an affirmation can do the trick.

              Bonus: Staying Motivated Forever

              The best way to motivate yourself is to organize your life so you don’t have to. If work is a constant battle for you, perhaps it is time to start thinking about a new job. The idea is that explicit motivational techniques should be a backup, not your regular routine.

              Here are some other things to consider making work flow more naturally:

              Passion

              Do things you have a passion for. We all have to do things we don’t want to. But if life has become a chronic source of dull chores, you’ve got a big problem that needs fixing.

              Not sure what your passion is to get you motivated? This will help you: How to Get Motivated and Be Happy Every Day When You Wake Up

              Habits

              You can’t put everything on autopilot. I’ve found putting a few core habits in place creates a structure for the day.

              Advertising

              Waking up at the same time, working at the same times and having a similar productive routine makes it easier to do the next day.

              This guide will be useful for you if you’re looking to build good habits: Understand Your Habits to Control Them 100%

              Flow

              Flow is the state where your mind is completely focused on the task at hand. While there are many factors that go into producing this state, having the right challenge level is a big part.

              Find ways to tweak your tasks so they hover in that sweet spot between boredom and maddening frustration.

              Easily distracted and hard to focus? Here’s your solution.

              Final Thoughts

              With all these tips I’ve shared with you, now you know what to do when you’re feeling unmotivated.

              Find your passion and develop a positive mantra so when the next time negativity hits you again, you know how to stay positive and motivated!

              More About Motivation

              Featured photo credit: Pexels via pexels.com

              Read Next