All pages
Powered by GitBook
1 of 21

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Workstations and servers

Cover
Overview
Cover
File-level backup
Cover
File-level backup recovery
Cover
Image-level backup
Cover
Image-level backup recovery
Cover
Database backup
Cover
Database backup recovery

Overview

This article provides general information about data protection planning.

With Xopero ONE, you can protect multiple components of your infrastructure, including workstations and servers.


Backup & recovery

To protect your workstations and servers, you can use one of three main types of backups:

  1. File-level — saves individual files and directories.

  2. Image-level — protects the entire physical disk.

  3. Databases — backs up your databases.

Similarly to backup types, Xopero ONE offers three methods to restore your data:

  1. File-level backup — allows you to restore files directly from your storage. It can also be used to restore databases protected with file-level backup.

  2. Image-level backup — enables restoring an entire disk, individual files from the backup, or the disk as an image file. You can also use BMR (bare-metal recovery) technology to recover data, allowing restoration between physical devices.

  3. Database recovery — includes methods for restoring previously backed-up databases.


Good practices

  1. Test the Xopero ONE system to determine when backups are performed and choose the best backup schedule. For example, you can schedule backups to run after working hours and enable automatic device shutdown after the backup in the plan settings.

  2. The backup process typically uses the VSS service and device resources. To reduce resource usage, you don’t need to create multiple backup plans for different storages — instead, you can create a replication plan to copy data to another storage.


Useful links and items

Planning your backups

Image-level backup recovery

Cover
Granular recovery
Cover
Bare-metal recovery

Database backup

Cover
Preparing Linux to backup Oracle
Cover
Changing Oracle database mode
Cover
Changing the temporary dump folder
Cover
Oracle database backup
Cover
MySQL database backup
Cover
Microsoft SQL database backup
Cover
PostgreSQL database backup

Changing the temporary dump folder

This article describes how to change the temporary folder used for database backup dumps.

Database backup involves generating a database dump and then backing up the resulting dump file.


Data to protect

When creating a backup plan, in the Data to protect section, select the folder where database dumps will be stored. You can choose either Select from device or Select path or variable — switch between these options by clicking on the text in the list.

If the specified folder is deleted, you will not be able to select it from the list of available folders on the device — in that case, switch to Select path or variable.


Changing the temporary dump folder

  1. Create a new temporary folder.

  2. Go to the Plans tab and edit the plan you want to change or create a new one.

  3. In the Data to protect section, uncheck the old folder and select the new one (if you're creating a new plan, simply select the newly created temporary folder from the list).

  4. Next, go to Advanced settings, then Backup scripts, and update the script arguments to the new database dump location.

  5. Save the changes.

If you delete the old directory first, you will not be able to deselect the folder in the Select from device section — switch to Select path or variable and remove the old directory.

Database backup recovery

Cover
Restoring Oracle database
Cover
Restoring MySQL database
Cover
Restoring Microsoft SQL database
Cover
Restoring PostgreSQL database

Restoring Microsoft SQL database

This article explains how to restore a Microsoft SQL database from a backup.

Microsoft SQL database can be restored to its original location or to a new temporary directory.


How to restore Microsoft SQL database from backup

The first step in restoring a Microsoft SQL database from backup is to restore the database files from storage to a temporary directory. These files will then be imported into the Microsoft SQL database environment.

To restore files backed up using a file-level backup plan follow this guide. If your database was backed up using an image-level backup, use granular recovery to restore it as described in this article.

Xopero recommends restoring the database files to their original directory to avoid potential permission issues in a different location.

Once the database files are restored, the next step is to import them into the Microsoft SQL environment.

1

Open the Microsoft SQL Management Studio.

2

Log in to the directory tree, right-click Databases, and select the Restore Database option.

3

In the opened window, select Device as the backup source and provide the path to the folder containing the *.bak database dump file.

4

After selecting the *.bak file, click OK.

5

The database has been successfully restored and is now listed in the directory tree.

Restoring PostgreSQL database

This article explains how to restore a PostgreSQL database from a backup.

PostgreSQL database can be restored to its original location or to a new temporary directory.


How to restore PostgreSQL database from backup

The first step in restoring a PostgreSQL database from backup is to restore the database files from storage to a temporary directory. These files will then be imported into the PostgreSQL database environment.

To restore files backed up using a file-level backup plan follow this guide. If your database was backed up using an image-level backup, use granular recovery to restore it as described in this article.

Xopero recommends restoring the database files to their original directory to avoid potential permission issues in a different location.

Once the database files are restored, the next step is to import them into the PostgreSQL environment.

1

Log in to your database server using SSH.

2

Enter the following command:

This command does not create the database. If you want to import the database dump file into a non-existing database, you must create the database first. If you want to restore the dump file to an existing database, you must drop the database, create it again, and then import the dump file.

3

The database has been successfully restored

psql dbname < dumpfile.sql

File-level backup

This article provides information about file-level backup in Xopero ONE.

File-level backup protects selected directories and individual files on your device.


Creating a backup plan

1

Log in to Xopero ONE Management Service, go to the Backup tab (Plans > Backup) and click the + Add plan button in the top toolbar.

2

Select Devices from the platforms list.

3

In the next aside, select Files & folders option and choose one or more devices for the plan to apply to (you can also select the plan to include all activated devices).

4

Define the name of the backup plan.

5

In the Data to protect section, select the data you want to include in the backup plan:

  1. Global rules allow you to define locations that will apply to all selected devices. This method offers three options to choose from:

    1. Path — allows you to manually enter the file or folder path.

    2. System variable — enables the use of OS variables such as USERPROFILE, ALLUSERSPROFILE, or SystemRoot. ‼️When specifying a variable in Xopero ONE, percent signs % must be omitted.

    3. Xopero variable — provides a predefined list of variables such as SYSTEM_DISK, ALL_DISKS, and HOMES.

  1. Select from device — this method allows you to choose paths individually for each device by connecting remotely to its file system.

6

When creating a backup plan, you can use filters to gain better control over the files being backed up.

All information about filters and how to use them can be found in .

Filters are available only in the file-level backup plan.

7

Specify the backup location by choosing from the available storage options within your service.

8

Configure the Scheduler & data retention settings by defining when backups should run and which types of backup copies to use.

Set the retention policy to determine how long backups are stored — any copies exceeding this period will be automatically deleted.

9

Go to the Advanced settings section to customize additional options, including encryption, compression levels, and bandwidth limit. These settings provide greater flexibility and help optimize the backup process.

10

After completing the configuration, click the Save button. The protection plan will then automatically begin protecting your devices according to the schedule you defined.

You can also click Save&Run button to immediately start the backup process, regardless of schedule.

File-level backup recovery

In this article, you will learn how to restore data from a file-level backup.

Xopero ONE allows you to easily restore data — an entire backup, selected directories, or individual files — to any location.


Recovery process

1

Open the restore view in Xopero ONE Management Service using one of the following options:

Option A

  1. Go to the Devices tab and click Restore next to the device whose data you want to recover. After selecting the device you want to restore, choose the plan containing the data you want to recover from the Backup plans drop-down menu.

At the bottom of the aside, you can see which agent is being used to access the storage. To change the device, click Change. Ensure the selected device has access to the storage.

  1. Go to the Storages tab, select the storage containing the backup data, and click the folder 📂icon to browse the storage.

  1. Select the device whose data you want to restore. Then, choose the backup plan and review the information about the agent used to connect to the storage.

2

After selecting the appropriate device and backup plan, the system will display the Backup copies section — here, you can choose the backup version you want to restore. Click the desired date, then select Restore.

3

The Select data to restore section displays a tree structure of directories and files. You can select specific directories or individual files to restore by marking the checkboxes next to them. To restore the selected data, click Restore selected. If you want to restore all items included in the backup plan, click Restore all.

4

In the Data to restore section, you can modify the previously selected data that will be included in the restore process. To change or add data, click the Edit button.

5

The Restore to section allows you to define the destination for the restore process—here, you can select any device that is assigned to the Xopero ONE platform as the target location for your restored data.

6

In Restore directory section you can specify the exact location where the data will be restored. You can choose to restore it to the original directory or select a new directory.

7

In Restore settings section, you will find three additional options that can be enabled for the restoration process:

  1. Overwrite existing data — determines whether existing files in the restore directory should be replaced with the restored ones.

  2. Restore files permissions — restores the original file permissions.

8

Double-check your configuration and click the Start now button to begin the recovery process.

Image-level backup

In this article you will learn how to configure image-level backup using Xopero ONE Management Service.

Image-level backup creates a full snapshot of your system, including the operating system, applications, and data.


Overview

Drive image-level backup (aka disk image backup) by definition creates a complete, byte-for-byte copy of a hard drive, including the operating system, all installed applications, settings, and other data. In case of failure, drive image-level backup allows for a rapid and full restoration of the system to its previous state, either on the original or a new device.

Backups of Linux-based systems are created without snapshot integration (LVM/Btrfs/DMERA).

Backup types example in Xopero ONE Management Service.

Creating a backup plan

Drive image-level backup plan can be applied to multiple devices at once.

1

Log in to Xopero ONE Management Service, go to the Backup tab (Plans > Backup) and click the + Add plan button in the top toolbar.

2

Select Devices from the platforms list.

3

In the next aside, select Whole OS option and choose one or more devices for the plan to apply to (you can also select the plan to include all activated devices, or select device groups for the plan to cover).

4

Define the name of the backup plan.

5

In the Data to protect section, select the data you want to include in the backup plan:

  1. Global rules allow you to define locations that will apply to all selected devices. This method offers the Xopero variable option, which provides a predefined list of variables such as SYSTEM_DISK, ALL_DISKS, and HOMES.

6

Specify the backup location by choosing from the available storage options within your service.

7

Configure the by defining when backups should run and which types of backup copies to use.

8

Go to the Advanced settings section to customize additional options, including encryption, compression levels, and bandwidth limit. These settings provide greater flexibility and help optimize the backup process.

9

After completing the configuration, click the Save button. The protection plan will then automatically begin protecting your devices according to the schedule you defined.

Preparing Linux to backup Oracle

This article describes how to prepare a Linux operating system for backing up an Oracle database environment.

Oracle database backup involves generating a database dump using backup scripts and then backing up the resulting dump file.


Linux preparation process

Xopero ONE agent requires the availability of the rman and sqlplus tools. Before starting, ensure that these tools are installed and accessible.

1

Using the Linux command line, log in to the account used for backing up your Oracle database and execute the following commands:

echo 'connect target /; quit' | rman
echo 'SELECT INSTANCE_NAME FROM V$INSTANCE;' | sqlplus / as sysdba
2

If these tools are unavailable (example below) you need to configure the environment variables.

  1. Edit the /home//.bash_profile file and add the following records:

export ORACLE_SID=<database_ID>
export ORACLE_HOME=database_directory

The database_directory specifies the location of the Oracle database.

export PATH=$ORACLE_HOME/bin:$PATH
Example of correctly configured environment variables.
  1. Now, after logging in again, executing the following commands should complete successfully.

echo 'connect target /; quit' | rman
echo 'SELECT INSTANCE_NAME FROM V$INSTANCE;' | sqlplus / as sysdba
3

Once done, your Linux system should now be ready to backup an Oracle environment.

Changing Oracle database mode

This article describes how to change the Oracle database mode.

Changing the Oracle database mode is crucial for the correct backup execution.


Executing the following operations will temporarily make the Oracle database environment unavailable.

Prerequisites

Before starting the Oracle database backup task, make sure that the database mode is set to ARCHIVELOG. To verify that the mode is configured correctly or to change it, open the command line as the user configured in the backup plan and run the sqlplus tool using the following command:

sqlplus / as sysdba

You can then close this tool using the QUIT; command.


Verifying the settings

To verify that the database mode is correctly set to ARCHIVELOG, run the following command:

SELECT LOG_MODE FROM v$database;
Incorrect database mode example.

If the database mode is set to NOARCHIVELOG, change it to ARCHIVELOG.


Changing the database mode

You can switch the database mode from NOARCHIVELOG to ARCHIVELOG using the following commands:

SHUTDOWN IMMEDIATE;
STARTUP MOUNT;
ALTER DATABASE ARCHIVELOG;
ALTER DATABASE OPEN;
QUIT;

Now, verify that the database mode has been changed successfully by running the following command:

SELECT LOG_MODE FROM v$database;

Useful links and items

MySQL database backup

This article explains how to use backup scripts to create a MySQL database dump and include it in a backup plan.

In Xopero ONE, you can back up a variety of databases, including Oracle, Microsoft SQL, PostgreSQL, and MySQL.


General information

The MySQL database backup process in Xopero ONE consists of two steps:

  1. Creating a database dump using backup scripts.

  2. Backing up the database dump.

The first step is performed through Xopero ONE using the backup scripts feature. The second step is a standard file-level or image-level backup executed directly by Xopero ONE.

By using the mysqldump tool, Xopero ONE supports all MySQL versions that are officially supported by Oracle.


1

Log in to XMS, go to the Backup tab (Plans > Backup) and click the + Add plan button in the top toolbar.

2

Select Devices from the platforms list.


PostgreSQL database backup

This article explains how to configure the PostgreSQL database environment in Xopero ONE.

In Xopero ONE, you can back up a variety of databases, including Oracle, MySQL, Microsoft SQL, and PostgreSQL.


Prerequisites

To maintain data consistency, Xopero recommends using a dedicated backup type: a file-based backup with a pre-backup script for the PostgreSQL database.

The pre-backup script can also be used to generate a database dump before performing a disk-level backup.

Database backup begins with a script that requests the database server to create a dump in a temporary directory. Once the dump is complete, Xopero ONE backs up the generated dump file.

Xopero ONE uses the pg_dump utility to back up PostgreSQL databases.


Backup configuration

1

Log in to XMS, go to the Backup tab (Plans > Backup) and click the + Add plan button in the top toolbar.

2

Select Devices from the platforms list.

3

In the next aside, select one of the available options and choose one or more devices for the plan to apply to (you can also select the plan to include all activated devices).

4

Define the name of the backup plan.

5

Configure your backup plan according to your needs (more information about the backup plan setup can be found in and articles).

6

Go to the Advanced settings section and click Edit to customize additional options.

7

Scroll down to the Backup scripts section and click the Pre-task script toggle to turn it on.

8

Select the script dedicated to backing up the PostgreSQL database environment.

9

Type your database username into the Database user field.

10

Choose the user password by opening the Password Manager, where you can either add a new password or select an existing one.

11

Set up the script arguments — it should be entered in the Script arguments field as follows:

  1. database — the name of the database to back up. A backup plan can target a single database or all databases. To back up all databases, use the --all parameter instead of specifying a database name.

12

You can enable the two additional options using the checkboxes:

  1. Wait for the script to continue the task — the application will wait until the dump is ready.

  2. Fail the task if the script fails — if the script fails, the system will notify you of the backup error.

13

Double-check your settings and click Save to close the Advanced settings aside.

14

After completing the configuration, click the Save button. The protection plan will then automatically begin protecting your devices and databases according to the schedule you defined.


Restoring Oracle database

This article explains how to restore an Oracle database from a backup.

An Oracle database can be restored to its original location or to a new temporary directory.


How to restore an Oracle database from backup

The first step in restoring an Oracle database from backup is to restore the database files from storage to a temporary directory. These files will then be imported into the Oracle database environment.

To restore files backed up using a file-level backup plan follow this guide.

Xopero recommends restoring the database files to their original directory to avoid potential permission issues in a different location.

If the database files are restored to a temporary directory, run the following command in the CLI:

/opt/XoperoONEBackupAgent/Xopero.Device.App --oracle-restore database_ID backupuser /home/backupuser/oracle/oracle_database_dump
  • /opt/XoperoONEBackupAgent/Xopero.Device.App — path to the Xopero ONE application

  • --oracle-restore — parameter used to restore the Oracle database

  • database_ID — ID of the database to be restored

  • backupuser — user with permission to restore the database

  • /home/backupuser/oracle/oracle_database_dump — path to the directory containing the restored database files

If the restore completes successfully, information about the restored database will be displayed on the screen:


Restoring the database to the source host when part of it is unavailable

If part of the database is currently unavailable (for example, if a user deleted a table), the restoration process described above may fail, as the deletion is a more recent operation in the database.

The solution is to run the modified command:

/opt/XoperoONEBackupAgent/Xopero.Device.App --oracle-restore database_ID backupuser /home/backupuser/oracle/oracle_database_dump true

The last optional parameter, required only when restoring to the source host, should be set to true. This ensures Xopero sets the SCN (System Change Number) to the point immediately after the backup.

Setting this parameter resolves issues with unrestored parts of the database. The restoration method described in the first section of this article will still work, but it may not always produce the expected results.

this article
output_dir — the directory where the database dump will be created; this is also the folder that Xopero ONE will back up.
  • pg_dump_dir — the path to the pg_dump utility. This is required only for PostgreSQL databases hosted on Windows.

  • port_number — required only if your PostgreSQL server uses a non-standard port (other than 5432).

  • It is strongly recommended to create a dedicated user specifically for database backup operations.

    Useful links and items

    File-level backup
    Image-level backup
    File-level backup recovery
    File-level backup
    Restoring PostgreSQL database

    Specifying the port is optional. If no port is provided, the default port (5432) will be used. Use the port_number parameter only if your PostgreSQL server uses a non-standard port.

    database output_dir "pg_dump_dir" port_number
  • Select from device — this method allows you to select disks individually for each device by connecting remotely to its file system.

  • S3 storages have a buffer limit which is set to 128 MiB by default and allows you to transfer ~1250GiB of data. You can expand your buffer by following the backup optimization guide.

    Set the retention policy to determine how long backups are stored — any copies exceeding this period will be automatically deleted.

    You can also click Save&Run button to immediately start the backup process, regardless of schedule.

    Scheduler & data retention settings

    Note that you cannot select specific partitions — the entire disk, including all partitions, is always backed up.

    If a disk containing the boot partition is not included in the backup, the operating system cannot be restored from that backup.

    Reduce bandwidth — limits network usage during the restore process.

    Option B

    3

    In the next aside, select one of the available options and choose one or more devices for the plan to apply to (you can also select the plan to include all activated devices).

    4

    Define the name of the backup plan.

    5

    Configure your backup plan according to your needs (more information about the backup plan setup can be found in File-level backup and Image-level backup articles).

    6

    Go to the Advanced settings section and click Edit to customize additional options.

    7

    Scroll down to the Backup scripts section and click the Pre-task script toggle to turn it on.

    8

    Select one of the scripts dedicated to backing up the MySQL database environment (Windows or Linux).

    9

    Type your database username into the Database user field.

    It is strongly recommended to create a dedicated user specifically for database backup operations.

    10

    Choose the user password by opening the Password Manager, where you can either add a new password or select an existing one.

    11

    Set up the script arguments — it should be entered in the Script arguments field as follows:

    Windows
    database output_dir mysqldump_dir port
    Linux
    database output_dir port
    1. database — the name of the database. To include multiple databases in one backup plan, enter their names in the following format: [database1 database2 database3]. To back up all databases, use the --all parameter instead of specifying a database name.

    2. output_dir — the directory where the database dump will be saved. This directory must also be selected in the Data to protect section when creating a backup plan.

    3. mysqldump_dir — the path to the mysqldump utility.

    4. port — an optional parameter. Enter the port number only if a non-standard port is used. The default port is 3306.

    For example, to back up all databases from the MySQL environment, use the following arguments:

    If you want to back up only selected databases from the MySQL environment (for example, two out of seven), use the following arguments:

    12

    Enable the two additional options using the checkboxes:

    1. Wait for the script to continue the task — the application will wait until the dump is ready.

    2. Fail the task if the script fails — if the script fails, the system will notify you of the backup error.

    13

    Double-check your settings and click Save to close the Advanced settings aside.

    14

    After completing the configuration, click the Save button. The protection plan will then automatically begin protecting your devices and databases according to the schedule you defined.

    You can also click Save&Run button to immediately start the backup process, regardless of schedule.

    15

    That’s all you need to do to create the database dump — this file should now be included in the Data to protect section if you are performing a file-level backup (to back up only the database). Alternatively, you can run an image-level backup to protect the entire drive.

    Backup configuration

    If a file-level backup plan has already been created and is running, you can skip directly to step 6.

    Useful links and items

    Restoring MySQL database

    This article explains how to restore a MySQL database from a backup.

    MySQL database can be restored to its original location or to a new temporary directory.


    How to restore MySQL database from backup

    The first step in restoring a MySQL database from backup is to restore the database files from storage to a temporary directory. These files will then be imported into the MySQL database environment.

    To restore files backed up using a file-level backup plan follow this guide. If your database was backed up using an image-level backup, use granular recovery to restore it as described in this article.

    Xopero recommends restoring the database files to their original directory to avoid potential permission issues in a different location.

    Once the database files are restored, the next step is to import them into the MySQL environment. To restore the database to the MySQL server, use a database management tool.

    This guide uses the MySQL command-line utility.

    1

    To restore the database, log in to the database server using the following command:

    • SERVER_ADDRESS — the address of the MySQL server where the database will be restored

    • USER — the username of the database user

    2

    Next, type:

    • DATABASE_NAME — the name of the database where the dump file will be restored

    ‼️ If the corrupted database still exists in MySQL, first drop it and recreate the database using the following command:

    3

    The database backup is restored using the SOURCE PATH_TO_FILE command, replacing PATH_TO_FILE with the full path to the previously restored database file. The syntax is as follows:


    Oracle database backup

    This article describes how to configure the Oracle database environment in Xopero ONE.


    The Oracle database backup process in Xopero ONE consists of two stages:

    1. Creating a database dump using backup scripts.

    2. Backing up the created dump file.

    The first stage is executed through Xopero ONE using the

    Microsoft SQL database backup

    This article explains how to configure the Microsoft SQL database environment using Xopero ONE.


    The Microsoft SQL database backup process in Xopero ONE consists of two steps:

    1. Creating a database dump using backup scripts.

    2. Backing up the database dump.

    The first step is performed through Xopero ONE

    DATABASE_NAME — the name of the database to be created for importing the database dump

    After creating the new database, use the USE DATABASE_NAME command as described above.

    mysql -h SERVER_ADDRESS -u USER -p
    USE DATABASE_NAME
    CREATE DATABASE DATABASE_NAME
    SOURCE PATH_TO_FILE

    Useful links and items

    feature, while the second stage is performed as a standard file-level backup.

    Xopero ONE creates a full database copy using the RMAN tool. It does not interfere with other copies performed by RMAN, but the backup created by Xopero ONE will be visible in RMAN.


    The Oracle database environment must operate in ARCHIVELOG mode. For instructions on how to change the database mode, refer to this article.


    1

    Log in to XMS, go to the Backup tab (Plans > Backup) and click the + Add plan button in the top toolbar.

    2

    Select Devices from the platforms list.

    3

    In the next aside, select Files & folders option and choose one or more devices for the plan to apply to (you can also select the plan to include all activated devices).

    4

    Define the name of the backup plan.

    5

    Configure your backup plan according to your needs (more information about the backup plan setup can be found in ).

    6

    Go to the Advanced settings section and click Edit to customize additional options.

    7

    Scroll down to the Backup scripts section and click the Pre-task script toggle to turn it on.

    8

    Select the script dedicated to backing up the Oracle database environment.

    9

    Set up the script arguments — it should be entered in the Script arguments field as follows:

    1. ORACLE_SID — the database identifier.

    2. dbuser — the name of the user with backup privileges (for example,

    10

    You can enable the two additional options using the checkboxes:

    1. Wait for the script to continue the task — the application will wait until the dump is ready.

    2. Fail the task if the script fails — if the script fails, the system will notify you of the backup error.

    11

    Double-check your settings and click Save to close the Advanced settings aside.

    12

    After completing the configuration, click the Save button. The protection plan will then automatically begin protecting your devices and databases according to the schedule you defined.


    1. Add a new user (for example, dbuser) to the Linux operating system by executing the following command:

    1. Add the user to the dba group, which has permission to perform backups:

    1. Finally, configure the system environment variables by following the instructions in this article.

    In Xopero ONE, you can back up a variety of databases, including MySQL, Microsoft SQL, PostgreSQL, and Oracle.

    General information

    sudo useradd dbuser
    sudo usermod -a -G dba dbuser

    The backup reflects the database state at the moment the dump creation task finishes, as Xopero ONE attaches the archive logs to ensure data consistency.

    Requirements and limitations

    Xopero ONE supports Oracle database environments starting from version 19c.

    Xopero ONE supports Oracle database backup only on supported Linux operating systems.

    Backup configuration

    If a file-level backup plan has already been created and is running, you can skip directly to step 6.

    Creating a user to back up Oracle

    Oracle tools may require additional permissions, such as access to the file system — in that case, you may need to add the user to other groups depending on your system configuration.

    backup scripts
    using the
    backup scripts
    feature. The second step is a standard
    file-level
    or
    image-level
    backup executed directly by
    Xopero ONE
    .

    1

    Log in to XMS, go to the Backup tab (Plans > Backup) and click the + Add plan button in the top toolbar.

    2

    Select Devices from the platforms list.

    3

    In the next aside, select one of the available options and choose one or more devices for the plan to apply to (you can also select the plan to include all activated devices).

    4

    Define the name of the backup plan.

    5

    Configure your backup plan according to your needs (more information about the backup plan setup can be found in and articles).

    6

    Go to the Advanced settings section and click Edit to customize additional options.

    7

    Scroll down to the Backup scripts section and click the Pre-task script toggle to turn it on.

    8

    Select the script dedicated to backing up the Microsoft SQL database environment (Windows).

    9

    Type your database username into the Database user field.

    10

    Choose the user password by opening the Password Manager, where you can either add a new password or select an existing one.

    11

    Set up the script arguments — it should be entered in the Script arguments field as follows:

    1. copy_type — defines the type of copy to be performed. You can choose one of three options: full_only, full_diff, or copy_only:

    12

    You can enable the two additional options using the checkboxes:

    1. Wait for the script to continue the task — the application will wait until the dump is ready.

    2. Fail the task if the script fails — if the script fails, the system will notify you of the backup error.

    13

    Double-check your settings and click Save to close the Advanced settings aside.

    14

    After completing the configuration, click the Save button. The protection plan will then automatically begin protecting your devices and databases according to the schedule you defined.

    15

    That’s all you need to do to create the database dump — this file should now be included in the Data to protect section if you are performing a file-level backup (to back up only the database). Alternatively, you can run an image-level backup to protect the entire drive.

    In Xopero ONE, you can back up a variety of databases, including Oracle, MySQL, PostgreSQL, and Microsoft SQL.

    General information

    Backup configuration

    If a file-level backup plan has already been created and is running, you can skip directly to step 6.

    --all C:\MySQLBackup\ "C:\Program Files\MySQL\MySQL Server 8.0\bin"
    database1 database2 C:\MySQLBackup\ "C:\Program Files\MySQL\MySQL Server 8.0\bin"

    When using the mysqldump utility on Linux, connections to the host named 'localhost' are established through a socket file. If you do not specify a port in the configuration, the tool will connect correctly even when using a non-standard port. However, if you connect via 127.0.0.1, specifying a non-standard port is required.

    Important! The mysqldump tool is part of the MySQL server and should be installed by default. If, for any reason, it is not available, you can download the MySQL Utilities package, which includes the mysqldump tool.

    Granular recovery

    This article explains how to restore data from an image-level backup.

    In Xopero ONE, there are three recovery options available for image-level backups, allowing you to choose the one that best suits your needs and preferences.


    Initiating the recovery process

    1

    Open the restore view in Xopero ONE Management Service using one of the following options:

    Option A

    1. Go to the Devices tab and click Restore next to the device whose data you want to recover. After selecting the device you want to restore, choose the plan containing the data you want to recover from the Backup plans drop-down menu.

    At the bottom of the aside, you can see which agent is being used to access the storage. To change the device, click Change. Ensure the selected device has access to the storage.

    1. Go to the Storages tab, select the storage containing the backup data, and click the folder 📂icon to browse the storage.

    1. Select the device whose data you want to restore. Then, choose the backup plan and review the information about the agent used to connect to the storage.

    2

    After selecting the appropriate device and backup plan, the system will display the Backup copies section — here, you can choose the backup version you want to restore. Click the desired date, then select Restore.

    3

    Choose one of the available granular recovery options to proceed (click one of the following links to continue):


    The iSCSI target option allows you to quickly create and share an iSCSI resource over the TCP/IP protocol. You can connect this resource to any device without restoring backup copies to another location. This method is useful for granular restoration and enables easy file copying through the file explorer.

    1

    Select all disks by clicking Restore all, or choose a specific disk and click Restore selected.

    2

    The iSCSI worker section allows you to select the device that will host the iSCSI target. To change the device, click the Edit button.


    1

    Press Win + R simultaneously to open the Run window. Type iscsicpl.exe and click OK (or press Enter) to launch the iSCSI Initiator.

    2

    In the Targets tab, enter the IP address of the network interface from the Xopero ONE iSCSI configuration in the Target field, then click Quick Connect.


    1

    Select the disk you want to restore and click Restore selected.

    2

    Next, choose the image format from the available options:

    Database 2 Day DBAdocs.oracle.com
    image-level backup type
    Logo
    database_user
    ). This must be a local
    Linux
    OS
    user with permissions to back up the
    Oracle
    environment. Instructions for creating this user are provided in the
    section of this article.
  • temp_directory — the directory where the Oracle tool will temporarily write backup files. After the backup tasks are complete, these files will be deleted. This directory must also be included in the Data to protect section when creating a file-level backup plan.

  • You can also click Save&Run button to immediately start the backup process, regardless of schedule.

    this article
    Creating a user to back up Oracle

    full_only — always performs a full copy.

  • full_diff — performs differential copies with periodic full copies.

  • copy_only — creates a full database copy without affecting the regular backup cycle.

    1. server_name — the name of the Microsoft SQL server along with its instance.

    2. output_dir — the directory where database dumps will be saved. This directory must also be selected as the location to back up.

    3. database1 database2 (...) — names of databases to be backed up, separated by spaces. You can leave this parameter empty — if no database is specified, Xopero ONE will automatically back up all databases from the server specified in the database access parameters.

    It is strongly recommended to create a dedicated user specifically for database backup operations.

    The user entered in the Database user field must use SQL Server authentication.

    You can also click Save&Run button to immediately start the backup process, regardless of schedule.

    File-level backup
    Image-level backup

    If your operating system runs other backup software or schedulers that perform additional database dumps, use full_only dumps. Using other types (full_diff or copy_only) may cause issues when other processes on the system also create database dumps.

    Full copies are executed according to the defined schedule. Differential copies are performed whenever differential or incremental backups are scheduled. If a file containing a differential copy is deleted, the next differential copy will be created based on the most recent full copy.

    ORACLE_SID;dbuser;temp_directory
    copy_type server_name "output_dir" database1 database2 ... databaseN
    Example database script arguments
    full_diff WINSRV-2019\SQLEXPRESS "C:\MsSQLDumps" database1 database2
    3

    Next, in the iSCSI settings, select the network interface—preferably the same one shown in the iSCSI worker section—and choose the port. You can either accept the default values or specify different ones.

    4

    Accept the default iSCSI target name or enter a different one. Click Run iSCSI to start the iSCSI service.

    5

    If the restoration was configured correctly, its details will appear in the Current tasks list in the Tasks tab.

    3

    The iSCSI Initiator will search for available iSCSI targets and add them to the Discovered Targets list. Click Done to close the window.

    4

    If the setup is successful, the target’s status will change to Connected.

    5

    Press Win + R simultaneously to open the Run window. Type compmgmt.msc and click OK (or press Enter) to launch the Computer Management and go to the Disk Management section.

    6

    Locate the new disk on the list, then right-click it and select Online to initialize the disk.

    7

    After a moment the disk should be available and ready to use.

    RAW
  • VHD

  • VHDX

  • VMDK

  • 3

    Select the device where you want to restore the data—to change it, click the Edit button.

    4

    Specify the exact path for restoring the data in the Restore directory section.

    Keep in mind that the restored image will occupy the same space size as the original disk.

    5

    In Restore settings, there are three checkboxes with additional options you can use:

    1. Overwrite existing data — choose whether to overwrite existing files in the restore directory.

    2. Restore file permissions — restore the original permissions of the files.

    3. Reduce bandwidth — limit network usage during the restore process.

    6

    Double-check your configuration and click Start now button to start the recovery process.

    7

    If the restoration was configured correctly, its details will appear in the Current tasks list in the Tasks tab.

    Option B

    iSCSI target

    In case of a failure, the iSCSI resource can also be connected as a virtual machine disk.

    If you want to modify the data to be restored, click the Edit button to return to the selection window.

    Mounting iSCSI target (Windows)

    File image

    If you want to modify the data to be restored, click the Edit button to return to the selection window.

    iSCSI target
    File image

    Bare-metal recovery

    Restore the entire system from an image-level backup copy.

    Bare-metal recovery (BMR) restores your entire system from an image-level backup, including the operating system, applications, and all associated data.


    General information

    BMR (bare-metal restore, also known as bare-metal recovery) enables rapid system recovery using a system image created with disk-imaging software. The image file restores the entire operating system and its underlying configurations in minutes, completely bypassing the lengthy process of manual OS and application re-installation. Because BMR allows you to quickly return a physical machine or server to its full operational state following a data-loss event or hardware failure, it serves as a cornerstone of an effective disaster recovery strategy.

    Initiating a bare-metal recovery will completely erase all existing partitions and data on the target system disk. The process deletes the current disk structure, recreates the original partition layout from the backup, and then restores the operating system and files onto the machine.

    In Xopero ONE, the BMR process is streamlined into four primary steps:

    1. Create an ISO file that includes the pre-configured Xopero ONE backup agent.

    2. Write the ISO file to a USB flash drive—or any alternative bootable media—to create a recovery drive.

    3. Boot the target device (the device you intend to restore the system image to) using the newly created ISO media.

    4. Log in to the Xopero ONE Management Service (XMS) and start the recovery process.


    The following steps outline the process of creating an ISO image with a pre-configured backup agent using the SVS Creator utility.

    1

    utility from the official Xopero website and extract the contents of the ZIP archive to a separate folder.

    2

    Run SVSCreator.exe to open the creation wizard.

    3


    The following steps outline the process of booting the target device using the previously created recovery drive.

    1

    Boot the target device using the newly created recovery medium to initialize the image-level backup restoration process.

    2

    After the device boots, the SVS application will automatically launch and display the following menu options:


    The following steps describe the recovery process in Xopero ONE Management Service.

    1

    Click the 💻 laptop icon in the top-right corner of the management service panel.

    2

    Find the target device, select it, and click Activate to assign a license to it.

    3


    MySQL :: Download MySQL Utilities (Archived Versions)downloads.mysql.com
    Logo
    In the SVS Creator wizard window, specify the temporary working directory path, which also serves as the output destination where the final ISO image will be created. By default, this path is set to C:\Windows\Temp, but you can modify it to a different directory if needed. Once the path matches your preferences, click Next.
    4

    Select the appropriate OS architecture (32-bit or 64-bit), then click Next.

    If the Windows ADK is not detected on the system, clicking Next will automatically launch the ADK installation wizard. Once the ADK installation is complete, you will be automatically returned to the SVS Creator window to resume the configuration.

    5

    The wizard will then automatically download and install the required components.

    6

    Once all required components are successfully installed, you have the option to include specific drivers required for the target system's recovery. Click Add to browse and select the necessary drivers, then click Next to proceed.

    This step is optional — you only need to include drivers if your target device utilizes specialized components (such as dedicated RAID controllers or specific network interface cards) that require custom drivers to initialize during boot. Otherwise, you can safely skip this step.

    7

    The wizard will then start generating the final Windows PE-based ISO recovery image.

    8

    Once the ISO file is successfully created, an "ISO image with Windows PE successfully built" confirmation message will appear, displaying the exact output directory path of the file. You can then safely close the SVS Creator utility.

    9

    Next, write the ISO image to a USB flash drive—or another bootable medium that fits your environment—to create a recovery drive. Use this bootable medium to boot the target device and initiate the image-level backup restoration.

    To create the bootable media, you can use a third-party utility, such as .

    Xopero: opens the Xopero window with additional recovery options.
  • Shell: opens the command-line interface, which can be used for manual network interface configuration.

  • Reboot: restarts the device.

  • Shutdown: shuts down the device.

  • 3

    To recover the image-level backup, click the Xopero button.

    4

    A new menu screen will appear with the following options:

    1. Device app: launches the Xopero ONE backup agent application on the device.

    2. Fix boot problems: resolves issues that prevent the operating system from starting; use this option to fix SVS-related problems.

    3. Drivers: allows you to load or add new drivers.

    5

    Select Device app to proceed with the recovery process.

    6

    Enter the service address and the device name to use in Xopero ONE Management Service, then click Connect.

    Example of the service address in the on-premises deployment model.
    Example of the service address in the SaaS deployment model.
    7

    On another device, open the Xopero ONE Management Service panel and start the recovery procedure.

    Next, locate the device from which you want to restore the system and click the Restore button.
    4

    Select the backup plan from which you want to restore the backup.

    5

    Choose the timestamp from which you want to restore the data, click Restore, and select the BMR recovery option from the drop-down menu.

    6

    Next, select the disk you want to restore and click Restore selected.

    7

    Verify that the Restore to field correctly displays your intended target device (the machine configured in the previous steps). If you need to modify this destination, click Edit and select the appropriate device. Next, navigate to the Restore directory section and specify the exact destination disk where the image-level backup copy should be restored.

    8

    Optionally, in the Restore settings section, select the checkbox to reset the system drivers, or leave it unchecked to keep the original driver configuration.

    9

    Double-check that the restoration data is correct, then click the Start now button in the bottom-right corner of the Restore data aside to begin the recovery process.

    You can monitor the restoration progress in the Tasks tab of Xopero ONE Management Service.

    Creating an ISO file (Windows)

    SVS Creator relies on the Windows Assessment and Deployment Kit (ADK) to generate recovery images. Please verify that Windows ADK is installed on your machine before starting the configuration wizard — if it's not, you must download and install it before proceeding with the media creation process.

    Booting the OS from the ISO file

    To launch the SVS recovery environment from a USB flash drive, configure the target device's BIOS/UEFI settings to prioritize USB-HDD in the boot sequence.

    Starting the recovery process

    Once the target device successfully establishes a connection, it automatically appears in the Agents without licenses list.

    You do not need to select a license manually — Xopero ONE assigns it automatically.

    Useful links and items

    Download the SVS Creator

    Please note that the SVS Creator will automatically download three required components during this process: Windows PE, the Java Runtime Environment (JRE), and the Xopero ONE backup agent.

    Rufus
    BMR Recovery details
    MySQL :: Download MySQL Utilities (Archived Versions)dev.mysql.com
    Logo
    Rufus - Create bootable USB drives the easy wayRufus
    Logo
    Latest updates and beta versions - Xoperoxopero.com
    Logo
    Download and install the Windows ADKMicrosoftLearn
    Logo