Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Tip
iconfalse
titleThis article will be useful if you are:
  • An IT specialist
  • Responsible for storing data backups locally


Tip
iconfalse
titleWith this information, you will be able to:
  • Understand how backup storage is organized in FirstBIT Hosting
  • Learn how to obtain backup files of your applications' data


Warning
iconfalse
titleAttention

Backup data files are not standalone applications, meaning you cannot work with them in the usual way.

To fully operate FirstBIT Software restored from data backups, you will need to deploy the entire software suite and organize user access.

Deploying all parts of the system is resource-intensive and requires:

  • An IT specialist with the necessary expertise
  • Software licenses
  • Dedicated resources for the deployment




Reference Information


Expand
titleTypes of Backups

All backups can be divided into two types:

  • Full Backup (full) – This is a standalone backup that contains all data.
  • Differential Backup (diff) – This only contains changes made since the last full backup and cannot be used without the full backup file.

This classification is designed to reduce the amount of data during frequent copying.

More detailed information about backup types can be found on the official website


Expand
titleBackup Frequency

Backups are created automatically according to a schedule:

  • Full backups – Once a week, every Sunday
  • Differential backups – Three times a day, every day between 7:00 AM and 7:00 PM (UTC+4, Dubai Time)


Expand
titleBackup Rotation

Backup rotation is the process of removing outdated backups. The deletion follows this policy:

  • Full backups – Stored for 4 weeks
  • Differential backups – Stored for 2 weeks

If you need to store backups for a longer period, please contact your account manager.



Downloading Backup Files
Anchor
Client
Client


Backup files are stored within the hosting platform.

These files can be obtained for storage or use.


Note
iconfalse
titleSpeed Limitations

The download speed limit from the hosting side is 5 MB/sec.

Additionally, the download speed will depend on the speed and load of your internet connection.


Info
iconfalse
titleAccess to Storage

To gain access to the file storage, please contact your account manager.


Info
iconfalse

Below is an example of how to download files through the web panel (sftpgo).


Step 1 – Go to the web page and log in using the credentials provided by your manager - https://backups-edc-repo.cloud.firstbit.ae


Step 2 – Select the backup file and click on it once. The file will begin downloading to your local computer.


Use Case Scenario – Long-Term Local Storage of Backups


Tip
iconfalse

In this scenario, we describe the organization of backup storage for an extended period on your internal resources.


Note
iconfalse

For this type of storage, we recommend using only full data backups.


Note
iconfalse

When planning for long-term storage of files on local resources, consider the following:

  • Reliability – It is preferable for the local storage to be a NAS system with reliable disks and RAID redundancy. Using local computers is strongly discouraged.
  • Capacity – Plan storage space in advance; backup files can occupy significant space, and their size depends on the intensity of ERP application usage.


To implement this task, you need to:

  1. Organize a local storage where you will keep the files.
  2. Regularly access the web portal and download full backup files to your local storage.
  3. Clean up outdated copies based on the required retention periods.
Информация для технических специалистов



Information for Technical Specialists


Warning
iconfalse

Этот раздел предназначен для технических специалистовThis section is intended for technical specialists.


Note
iconfalse

Данная информация применима только для приложений в домене This information is applicable only to applications in the domain - erp.firstbit.ae

Организация резервного копирования

Backup Organization


This article describes the backup system for applications hosted on В статье описывается система резервного копирования для приложений в хостинге FirstBIT Cloud.В этом варианте развертывания (классическом) предусматривается отдельная SQL база данных для каждого приложения.В качестве СУБД используется Microsoft

In this deployment option (classic), a separate SQL database is provided for each application.

Microsoft SQL Server is used as the DBMS, and the standard mechanism of this software is utilized for backup purposes.

This means that the deployment of the data backup file is only possible on SQL Server и для обеспечения резервного копирования используется штатный механизм этого ПО.
Это означает, что развертывание файала копии данных возможно только на Microsoft SQL Server.

Выбор редакции

Choosing the SQL Server

для развертывания копий

Для разового развертывания, не для постоянной работы, подойдет бесплатная версия - Developer Edition.
Подробнее узнать про лицензирование можно узнать на официальном сайте

Правила именования файлов резервных копий

Edition for Deployment of Backups


For one-time deployment, not for continuous operation, the free version – Developer Edition – is suitable.

You can find more information about licensing on the - official website

Backup File Naming Rules


Below are two examples of backup filesНиже приведено два примера файлов резервных копий:

  • 00-015441_data_full_2024-12-15-07-12.bak
  • 00-015441_data_diff_2024-12-16-11-05.bak

При создании резервной копии его файл формируется по следующей логикеWhen creating a backup, the file is generated according to the following logic:

  • 00-015441_data
- имя sql базы данных
  • – the name of the SQL database;
  • full
\ diff - тип резервной копии
  • / diff – the type of backup;
  • 2024-12-15-07-12
- дата и время создания резервной копии в формате.
  • – the date and time of the backup creation in the following format:
    • 2024-12-15 – year-
год
    • month-
месяц-день
    • day;
    • 07-12 – hour-
час-минута
    • minute.
Использование резервных копий

Using Backups


Tip
iconfalse
В этом сценарии мы реализуем восстановление базы данных на конкретную точку во времени

In this scenario, we will implement the restoration of the database to a specific point in time.


Info
iconfalse

Перед началом предполагается чтоBefore starting, it is assumed that:

имеется развернутый имеется установленный
  • A SQL Server
не ниже версии 2022
  • deployed at least version 2022 is available.
  • SQL Management Studio
имеется достаточное кол-во дискового пространства для восстановления
  • is installed.
  • There is sufficient disk space for the restoration.


Tip
iconfalse
После успешного выполнения развернутая база будет доступна для использования - прямые SQL запросы или подключение к серверу приложений 1С.

Для реализации задачи необходимо:

  • Подключиться к хранилищу
  • Скачать нужный набор файлов - полная и разностная копия если требуется восстановиться максимально близко к какой-то дате
  • Выполнить восстановление базы данных из резервной копии

After successful execution, the restored database will be available for use via direct SQL queries or by connecting to the 1C application server.

To implement this task, you need to:

  1. Connect to the storage.
  2. Download the necessary set of files – a full backup and a differential backup if you need to restore as close as possible to a specific date.
  3. Perform the database restoration from the backup.



Expand
titleRestoring the Database from a Backup

1. Starting the Database Restoration Wizard:

  • In the Object Explorer of SSMS, find the Databases node and right-click on it.
  • In the context menu, select Restore -> Database...
  • The Database Restore Wizard will open.

 

Image AddedChoose master of Restore Database.

2. Specifying the Backup Source:

  • On the General page, in the Source section, select Device and click the button ...
  • In the dialog that opens, select the downloaded backup files (full + diff if necessary).

Image Added

Add downloaded files as source.

 

3. Choosing the Date and Time for Restoration:

  • Important: For a correct restoration, you need not only the backup file from the desired date and time but also the nearest preceding full backup.
  • If you want to restore the database to the time of the full backup creation, it is sufficient to select only its file.

4. Verifying Selected Files and Parameters:

  • Carefully check the selected backup files, date, and time for restoration.
  • Ensure that all parameters are specified correctly.
  • Click the OK button to begin the restoration process.

Image Added

Check files and date to restore.


5. Completing the Restoration:

  • After the restoration is successfully completed, the database will be ready for use.
  • You can add it to the 1C server cluster.


Image Added

Database restored

Expand
titleВосстановление базы данных из резервной копии

1. Запуск мастера восстановления базы данных

  • В обозревателе объектов SSMS найдите узел Базы данных и щелкните по нему правой кнопкой мыши.
  • В контекстном меню выберите пункт Восстановить -> База данных....
  • Откроется мастер восстановления базы данных.

 

Image RemovedВосстановление резервной копии.

2. Указание источника резервной копии:

  • На странице Общие в разделе Источник выберите Устройство и нажмите кнопку ...
  • В открывшемся диалоговом окне выберите скаченные файлы резервных копий (full + diff если необходимо)

Image Removed

Опции восстановления.

 

3. Выбор даты и времени восстановления:

  • Важно: Для корректного восстановления требуется не только файл резервной копии на нужную дату и время, но и ближайшая предшествующая полная резервная копия.
  • Если вы хотите восстановить базу данных на момент создания полной резервной копии, достаточно выбрать только ее файл.

4. Проверка выбранных файлов и параметров:

  • Тщательно проверьте выбранные файлы резервных копий, дату и время восстановления.
  • Убедитесь, что все параметры указаны корректно.
  • Нажмите кнопку ОК для начала процесса восстановления.

Image Removed

Проверка корректности выбора резервных копий.

5. Завершение восстановления:

  • После успешного завершения восстановления база данных будет готова к использованию.
  • Вы можете добавить ее в кластер серверов 1С.
Image Removed

Результат.