1 with data recovery. Windows System Restore

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

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

How to check the 1C 8.3 base with the chdbfl.exe utility is discussed in

So, open the chdbfl utility. After analyzing the physical integrity of the 1C 8.3 base, errors were found:

You can view all the errors, or you can immediately try to fix them - enable the checkbox Fix found bugs and press the button Run. As a result, the chdbfl utility fixed a number of errors:

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

If, as a result of the work, the number of errors has decreased, then you need to restart the correction and do so 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 base in user mode. But do not rush to do it. The fact is that the considered utility has only a part of the recovery capabilities. For control, it is necessary to check the 1C 8.3 base with standard configurator tools.

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

In the button launch window 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 base is any, but the directory is the folder into which the 1C base was copied:

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

Choose a team - Administration - Testing and Fixing:

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

Attention! If you don't know exactly what the commands are for, then don't change anything. Otherwise, problems may arise:

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

And in the testing and fixing window:

After testing and correcting, press the button close and open the service message window:

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

Restoring a database from a backup

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

First way

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

Let's restore the base 1C. This can be done in the same folder, but for the purity of the experiment, we will transfer the 1Cv8 file - a copy of .1CD to another empty folder, while the folder must first be created. In our example, this test folder 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. It will also throw 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, it is enough to rename the 1Cv8 file - 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.

Again we will try to open the 1C database in the configurator. Now all is well:

Close the configurator and run the 1C 8.3 database in user mode:

A message box will open:

Let's press the button This is a copy of the infobase. The base is completely ready for work:

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

Consider the second way to restore 1C 8.3 - from a backup copy of the *.dt.

In order not to spoil the 1C working base, we will carry out all further operations on a test, that is, a copy of the working base - 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 for the archive file with the dt extension. In our example, test.dt:

Let's reopen the configurator in the test database. Execute the command Administration - Download infobase:

Let's find the necessary 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. Agree with this and press the button Yes:

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

The process of loading the database will begin - in fact, unpacking our archive. After a while, the download process will complete and a message will appear indicating that the download was successful:

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

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

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

Consider the possibility of creating and restoring a database on the example of a test database - test. This is the base 1C Enterprise 8 Accounting 3.0. We have already opened the base we need. Let's go to Section Administration - Backup and Restore and click on the hyperlink Create a backup:

We will open a selection window, while you can select any location, but it is better to create a new folder. Moreover, it is desirable to do this on another partition of the hard disk 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 the storage folder. Let's press the button Folder selection:

The process of creating a backup copy of 1C will begin:

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

To restore the 1C base from the received backup, you need to open our test base or an empty base 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, specify the previously created archive file - backup2016_08_01_13_45_27.zip and press the button Open. Check if the file is specified in the window field and press the button Restore 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 - it is enough just to make an appropriate copy.

This opportunity offers its users and 1C. In other articles on the site, we consider in detail 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 - to install the 1C program, it is better to choose a disk without the Windows folder. If you need to format the hard disk on your computer, if you need to re-do it, 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 are regular software, just like other applications. Here, the saved data is written to files that can be easily copied and backed up, and, if necessary, restored or deleted. Usually, the built-in 1C capabilities are enough for such a step, which we will talk about.

Understandable 1C - how to restore from a backup

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

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

If regular backups are done correctly, there are two corresponding options:

a) when a backup is stored 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 its backup copy.

b) in the case of storing a backup copy as a file with the “.dt” extension, in order to restore data - in the configurator mode, select “Administration - Load infobase” in the main menu.

"Administration - Download infobase"

At the third step - after the 1C database is restored, you can immediately work with the loaded configuration.

Almost always, this method helps, and most importantly - do not forget about regular backup of your databasesto avoid unnecessary waste of time and effort for subsequent recovery.

How to restore a 1C: Accounting database from a backup (8.3 edition 3.0)

2017-12-07T13:31:10+00:00

Has the main base broken or just need to see the remnants of the old last year's base? This is very easy to do if you have .

Suppose we have a backup copy of the "Konfetprom" database on our desktop, which is called "Konfetprom_10/18/2013". Restore the base from it to new folder(I always advise novice users to restore archives only to a new clean folder, so as not to inadvertently damage the working database).

This option is suitable if your backup has a dt extension. Not everyone has extensions visible, so I'll show you what such a copy would look like:

2. Run 1C and click the "Add ..." button. Our goal is to add an empty folder to this list, into which we will then upload the backup.

3. We are creating a new empty infobase, so select the first item:

4. Create a database to load the previously unloaded database (second option):

5. Specify the name of the database to be restored from the backup (usually it is the name of the database + date of the backup):

6. Specify the path to the empty folder that we created in the first step:

7. Leave authentication and startup mode as automatic, and leave the version field empty:

8. Run the connected (still empty) database in the configurator mode:

9. From the menu, select "Administration" - "Load infobase...":

10. Specify the backup from which you want to restore the 1C: Accounting 8.3 database (version 3.0):

11. Pay close attention to the warning that all data in the current database will be overwritten with data from the backup. Since you are restoring a copy to an empty database that we previously created, there is nothing to be afraid of.

12. Done! Agree to launch the configurator:

13. Close the configurator and run the database in normal mode.

Do you have a zip backup?

This option is suitable for those whose backup copy has one of the following extensions: zip, 7z, rar.

Not everyone has extensions visible, so I'll show you what such a copy would look like:

Moreover, if you double-click on such a file, its contents will open (directly in Explorer or in the archiver):

Please note that the 1Cv8.1CD file must be present among the contents. This file is our base.

So, if this is your case, let's continue.

1. Create somewhere (for example, in the "Bases 1C" folder on disk D) an empty folder with any name (for example, "Konfetprom from 10/18/2013"):

2. Unpack the contents of the archive into this folder (I think everyone should already be able to work with archives). After unpacking, this folder will look like this:

Other files may appear there, but most importantly, there must be a file named 1Cv8.1CD.

In general, this is already a ready-made database - it remains only to connect this folder to the list of 1C databases. Here is a ready-made base in the 1C launch list.

Universal way

For users of mine it's even easier.

1. If you want to restore the archive to a new folder, click the button plus sign:

2. In the window that opens, go to the "DT, CF, ZIP" tab and specify the path to the archive and the path to the new clean folder where you want to restore the database:

  • unpack the archive (or restore from dt) to the specified folder
  • add a new database to the updater
  • will add a new database to the 1C launch list (if you check the appropriate checkbox)

It also allows you to easily restore archives to existing databases, but since the article is intended for novice users, I will not provide direct instructions for this here.

The file storage mode of 1C databases is often used by small companies. It is easy to set up, it does not require additional investments and the file mode is convenient to use. But this is only when it comes to the department, up to five people work.

Let's note the main disadvantages of file storage of 1s databases. With significant database volumes, more than 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 version of storing information is an order of magnitude more reliable. Many accountants and 1C operators are familiar with the message: "Stream format error ..." It pops up when trying to start the 1c base, or write a document.

What to do?

1. Back up your database in two ways.

You can copy the folder with the base yourself manually, or unload the base through the configurator.

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

In this case, the base is located on Z:, in the "torg" folder.

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

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

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

2. chkdbfl.exe utility

Open, My Computer, drive C:, the folder "Program files" (in 64-bit versions of windows - "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 of the latest platform version and the “bin” folder there), run the chkdbfl.exe file there

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 box "Correct found errors". Then click "execute".

The check 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 our example, no errors were found.

Go to the database and check how it works.

Let's now consider the causes of this error, and possible ways to prevent them.

Causes of damage to the 1C base:

One of the most common causes is a power failure. Due to a power failure, the server or base computer can often be turned off, or the network can be disconnected. In small businesses, saving on uninterruptible power supplies is not uncommon. It happens that uninterruptible power supplies are not installed at all. Sometimes they connect a server, but forget about protecting network devices, which also leads to damage in the event of a network failure.

Hard drive or flash drive failure. Incorrect connection of a flash drive or an external drive also leads to damage to the 1C database. An outdated hard drive also poses a threat to the infobase, the life expectancy of a hard drive of a standard office computer is 2-3 years, on a server a little more - 3-5 years.

Faulty network. A common cause of database corruption is an overloaded network. When information is transmitted much slower than expected, problems begin in 1C. The use of outdated equipment, or its location in unfavorable places. The computer overheats and starts to freeze.

Incorrectly routed cables also cause operational errors. Outgoing socket, cables laid on the floor - these are only the most common mistakes.

How to avoid disruptions?

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

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

2. Connect external media carefully.

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

Do you have an external hard drive with a 2-way USB cable? Connect both of them, additional power is supplied through the first end, and power and information are supplied through the second.

We recommend that you plan to replace hard drives on a computer or server with a base every 2-3 years.

3. The local network must be in order. Use only modern network devices in your work.

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

4. Don't forget to make backups!

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

1C database recovery- the simplest answer to all the problems that await the system administrator. Is the server infected with a virus? Recovery 1C saves the day. Disk broken? Restoring the 1C database - and the system is ready to go.

Under any incomprehensible circumstances, restore 1C! All you need is the Handy Backup utility, which can create or restore the backup copy of any 1C data you need in a matter of minutes. Try to restore 1C using Handy Backup!

Benefits of saving and restoring a 1C database using Handy Backup

Handy Backup allows you to perform automatic backup of 1C versions 7.7, 8.2 and 8.3, both for basic data and for SQL databases. Using Handy Backup to store and restore 1C databases, you get the following benefits:

Full automation
The program automatically searches the computer for 1C data to create backups, processes them and, if necessary, restores them to their original (or any specified) location.

Storing data in native format
Handy Backup does not change the format of data in backups; as a result, any data from the backup can be opened, moved, copied or edited like a regular file.

Partial recovery
Sometimes a complete restoration of the 1C database is not required; in this case, the user can select individual files from the backup and restore them manually or using Handy Backup.

Simplification of maintenance 1C
To safely perform operations such as testing or synchronizing 1C databases on different servers, it is enough to restore the 1C database from a copy in the selected location.

Working with the contents of the 1C database for a certain period
Regular 1C backup allows you to subsequently select a copy for a specific date to restore the 1C database and gain access to information during this time.

Recommended solution for restoring a 1C database from a backup

Download

Buy!

Version 8.0.4 dated July 10, 2019. 104 MB
Backup program Handy Backup. 9200 RUB for a license

Features of restoring the 1C base for various versions

The above sequence of actions is used to restore 1C of any version. However, it is worth pointing out some features of working with individual versions of 1C.