Windows 10/Win11: Automatically back up a specified folder at a specified time every day

If you're using Windows 10 or Windows 11, you might want to back up certain folders regularly.

Here we will show you how to use Windows functions to automatically back up a specified folder at a specified time every day.

table of contents

How to automatically back up a specified folder at a specified time every day

To perform automatic backups on a regular basis, create a task using the Windows Task Scheduler function and copy files using robocopy.

For more information about "robocopy," please see the official Microsoft page.

Robocopy | Microsoft Learn

Creating a Basic Task

1. Press Windows key + R to open Run, type "taskschd.msc" and click OK.

2. The Task Scheduler will open, so click "Create Basic Task" on the right.

task Scheduler
task Scheduler

3. Enter an easy-to-understand name such as "Automatic Backup" in the "Name" field.

4. In the "Description" section, it's a good idea to enter what you will do specifically.

Create Basic Task Wizard
Create Basic Task Wizard

5. For "Task Trigger," we will back up daily, so check "Daily" and proceed to the next step.

Create Basic Task Wizard
Create Basic Task Wizard

6.① Set the time (23pm in this example).

7.② Set the interval to "1 day" and click Next.

Create Basic Task Wizard
Create Basic Task Wizard

8. Select "Start a program" and click Next.

Create Basic Task Wizard
Create Basic Task Wizard

9.① Enter "robocopy" in "Program/script".

10.② In "Add Factors (Optional)", enter "Source: Half-width space, Destination: Half-width space/e".

By adding the /e option, empty subdirectories of the source directory will also be copied.

For example, copy the entire contents of the "C:\Users\test2\Desktop\Test" folder into the "F:\Daily Backup" folder.

"C:\Users\test2\Desktop\テスト" "F:\毎日バックアップ" /e

*When copying using "robocopy," if the same file name already exists in the destination, it will be overwritten.

If you want to copy the entire "Test" folder, add the same folder name as the destination folder, as follows:

"C:\Users\test2\Desktop\テスト" "F:\毎日バックアップ\テスト" /e
Create Basic Task Wizard
Create Basic Task Wizard

11. When you proceed to the next step, the final confirmation screen will appear. Check the details and click "Finish."

Create Basic Task Wizard
Create Basic Task Wizard
Created Tasks
Created Tasks

Now that the task has been added, the backup will be performed automatically every day at 23pm.

To avoid panicking if your PC suddenly breaks down, it's a good idea to have a standard backup software to protect your important photos and data.
If you found this article helpful, please share it on social media.

Person who wrote this article

Driven by questions arising from my daily PC use and the desire to "do more," I have been pursuing self-study in Windows since around 2008. I am sharing the "aha!" techniques and solutions I discovered through trial and error with the sole purpose of helping you in your PC life.

View profile

Comment:

To comment

[About submissions]
We welcome any questions or information regarding the content of the article.
However, please note that content unrelated to the purpose of the article, criticism of specific individuals or organizations, offensive language,Inappropriate wordsComments containing the above may be deleted or made private without notice at the discretion of the administrator.
Please note that spam may be automatically deleted by anti-spam measures.

CAPTCHA


table of contents