# Restore Server Data

You can restore a server backup file stored on a network file share. Three file-sharing protocols are supported:

- Samba (SMB)/Common Internet File System (CIFS)
- Secure File Transfer Protocol (SFTP)
- HTTPS to Amazon Web Services Simple Storage Service (that is, AWS S3)

Note: You must not restore the database backup file created from the following systems and vice-versa.

- MiVoice Business System Administration Tool (all platforms)
- Server Manager (other platforms)

## Before you begin

Ensure that you have placed the backup file (in.tgzformat) in an accessible AWS S3 storage bucket or in a folder on a network file share that supports SFTP, SMB/CIFS.

## To restore the server database backup file

1. Under Administration, click Restore.
2. The Restore from Network page is displayed.
3. From the Restore Source Type drop-down list, select the type of network restore.
   - If you select SMB/CIFS, then specify the following details.
     Note:

     To enhance system security, MSL 12 removes support for the legacy SMB1 (CIFS) protocol. SMB1 is an outdated and insecure protocol with known vulnerabilities. Customers should ensure that their systems use SMB2 or later for secure file sharing and network communication.

     Field | Description
     --- | ---
     IP Address | IP address of the network file server where you have stored the database backup files.
     Username | User name to use when connecting to the network file server.
     Password | Password to use when connecting to the network file server.
     Domain or Workgroup Name | Domain or workgroup name. Sets the SMB domain of the user name. If the domain specified is the same as the server's NetBIOS name, then instead of the domain SAM the server's local Security Account Manager (SAM ) is used for authentication.
     Sharename | The file-share name. The restore utility will try to connect to the server/shared folder as an SMB/CIFS resource. The shared folder must have permissions set to "Full Control".
     (Optional) Sub Directory | Name of the sub-folder where you have stored the database backup file. The sub-directory is relative to the share.

   - If you select SFTP, then specify the following details.

     Field | Description
     --- | ---
     IP Address | IP address of the network file server where you have stored the database backup files.
     Username | User name to use when connecting to the network file server.
     Password | Password to use when connecting to the network file server.
     (Optional) Sub Directory | Name of the sub-folder where you have stored the database backup file. The sub-directory is relative to the root of the file system accessed through the SFTP protocol.

   - If you select AWSS3, then specify the following details.

     Field | Description
     --- | ---
     AWS Access Key ID | To enable programmatic calls to AWS you must provide your AWS access key credential set that consists of the Key ID and secret Access Key. Enter your access key ID here.
     AWS Access Key | The secret access key portion of your AWS access key credential set.
     AWS S3 Region | The AWS region used to access your storage bucket. Stored objects (backup files) will be read from this region.
     AWS S3 Bucket Name | Your storage bucket name.
     (Optional) Sub Directory | The sub-directory (also known as an object prefix) will be searched for matching backup file names.
     (Optional) IAM Role ARN | The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role with access to the configured storage bucket. Example: arn:aws:iam::827611302152:role/Backup.

     Note: AWS requires that all incoming requests are cryptographically signed. The "signature" includes a date/time stamp. Therefore, you must ensure that your PC's date and time are correctly set. If you do not do this, AWS rejects the request if the date/time in the signature is too far off of the date/time recognized by the AWS service. The PC displays 403-forbidden error status if the date/time is more than 15 minutes off the correct time.
4. Click Next.
5. The system validates and lists all the database backup files available in the specified location on the network in the Select backup file drop-down list.
6. In the Select backup file drop-down list, select the database backup file you want to restore.
7. If the database backup file was encrypted when creating the backup, then enter the password in the Encryption Password field.
8. Click Next. A confirmation message is displayed.
9. Click Yes to restore the database. The system reboots and restores the database upon restart.

Note: The Restore from Network page displays only the last restore status of the server.
Parent topic: Administration
↑