Cyber ​​Backup and bare-metal restore

What could possibly break there?

Every year our customers face problems leading to the need for complete (bare-metal) restoration:

  1. Problems in the operation of RAID arrays, errors in the firmware of the controller or disks

  2. Administrator errors, incorrectly replaced disks or errors when replacing disks

  3. Data corruption due to malware, viruses and ransomware

  4. Problems installing operating system updates

What cases in your practice required complete recovery of application and OS data?

Non-virtualized systems need backup no less than virtualized ones. Simple file copying does not allow you to obtain a system image suitable for recovery. If there are dozens of such systems in a company and Windows and Linux are used simultaneously, then solving the problem becomes extremely labor-intensive. Due to the difficulties with backing up the OS in non-virtualized environments, the vast majority of customers refuse to back up the OS and make only simple file copies of configuration files and OS settings. The recovery plan from such a backup involves manual installation and configuration of the OS, installation of backup agents and subsequent file recovery. In practice, this often leads to the fact that only during disaster recovery it becomes clear that some of the necessary configuration files located on system drives were not included in the backup plan. This recovery procedure is complex, not automated, and in practice does not guarantee successful recovery. Therefore, in case of complete loss of data and damage to the OS due to another bug in the SSD firmware Meeting the regulated recovery time (RTO) is extremely difficult.

How the issue is resolved in Cyber ​​Backup

Our Cyber ​​Backup system has functionality for block backup of disks. Setting up backup and restoring OS partitions is as easy as performing a regular file backup. This is configured via the web interface. Most RBSs (including us) support Microsoft VSS, but no one offers such a convenient and functional way to consistently backup file systems of Linux servers. Backup is performed online without stopping the server, and data consistency is achieved through the SnapAPI driver, which is responsible for all Cyber ​​Backup I/O operations. This technology helps to take a snapshot of a block device, similar to what could be done in virtual infrastructures using a hypervisor. Driver SnapAPI During the backup process, it tracks writes to the block device and saves the contents of the modified blocks at the time the backup starts.

Advantages of our solution:

  • Consistent block backup without stopping the OS for Windows and Linux

  • Selective recovery of individual files/directories

  • Support for “always incremental” scheme, deduplication and compression

  • Blocks that do not contain file system data are not copied by the agent if one of the file systems supported by Cyber ​​Backup

  • For unsupported file systems and data structures, a full sector-by-sector copy is performed

  • Ability to convert MBR ↔ GPT disk type and BIOS ↔ UEFI boot mode for Windows OS during recovery

Let’s look at creating a backup and recovery plan with an example.

Setting up a backup plan

  1. In the Cyber ​​Backup management console, create a new backup plan. In the “Select data” field, select “Entire machine” or individual disks of this server. We configure the schedule and other parameters of the backup plan.

    Digital Marketing > Cyber ​​Backup and bare-metal restore > 100-create-backup-plan.jpg” title=”” width=”1440″ height=”873″ data-src=”https://habrastorage.org/getpro/habr/upload_files/4b3/e61/9b8/4b3e619b80e1990185cbee3a439a2283.jpg” data-blurred=”true”/></figure></li><li><p>In order not to wait for the backup to start according to schedule, we launch it manually</p><figure class=Digital Marketing > Cyber ​​Backup and bare-metal restore > 102-run-backup.jpg” title=”” width=”1440″ height=”873″ data-src=”https://habrastorage.org/getpro/habr/upload_files/2b7/5e5/0e3/2b75e50e310587b5b421f7ac4f7e5baa.jpg” data-blurred=”true”/></figure></li><li><p>Waiting for the backup operation to complete successfully</p><figure class=

Restoring from a backup

Booting from media

Bootable media is prepared by the Media Builder utility, included in the Cyber ​​Backup distribution. Using this utility you can make a bootable ISO or USB Flash disk. Bootable media is a Linux or Win PE based Live CD with a backup agent installed and an intuitive interface for restoring data from a backup.

  1. Booting the server from a pre-prepared bootable media

    Digital Marketing > Cyber ​​Backup and bare-metal restore > 200-boot-from-media.jpg” title=”” width=”800″ height=”600″ data-src=”https://habrastorage.org/getpro/habr/upload_files/eb1/995/9ec/eb19959ecafbc540df18e792a041a2f1.jpg” data-blurred=”true”/></figure></li><li><p>Specify network settings and connection parameters to the Cyber ​​Backup backup server</p><figure class=Digital Marketing > Cyber ​​Backup and bare-metal restore > 201-media-settings.jpg” title=”” width=”1024″ height=”768″ data-src=”https://habrastorage.org/getpro/habr/upload_files/7cc/678/ca0/7cc678ca042d04001b97eec9c96553f6.jpg” data-blurred=”true”/></figure></li><li><p>After successfully registering the server, you can continue restoring from the backup using the Cyber ​​Backup web management console.</p></li></ol><figure class=Digital Marketing > Cyber ​​Backup and bare-metal restore > 204-media-done.jpg” title=”” width=”1024″ height=”768″ data-src=”https://habrastorage.org/getpro/habr/upload_files/db8/239/8a6/db82398a631f4cd8b3d275303cba5b09.jpg” data-blurred=”true”/></figure><h3>Data recovery</h3><ol><li><p>In the Cyber ​​Backup management console, go to the Devices → Bootable media section, then select the system and click “Recovery”.</p><figure class=Digital Marketing > Cyber ​​Backup and bare-metal restore > 000-select-media.jpg” title=”” width=”1439″ height=”873″ data-src=”https://habrastorage.org/getpro/habr/upload_files/4c5/ee8/785/4c5ee878581d89ae513042484fb8d0e9.jpg” data-blurred=”true”/></figure></li><li><p>Selecting a backup storage</p><figure class=Digital Marketing > Cyber ​​Backup and bare-metal restore > 001-select-backup.jpg” title=”” width=”1439″ height=”873″ data-src=”https://habrastorage.org/getpro/habr/upload_files/de5/996/c33/de5996c331f4bc4bd8079fea9b4f6a9d.jpg” data-blurred=”true”/></figure></li><li><p>Select a restore point and click “Restore” → “Whole machine”</p><figure class=Digital Marketing > Cyber ​​Backup and bare-metal restore > 002-select-backup.jpg” title=”” width=”1439″ height=”872″ data-src=”https://habrastorage.org/getpro/habr/upload_files/11e/eac/0ce/11eeac0ce454bbfc93e37a5aafd342be.jpg” data-blurred=”true”/></figure></li><li><p>Specify additional recovery options and click “Start recovery”</p><figure class=Digital Marketing > Cyber ​​Backup and bare-metal restore > 003-restore-options.jpg” title=”” width=”1439″ height=”875″ data-src=”https://habrastorage.org/getpro/habr/upload_files/f0f/c07/4df/f0fc074df4d2d601aeeef2b9e684e288.jpg” data-blurred=”true”/></figure></li><li><p>We are waiting for the restoration from the backup to complete</p><figure class=Digital Marketing > Cyber ​​Backup and bare-metal restore > 305-restore.gif” title=”” width=”1430″ height=”870″ data-src=”https://habrastorage.org/getpro/habr/upload_files/1e5/4f8/d53/1e54f8d53fb9cb415ae53b23bcaff319.gif”/></figure></li><li><p>Ready!  Our system has been successfully restored</p></li></ol><p>As you have seen, creating a system backup and restoring it is completed in a minimum number of steps in a simple and intuitive interface.</p><p>By the way, have you often encountered the need to completely (bare-metal) restore the OS to a physical server?</p></div><div class='code-block code-block-3' style='margin: 8px 0; clear: both;'> <script type=

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *