How to Backup Files and Folders Using Command Prompt in Windows 10

Jean updated on Aug 11, 2019 to Todo Backup Resource | How-to Articles

Windows operating system has a mass of inbuilt backup and recovery programs. For example, File History in Windows 10 for backing up specific files and folders that often change, Backup and Restore in Windows 7 for making a full system image, and System Restore, Fresh Start. What we are going to talk about on this page is how to back up files and folders using the command prompt in Windows 10. What's more, except for the Windows command prompt for simple file copy, we also recommend you try EaseUS Todo image backup software to back up the files, folders, partitions, disks, systems on your computer with an advanced but easier command line.

2 Ways to Backup Files and Folders from Command Prompt in Windows 10, 8 or 7

To prevent file loss due to system crash, file corruption, virus infection, etc. on your computer, it is necessary to back up your computer data from time to time. In Windows 10, you can easily copy files and folders from source to destination using the Robocopy command. While if you want to back up your partition, disk, or Windows system, Robocopy can't help you. Then you need a developed backup tool to support you, like EaseUS Todo Backup Workstation here. 

Part 1. Backup Using Windows 10 Command Line

Robocopy, short for Robust File Copy, provides more than 80 command-line parameters and switches for users to have an additional file copy for backup. A typical use scenario for this Windows 10 command backup line is copying a large file share. See the following detailed instructions.

Step 1. Tye cmd in the search box, or press Windows + R (a run dialog box will be displayed ) and type cmd to open Command Prompt will show up.

Step 2. Type the command Robocopy (or xcopy for Windows 8/7/XP users) in this form: robocopy + space + source path + destination path. You can follow the example and create your own.

Robocopy "D:\test" "F:\test 1" (This is the simplest usage for Robocopy to copy contents of D:\test to F:\test 1)

backup files using command prompt Windows 10

Step 3. Press "Enter" and all your target files and folders will be backed up to your desired location, which can be any drive including an external USB flash drive.

backup files using command prompt Windows 10

Part 2. How to Backup Partition/Disk/System Using Command Line Backup Software

If your needs are backing up partition, disks or systems, the Robocopy command can't meet the demands. To do so, you can try EaseUS Workstation command line backup tool that enables you to back up file, folder, partition/disk, and system under Windows command line directly, only performs the etbcmd command. You can schedule a differential, full, or incremental backup each time as you need.

Apart from the command line backup, EaseUS Todo Backup Workstation also provides you the graphical interface to clone several partitions to a new disk (HDD/SSD) at a time or clone Windows OS to SSD without re-installation.

Step 1. Run Command Prompt as administrator and run the command etbcmd to start EaseUS Todo Backup.

easeus todo backup command line starts

Step 2. All the command and parameters of this tool will be listed below.

easeus todo backup action details

Step 3. Here is an example of creating a backup task. And, you'd better list all partitions and disks on your computer first to confirm which partition you need to backup before creating a job.

easeus todo backup command line example

easeus todo backup command line list disk partition

Step 4. If you want to back up your system, you could use the parameter “/s system”, Todo Backup will choose the system and boot partitions to backup them directly. You can also select partition manually. It should be partition 1 and 3 on the above list. 

easeus todo backup command line create system backup task

Step 5. For backing up to network drive, the location could be set as below.

easeus todo backup command line network drive

 
 

100% of people found this article helpful.

 

Frequently Asked Questions

Why choose EaseUS Todo Backup?

"The easiest way to protect your data and system files."techradar

"EaseUS Todo Backup Free is one of the most popular free data backup applications available. This software offers a myriad of features and is extremely user-friendly. It provides a full system backup, meaning you can back up your entire operating system."TopTenReviews

"EaseUS ToDo Backup Home is a great backup program, well suited to the home and SMB space."PCWorld

What is the difference between Clone and Backup? In what cases should I use Clone?

Clone will copy one disk to another or one partition to another (unallocated space is also supported). Usually, this option is used to upgrade the current disk by creating an identical copy. Backup will generate a .PBD image file containing the selected files or system that can be restored from the .PBD image if needed.

What is the difference between System Backup and Disk Backup?

System Backup will auto-select the system boot related partition(s) as the backup source to make sure the system image can be restored properly. Disk/Partition Backup will allow you to manually select a whole disk or speficy a certain partition as the backup source. You will get the same backup result as System Backup if you manually select the system and boot partitions with the Disk/Partition Backup option.

As a computer newbie, what features should I use to protect my computer?

You can use System Backup to back up the system and boot partitions, use Disk/Partition backup to back up the data partition and add plans to run an automatic backup. If you use the computer frequently or have software that may cause boot failure of the computer, we would suggest you back up the computer every 1 to 2 days. For other situations, you can backup the computer once a week. In addition, you can schedule File Backup to back up the files which are changed frequently.

What kind of storage service should I use to save my backup images?

EaseUS Todo Backup can save backup images to internal disks, external disks, network drives, or free cloud(Google Drive, Dropbox, and OneDrive) and CD/DVD. It is suggested to save the images to the internal/external/network drives to save time as those kinds of disks have a better read-write speed. It is suggested NOT to save the image on the source disk, because once the disk is damaged, all the files on the disk will become unavailable and you will be unable to restore the image.

As a company network administrator, what features should I use to protect our internal computers?

It is recommended that you use the SQL Backup feature to back up your company's SQL server and Exchange Backup feature to back up the Exchange server. In addition, you can execute System Backup to back up the system and boot partitions on every computer and set a plan to execute the backup once a day or twice a week to ensure that the computer can be restored timely when it has boot issues. File Backup feature can be used to back up important user data. If there are a large quantity of computers, you can purchase EaseUS Backup Center to manage the backups on the client computers centrally.

About EaseUS Todo Backup

Be it a file, system, partition, or disk, EaseUS Todo Backup will help you back up or clone the item and provide you with multiple backup plans.