1 s data recovery. Windows System Restore. Resuming using the installation disc

If the 1C database does not start, then you should not be alarmed. First you need to try to restore the 1C database on your own.

If errors were found when checking the working 1C database with the chdbfl utility, then it is necessary to restore the functionality of the database. We will work with the file option.

How to check a 1C 8.3 database using the chdbfl.exe utility is discussed in

So, open the chdbfl utility. After analyzing the physical integrity of the 1C 8.3 database, the following errors were discovered:

You can view all errors, or you can immediately try to fix them - turn on the checkbox Correct detected errors and press the button Execute. As a result, the chdbfl utility corrected a number of errors:

Attention! The peculiarity of the chdbfl utility is that if after the initial correction the number of errors has not changed, then further work with it is useless and other 1C recovery techniques must be used.

If, as a result of the work, the number of errors has decreased, then you need to re-run the fix and do this until there are no errors or their number stops changing.

Let's fix it again:

We see that no errors were found. You can stop working with the chdbfl utility by clicking the button Close.

It would seem that you can run the 1C 8.3 database in user mode. But don't rush to do it. The fact is that the considered utility has only part of the recovery capabilities. To control, you need to check the 1C 8.3 database regular means configurator.

Let's create a new folder anywhere and copy the working database file into it - 1Cv8.1CD:

In the launch window, click the button Add add the 1C database to the list of existing ones:

Set the switch to the position of adding to the list and press the button Further:

The name of the database is any, but the directory is the folder into which the 1C database was copied:

Let's press the button Open configuration. After a while the configuration will open:

Let's choose a team - Administration - Testing and Correction:

In the window that opens, without changing anything, press the button Execute.

Attention! If you don’t know exactly the purpose of the commands, then don’t change anything. Otherwise problems may arise:

The process of testing the 1C fix will begin - you can watch this process in the lower left corner:

And in the testing and correction window:

After testing and correction, click the button Close and open the service message window:

We see that no errors were found and the database is completely ready for use. You can close the configurator and run 1C 8.3 in normal user mode.

Restoring a database from an archived copy

In addition to the options discussed, you can restore the database from an archived copy. In this case, an archive copy can be created in several ways.

First way

It consists of creating a copy of the database file – 1Cv8.1CD directly from the folder where this database is located.

Let's restore the 1C database. This can be done in the same folder, but for the purity of the experiment, we will transfer the file 1Cv8 - copy.1CD to another empty folder, and the folder must first be created. In our example, this folder is test on the desktop:

Let's try to open the 1C Enterprise 8.3 database in the configurator. A message will be displayed stating that the database was not found:

Let's try to open the 1C 8.3 database in user mode. You will also receive an error message:

Let's press the button To finish work to close this window.

Indeed, the 1C 8.3 Accounting program cannot find a file named 1Cv8.1CD in the specified location. In order to correct the situation, just rename the file 1Cv8 - copy.1CD in the test folder to 1Cv8.1CD:

We do not pay attention to other files - these are service files generated automatically by the 1C 8.3 program.

Let's try to open the 1C database again in the configurator. Now everything is fine:

Let's close the configurator and launch the 1C 8.3 database in user mode:

A message box will open:

Click on the button It's a copy information base . The base is completely ready for use:

The second method is to restore 1C from an archived copy of the *.dt file

Let's consider the second method of restoring 1C 8.3 - from an archived copy of the *.dt.

In order not to spoil the working 1C database, all further operations will be carried out on the test one, that is, a copy of the working database - test.

Open the 1C database in the configurator and select the command Administration – Upload infobase:

In the window that opens, select the folder where we will place the archive and specify any name of the archive file with the extension dt. In our example – test.dt:

Let's open the configurator again in the test database. Let's execute the command Administration – Load infobase:

Let's find the required file - in our example it is test.dt and press the button Open:

The 1C 8.3 program will issue a warning that all data may be lost. Let's agree with this and press the button Yes:

Attention! When loading an archive, all data from the 1C 8.3 database into which the archive is loaded is destroyed without the possibility of recovery!

The process of downloading the database will begin - in fact, unpacking our archive. After some time, the download process will complete and a successful download message will appear:

By default, the 1C 8.3 program suggests restarting the configurator - we agree with this and press the button Yes. The configurator will restart. Let's close it and launch the restored 1C 8.3 database in user mode.

The third method is to restore the 1C database from a backup copy

The third recovery method is restoring a 1C 8.3 database from a backup created in user mode.

Let's consider the possibility of creating and restoring a database using the example of a test database - test. This is the base for 1C Enterprise 8 Accounting 3.0. We already have the base we need open. Let's go to section Administration – Backup and Restore and click on the hyperlink Creating a Backup:

Let's open a selection window, and you can select any location, but it is better to create a new folder. Moreover, it is advisable to do this on another section hard drive or on an external drive. For example, Archive 1C BP 3.0:

In our example, for simplicity, we will create this folder on the desktop and select it as a storage folder. Let's press the button Folder selection:

The process of creating a 1C backup will begin:

After the process is completed, a file with a zip extension will be generated in the 1C BP 3.0 Archive folder - this is a backup copy of the database: backup2016_08_01_13_45_27.zip.

To restore a 1C database from a backup, you need to open our test database or an empty database created in advance, the processes are similar.

Let's restore the data in our test database.

Let's open the test database in user mode. Let's go to the section Administration - Backup and Restore and click on the hyperlink :

In the recovery window, indicate the previously created archive file – backup2016_08_01_13_45_27.zip and click the button Open. Let's check whether the file is indicated in the window field and click the button Recover data:

A prerequisite for all 1C users. It is unlikely that anyone will be happy with the prospect of working at night to restore valuable information in order to submit the required report on time.

No one is immune from various software and technical failures at home or at work. To avoid unnecessary waste of time and money, you should take care of the safety of information in advance. Moreover, practically nothing is required for this - you just need to make an appropriate copy.

1C also offers this opportunity to its users. In other articles on the site, we look in detail at how to save data on third-party media. Now you need to understand how to restore data from an already saved copy.

It should be emphasized right away that to install the 1C program it is better to choose a disk without Windows folders. If you need to format the hard drive on your computer, if necessary again, the data will not be deleted. A very important condition if you suddenly forgot to save a backup version of your database when you need to work on a huge amount of data.

It is important to understand that 1C products represent the usual software, like other applications. Here, the saved data is written into files that can be easily copied and made into a backup version, and, if necessary, restored or deleted. Usually, the built-in capabilities of 1C are quite sufficient for such a step, which we will talk about.

Clear 1C - how to restore from a backup

The first step is the main thing we have to do before restoration, take care of having a backup version of our database.

The second step is to move directly to recovery. Please note that all changes to the configuration and data after creating a backup version are lost. After the database is restored, 1C will contain the information that was valid at the time the backup version was created.

If regular backups are performed correctly, two corresponding options are possible:

a) when storing a backup as a file with the extension “.1CD” or as an entire configuration directory, in order to restore the settings, it is enough to replace the Cv8.1CD configuration file with a similar one from your backup copy.

b) if the backup is stored as a file with the extension “.dt”, in order to restore the data, in the configurator mode you need to select “Administration - Load infobase” in the main menu.

“Administration - Load information base”

In the third step - after the 1C database has been restored, you can immediately work with the loaded configuration.

Almost always, the indicated method helps, and most importantly, do not forget about regular backups of your databases in order to avoid unnecessary waste of time and effort for subsequent recovery.

This option will help return the system to the state recorded at a certain point in time - the restore point. If saving such points is configured and enabled, then the system state will be recorded to the hard drive before installing updates, drivers and applications.

Returning Windows to a restore point will save all personal files, but drivers and applications that appeared after the point was created will need to be reinstalled.

To start it Windows recovery, right-click on “Start” (Win + X) and go to “Control Panel” → “System and Security” → “System” → “System Protection”. Click "Restore" → "Next" and select the desired restore point.

Another path option: “Control Panel” → “All Control Panel Items” → “Recovery” → “Run System Restore”.

If the restore point is not found, it means that system protection is disabled, and you will have to use other methods.

To avoid troubles in the future, enable the creation of restore points. To do this, in the same “System Protection” menu, select the system drive, click “Configure” and enable system drive protection.

2. Return the computer to its original state

If there are no restore points or going to them does not help, try returning the system to its original state. You can roll back while saving the files or completely delete everything and . Also, some computers - often laptops - have an option to restore factory settings.

In Windows 8 and 10, you can start restoring to its original state by going to Settings → Update and Security → Reset your PC → Get Started.

In Windows 7, to do this, go to “Control Panel” → “System and Security” → “Backup and Restore” → “Restore system settings or computer” → “Advanced recovery methods” → “Return the computer to the factory-set state.”

3. Restore Windows using a disk

A recovery disk is useful, for example, for rolling back to a saved point or returning to its original state if Windows refuses. An ordinary flash drive, external hard drive or DVD can serve as such a disk.

The recovery disc should be written in advance and stored in case of system failure. Under Control Panel → All Control Panel Items → Recovery, click Create a recovery disk. In the menu that appears, select the “Perform a backup” option. system files to a recovery drive" and you can use the USB drive not only to fix errors and rollback, but also to reinstall Windows.

You can create a recovery DVD in Windows under “Control Panel” → “System and Security” → “Backup and Restore” → “Create a system recovery disc.” The same method works in newer versions of the system, only the name is different: “Backup and Restore (Windows 7)” instead of “Backup and Restore”.

To correct errors, boot the system from disk. In the recovery environment that opens, click Troubleshoot. Start going back to the system restore point in the menu " Extra options» → “System Restore”.

4. Restore Windows using a full system image

Another option for restoring Windows is to roll back to a previously created system image. The image is written to a hard drive, DVD, or network share.

Unlike rollback to original state or restoring from a point, using a full image preserves all files, applications, settings and drivers installed at the time it was created.

The most appropriate moment to create such an image may be when everything is installed on the system and required applications, but there is nothing superfluous. This way you can continue working immediately after recovery.

To create a full system image, in the Control Panel, select Backup and Restore (Windows 7) → Create a system image. (In Windows 7: Control Panel → System and Security → Backup and Restore → Create a system image.)

In the menu that appears, you can choose which of the existing partitions and files to include in the system image and on what media to burn it.

With a complete system image at your disposal, you can quickly return Windows to the state you want. You can start image-based recovery when you restart the computer: “Diagnostics” → “Advanced options” → “System image recovery”.

The file mode for storing 1C databases is often used by small companies. It's easy to set up, doesn't require any additional investment, and the file mode is easy to use. But that's only when we're talking about about the department, employs up to five people.

Let us note the main disadvantages of file storage of 1C databases. With significant database volumes, over three gigabytes, the speed of concurrent users is significantly reduced.

Reliability is also low. 1C databases in file mode are more often damaged. The client-server option for storing information is much more reliable. Many accountants and 1C operators are familiar with the message: “Stream format error...” It pops up when you try to launch a 1C database or record a document.

What to do?

1. Back up your database in two ways.

You can copy the folder with the database yourself manually, or upload the database through the configurator.

Let's copy the database manually. First, let's determine which folder our database is located in. We launch the 1C program. Select (press once left button mouse) the required database, look below for the path to the folder

In this case, the database is located on Z:, in the “torg” folder.

Open My Computer, drive Z:, click on the “torg” folder and select “copy”

Then open another drive on your computer, preferably a network folder. You can use the “My Documents” folder, but only as a last resort. Right-click on an empty space in open window and select "paste"

When the database copying is completed, it is necessary to perform an additional backup using 1C tools (if you can log in in configurator mode).

2. chkdbfl.exe utility

Open My Computer, drive C:, folder “Program files” (in 64-bit windows versions- “Program filex (x86)”), 1Cv8x (where x is the version of your platform (8.0, 8.1, or 8.2). Go to the “bin” folder (in version 1c 8.2, then first the number latest version platforms and the “bin” folder there), there we run the file chkdbfl.exe

In the window, click the “...” button, then open the folder with the database, select the 1Cv8.CD file and click the open button.

Check the “Correct detected errors” checkbox. Then click “run”.

The scan can last from 5 to 60 minutes, depending on the size of the database and the power of your computer. (Fig. 6)

When the check is completed, the program will provide a log of corrected errors (Fig. 7)

In the example we provided, no errors were found.

Go to the database and check how it works.

Let us now consider the reasons for this error, and possible ways preventing them.

Causes of damage to the 1C database:

One of the most common reasons is a power failure. Due to a power failure, a server or computer with a database can often shut down, or the network can go down. In small enterprises, savings on sources uninterruptible power supply– this is not uncommon. It happens that uninterruptible power supplies are not installed at all. Sometimes they connect a server, but forget about security network devices, which also leads to damage in the event of a network failure.

Hard drive or flash drive failure. Incorrect connection flash drives or external drive also lead to damage to the 1C database. Outdated information also poses a threat to the information base. HDD, the “life” of the hard drive of a standard office computer is 2-3 years, on a server it is a little longer - 3-5 years.

Faulty network. Common cause Database damage is an overloaded network. When information is transferred much slower than expected, problems begin in 1C. Use of outdated equipment or its location in unfavorable places. The computer overheats and begins to freeze.

Incorrectly routed cables also cause operational errors. An outgoing socket and cables laid on the floor are just the most common mistakes.

How to avoid work failures?

1. Uninterruptible power supplies must be installed on both servers and network equipment.

It will cost you much less than downtime even for one day. Especially if you have to restore the database during the reporting period. Restoring the database takes several days.

2. Connect external media carefully.

At using USB hub, purchase it with an external power supply.

You external hard disk with a cable with 2 USB ends? Connect them both, the first end provides additional power, and the second - power and information.

Planned replacement hard drives On a computer or server with a database, we recommend doing it once every 2-3 years.

3. The local network should be fine. Use only modern network devices in your work.

This will save you from many problems, not only with 1C.

4. Don't forget to do backups!

Before important operations with the database, set up automatic backups and make backup copies of the database manually.

I don’t think it’s worth explaining to anyone today how important it is to make copies of important files. The 1C system also applies to this. Despite the reliability of the system, no one is immune from any possible scenario. Restoring 1C is a fairly simple process if you have . We recommend making backups every day. Let's look at a short manual for beginners on how to restore a 1C database from a backup.

If a bad situation happened and you still had to restore the database, don’t be upset. If you have a copy, restoring the 1C database is very easy.

Restoring a database from a *.dt file

This method is valid for both file and client-server DBMS. If you are trying to load a backup from a file with the “dt” extension, you need to do the following manipulations.

Open 1C in “Configurator” mode:

Get 267 video lessons on 1C for free:

After entering the configurator, select “Administration”, then “Download infobase”:

Select the location of the copied file on disk. The system will begin to restore the database. Once completed, the following message will appear:

Restoring a database from a *.1cd file

The method is applicable only for file DBMS. This method of restoring a 1C database is quite simple. It is enough to replace the file in the folder where the file is located.

You can find out the location by viewing the path to the file in the information security selection form:

Following the indicated path, you will find the file “1Cv8.1CD”. This is the 1C database. Before you replace this file For yours, just in case, make a copy of the “broken” database, it may come in handy later.

Neglected cases




Top