> How to > Todo Backup Resource > Tutorial: How to Backup Computer Files from Command Prompt

Tutorial: How to Backup Computer Files from Command Prompt

Updated on Jun 26, 2018 by Jean to Todo Backup Resource

In order to create backups without booting into Windows, you can try to backup computer files from Command Prompt in two ways, including robocopy command or third-party command line backup software.

Overview of Command Line Backup

Though Windows operating system has an inbuilt backup and recovery program, for example, File History in Windows 10 for backing up specific files and folders that change often, or Backup and Restore in Windows 7 for making a complete system images, it's still significant to introduce another way to backup files, hard drive, partition or system, which is with the help of Windows Command Prompt.

The command line backup, which refers to the action of backing up a computer from the Command Prompt. It's higher leveled for average Windows users, however, can't be ignored in case that you need to create backups without booting into Windows, or perhaps can't boot computer properly due to common Windows errors such as automatic repair startup repair infinite loop, virus or malware shuts down computer and corrupts Windows system, black screen of death after login with or without cursor, etc.

2 Ways to Backup Computer from Command Prompt in Windows 10, 8 or 7

Therefore, it becomes helpful and useful to learn how to backup computer from Command Prompt, and it'll be even better to have a complete guide to copy everything you want from a dead computer/laptop, including files, folders, a whole hard drive, partition or system.

In the following part, you're going to get to know two separate ways to backup the specified type of computer data, which is via Robocopy command and a third-party command line backup utility.

Guide: How to backup files & folders using Robocopy command

Step 1. By simply typing cmd in the search box, the best match Command Prompt will show up. Right-click on it and select Run as administrator.

Step 2. To backup specific files or folders, just type the command in this form: robocopy + source path + destination path. You can follow the example and create your own.

Robocopy C:\UserFolder D:\Backup (This is the simplest usage for Robocopy to copy contents of C:\UserFolder to D:\Backup)

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

Guide: How to backup hard drive, partition and system using command line backup software

Can Robocopy command backup hard drive, partition or system? Not really. In order to create backups of the mentioned ones from Command Prompt, you need EaseUS Workstation backup software command line tool, which enables users to create and execute backup task under Windows command line directly, only performs etbcmd command.

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 as below.

easeus todo backup action details

Step 3. Here is an example for creating 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 task.

easeus todo backup command line example

easeus todo backup command line list disk partition

Step 4. If you want to backup 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 choose partition manually, it should be partition 1 and 3 on 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