Full Backup using standard Windows tools

As they say among the people, admins are divided into two types, the first type is those who have not yet done Backup and the second is those who are already doing it. And so we will be engaged at once business and we will not associate ourselves with the given types.

How it all began and it all started with the fact that one wonderful day my hard drive on my laptop flew, I was not much upset in terms of the fact that I would need to spend money on a new screw and the costs, as always, came at the wrong time. Having bought a new hard drive, I plugged in a blank with Acronis 11, booted from this girl, and began to restore the system from a previously created image that Acronis 11 itself periodically created on schedule. But I didn’t have to rejoice for a long time, so incredible troubles began with Acronis 11, he didn’t want to unfold the image in any way, which he just didn’t even give to the administrators of one bank who didn’t believe and pounded on their chests that this couldn’t be and everything should unfold like a bunch, but for a long time they did not knock and shrugged, they said they say dude xs we see this for the first time. The same admins from one fairly large bank decided to make an experiment to make an image of their laptop with Windows 7, they merged the image onto an external drive that weighed almost 40GB. They inserted my screw into their laptop and with a smirk on their face and the phrase, look, everything will be a bunch and you say that you did something wrong. But they didn’t have to smile for a long time, and this is an hour before the error message took off, I don’t remember the error code, but the Internet then buzzed about the difference in Acronisa versions, although everything was the same for us. In the end, they didn’t do anything and changed the screw and created partitions, changed the version of Acronisa, which they just didn’t do, but without results, and the admins stopped smiling for a long time and then stopped altogether when their own images didn’t unfold on the servers, fortunately they realized early and managed to draw conclusions and came to another solution to the problem of how to make a Backup system and other things. You probably ask what kind of admins that do not use Raid arrays and everything standard around the world. I will answer that they use it, but each admin has not only servers with raid and SCSI screws, but there are also all sorts of jobs in different companies where the usual Desktop acts as a server as a rule, as there is always not enough money, or for other reasons. In short, who is the administrator in life will understand what I mean. They didn’t solve the problem, they spat on Acronis and began to consider an alternative simple and reliable for one thing and there were four of us to test and each had to provide his own version of Backup-a, but at the end of the test week we met over a glass of beer and came to almost the same decision . The solution was simple and gave 93% fault tolerance about which I have now created this topic and for the benefit of time to warn ordinary mortal people from losing important information on their PC.

And so to the point. I will do everything on Windows 7, but the actions are 100% compatible with such operating systems as 2003, Vista, 8, 2008R2 (Only under Windows 2003 you need to install Resource Kit Tools).

Backup and Restore

1. We go into the control panel and find Backup and Restore there, run it and see the following

Full Backup using standard Windows tools

We select in the left corner "Create a system image" and then we see the following

Full Backup using standard Windows tools

We choose any option that you like, but my advice is not to choose the option to save the system image on the same disk. Backup should always be stored on other sources and preferably on two! After we have chosen, click next and we will see the following window that informs us about what will be done

Full Backup using standard Windows tools

Click the "Archive" button after the image is created, create a system recovery disk

Full Backup using standard Windows tools

In this way, it was quite simple to make a backup of the system and all installed programs with their settings on the system disk. After that, in the future, you can safely insert the boot disk that we created and restore the system. You can also set the archiving system to automatic mode at your discretion. Next, I will tell you how to backup information on other disks and individual folders using the standard utility that is included in the delivery of the operating systems listed in the post, which is called robocopy .

Robocopy.exe - Multi-threaded copy

Robocopy is designed for fault-tolerant copying of directories and directory trees. It has the ability to copy all (or selective) NTFS attributes and properties, has additional code to restart when used with a network connection in case of a break.

So, to business. Create a text file and write the following in it:

@echo off
chcp 1251
robocopy.exe D:MyProject E:BackupMyProject  /mir  /log:E:BackupMyProject backup.log

What happens and what happens is that we mirror files and directories from drive D from the MyProject folder to drive E to the BackupMyProject folder located on an external USB drive. Files are copied those that have been changed, there is no permanent overwriting of files. We also get a Log file where it is described in detail what was copied and what was not, and what were the errors.

We save the file and rename it to any name you understand, but instead of the .txt extension, put .bat or .cmd as you like.

Next, we go to the control panel - administration - launch the task scheduler and create a new task, give it a name, set the time in the triggers for the task launch interval in actions, specify the launch of our xxxxxxx.bat or xxxxxxx.cmd file Now we have an automatic data backup according to our schedule. We sleep peacefully and do not worry.

PS Perhaps this article will seem like an accordion to many, but I don’t think so this method has saved me more than once from information loss and system recovery. Yes, and other people helped who asked me for advice on how to do it. I wrote this article in order to also objectively be able to comment on the posts of other participants and write new articles, if possible, that will help people.

PSS Regarding Backup Windows XP, I want to hear from you, gentlemen, advice, but bypassing Acronis at least version 11.

Source: habr.com

Add a comment