Backup
    • PDF

    Backup

    • PDF

    Article Summary

    Available in Classic and VPC

    You can migrate data using NAVER Cloud Platform's Backup.

    Note

    You can use it in Classic and VPC without restrictions on zones. However, migration is only possible within the Korea Region.

    Data migration using Backup

    To migrate data between servers using Backup, conduct the following steps in order:

    Create resources and install the agent

    You must first create a resource to use the backup service.
    This is a process of selecting a server for backup and creating it as a backup resource. The following describes how to create a resource.

    1. Click the environment you are using in the Region menu and Platform menu of NAVER Cloud Platform console.

    2. Click the Services > Storage > Backup menus, in that order.

    3. Click the Backup > Resource menus, in that order.

    4. If you don't have any resources, click the [Create resource] button.

    5. Consent to the Terms and Conditions of collection and use of personal information, and then click the [OK] button.

    6. Enter the resource name.

      • Enter between 3-30 characters in a combination of English lowercase letters, numbers, and hyphens.
    7. Select a zone.

    8. Select the server for backup.

      • Select the backup server from VM and BM.
    9. Set the host name.

      Note
      • If using the Windows server, the backup agent is normally installed only when the name is the same as the host name. If you don't enter anything, the same name as the server is entered.
      • If using the Windows server, you need to set the WMI Port. See Fix WMI Port to set it.
    10. Select the agent type for installation.

      • You can select between Data and DB, or both.
      • Data: performs backup for all data areas except the OS area
      • DB: performs backup for the DB area installed on the VM (supported DB: MSSQL, MySQL, and PostgreSQL)
        • If the server is a Linux OS, mssql agent cannot be installed
    11. Enter the ID and password.

      • It's a one-off login information for accessing the resource server while installing the agent. The one-off login information is not saved.
      • ID: enter 256 characters or less by combining English characters, numbers, hyphens, and underscores.
        • Account requirements for the use of DB agent
          • SSQL Server User: must belong to the administrators group and have sysadmin permissions (Windows authentication method)
          • MySQL Server User: NT/ Linux users with OS admin permissions and users with SA permissions
          • PostgreSQL Server User: postgres users with admin permissions
      • If using Linux
        • You must install the agent with the root account.
        • If the root account is unavailable, you configure the following for the account for installing the backup agent. After installation of the backup agent is completed, delete the granted root permissions.
          Account to be used for agent installation: test01 
          [root@backup-linux01 ~]# vi /etc/sudoers 
          ## Allow root to run any commands anywhere 
          root    ALL=(ALL)       ALL 
          test01  ALL=NOPASSWD:   ALL
          
      • If using Windows
        • You must use the administrator account.
        • If you cannot use the administrator account, you must grant the administrator permissions to the account to be used for installation of the agent. After installation of the backup agent is completed, delete the granted administrator permissions.
    12. Click the [Next] button.

    13. After the final check of information for creating the resource, click the [Create resource] button.

      • If you've installed a DB-type agent, click the [Add DB instance] button after creating the resource to enter DB information additionally.
    Note

    For more information on resource and agent management, see Manage resources and agents.

    Create storage and storage policy

    Create a storage for backup data and set policies to apply to it.

    Storage

    Storage is a storage space where backup data is stored. The following describes how to use backup storage.

    Create storage

    You may create only 1 storage per account. To create storage, do the following:

    1. Click the environment you are using in the Region menu and Platform menu of NAVER Cloud Platform console.
    2. Click the Services > Storage > Backup menus, in that order.
    3. Click the Backup > Storage menus, in that order.
    4. Click the [Create storage] button.
    5. Set the storage information to be created, and then click the [Next] button.
      • Storage name: lowercase letters, numbers, and hyphens are allowed. Enter strings starting with an English letter between 3-30 characters
      • Zone: select between KR-1 and KR-2
    6. After the final check of storage information, click the [Create] button to create the storage.

    Delete storage

    The following describes how to delete the created storage.

    1. Click the environment you are using in the Region menu and Platform menu of NAVER Cloud Platform console.
    2. Click the Services > Storage > Backup menus, in that order.
    3. Click the Backup > Storage menus, in that order.
    4. Click to select the storage to delete from the storage list, and click the [Delete] button.
    5. Confirm the information of the storage to be deleted, and then click the [Delete] button.
      • Delete any policy, job, schedule, or remote backup setup details remaining before deleting a storage.

    Policy

    For backup, you need to set a policy for the storage where the backup data is stored. The following describes how to set up a policy.

    Create policy

    1. Click the environment you are using in the Region menu and Platform menu of NAVER Cloud Platform console.
    2. Click the Services > Storage > Backup menus, in that order.
    3. Click the Backup > Storage menus, in that order.
    4. The list of storages created appears. Select the storage you want to delete, and then click the [Delete] button.
    5. Confirm the information of the storage to be deleted, and then click the [Delete] button.
      • Delete any policy, job, schedule, or remote backup setup details remaining before deleting a storage.
    6. Click the Backup > Policy menus, in that order.
    7. Click the [Create policy] button.
    8. After you configure the storage information to be created, click the [Next] button.
      • Policy name: lowercase letters, numbers, and hyphens are allowed. Enter strings starting with an English letter between 3-30 characters
      • Retention period: set at least twice as long as the data's backup cycle
        • The default value is 7 days, and you can set it up to a maximum of 365 days.
          • <example> At least 7 days of retention for daily backup, at least 14 days of retention for weekly backup, and at least 60 days of retention for monthly backup
      • Zone: select between KR-1 and KR-2
    9. Confirm the policy information and then click the [Create] button to create the policy.

    Check status

    You can check the policy status. The status information is as follows:

    • Created, Creating, Deleting

    Edit policy

    The following describes how to edit a policy.

    1. Click the environment you are using in the Region menu and Platform menu of NAVER Cloud Platform console.
    2. Click the Services > Storage > Backup menus, in that order.
    3. Click the Backup > Policy menus, in that order.
    4. Click to select the policy to edit from the policy list, and click the [Edit] button.
      • You can edit the retention period for the policy selected.
    5. Edit the retention period, and then click the [Edit] button.

    Delete policy

    The following describes how to delete a policy.

    1. Click the environment you are using in the Region menu and Platform menu of NAVER Cloud Platform console.
    2. Click the Services > Storage > Backup menus, in that order.
    3. Click the Backup > Policy menus, in that order.
    4. Click to select the policy to delete from the policy list, and click the [Delete] button.
      • Delete the selected policy. Delete any job, schedule, or remote backup setup details remaining before deleting a policy.

    Backup job and schedule

    Create a job to perform a backups, and then plan and manage the job schedule.

    Create job

    To create a backup job, do the following:

    1. Click the environment you are using in the Region menu and Platform menu of NAVER Cloud Platform console.
    2. Click the Services > Storage > Backup menus, in that order.
    3. Click the Backup > Job menus, in that order.
    4. Click the [Create job] button.
    5. Proceed with entering the job name, resource selection, backup target type selection, backup target path selection, and policy selection.
      • Job name: lowercase letters, numbers, and hyphens are allowed. Enter strings starting with an English letter between 3-30 characters
      • Resource: select from resources in the Backup > Resource menu
      • Backup target type: select 1 between Data and DB (MSSQL, MySQL, PostgreSQL)
        • If you select DB for the backup target type, select a DB instance additionally.
      • Backup target path
        • If the backup target type is Data, select in the File System.
        • If the backup target type is DB, enter as text.
      • Policy
    • If the backup target type is Data, select from the policy list.
    • If the backup target type is DB, it is the same as the policy of DB instance.
      • Connected storage: storage connected to the policy
    1. After the final check of job information, click the [Create] button.

    Job settings

    1. Click the environment you are using in the Region menu and Platform menu of NAVER Cloud Platform console.
    2. Click the Services > Storage > Backup menus, in that order.
    3. Click the Backup > Job menus, in that order.
    4. Click to select a job to be set and managed from the job list, and then click the [Set] button.
    5. Click the required menu from the [Job], [Schedule], and [Job History] tab menus to edit the job.
      • Job: you can edit the backup target path. (Other items can't be edited)
      • Schedule: you can create a new schedule or delete a previously set schedule.
      • Job History: you can see the history of jobs performed.
    6. Edit the job and click the [Save] button.

    Immediate backup

    The following describes how to immediately run a backup.

    1. Click the environment you are using in the Region menu and Platform menu of NAVER Cloud Platform console.
    2. Click the Services > Storage > Backup menus, in that order.
    3. Click the Backup > Job menus, in that order.
    4. Click to select a job to be backed up from the job list, and then click the [Immediate backup] button.
    5. After checking the job, policy, and connected storage, click the [Run] button to run immediate backup.
      • Immediate backup is performed in the full backup method.

    Delete job

    To delete a registered job, do the following:

    1. Click the environment you are using in the Region menu and Platform menu of NAVER Cloud Platform console.
    2. Click the Services > Storage > Backup menus, in that order.
    3. Click the Backup > Job menus, in that order.
    4. Select a job to be deleted, and then click the [Delete] button.
      • Delete the selected job. Delete any schedule, remote backup, or restore setup details before deleting the job.

    Schedule

    You have to plan and manage schedules for performing jobs for backup. For more information on how to use schedule, see Schedule.

    Restore backup version

    Restore the backup data to the desired location.

    Restore

    You can restore specific data at the desired time point to the resource you want using the restore feature. The following describes how to restore.

    Restrictions when restoring

    If you restore to another server using NAVER Cloud Platform's Backup, the restrictions are as follows:

    1. Common
      • Install a backup agent on a server to be restored
      • If the existing DB connection is maintained when restoring the DB, restoration is not performed
    2. File System
      • No further restrictions
    3. MSSQL
      • Identical OS type
      • Identical DB version
      • Identical Backup agent version
    4. MySQL
      • Identical OS type
      • Identical OS version
      • Identical DB version
      • Identical Backup agent version
      • Identical sa account and password
    5. PostgreSQL
      • Identical OS type
      • Identical OS version
      • Identical DB version
      • Identical Backup agent version

    Create restoration

    To create a backup data restoration task, do the following:

    1. Click the environment you are using in the Region menu and Platform menu of NAVER Cloud Platform console.
    2. Click the Services > Storage > Backup > Restore menus, in that order.
    3. Click the [Set Restoration] button.
    4. Set information on the data source to be restored.
      • Select a source resource, select a job, select source storage, select a restoration time point, and select a restoration target.
        • Source resource: if a resource does not exist or the previous history of performing backup does not exist, you cannot restore it
        • Job: if a job does not exist or the previous history of performing backup does not exist, you cannot restore it
        • Source storage: select the storage to get the backup source data from between local storage and vault storage
          • Local storage: storage set in the job
          • Vault storage: storage duplexed and stored separately from the storage set in the job
        • Restoration time point: select the latest backup time point or manual input (select a time point).
          • Latest backup time point: restore to the latest time point that has been backed up
          • Manual input: select from the existing time points that have been backed up and restore it
        • Restoration target
          • If the backup type is Data, select from the File System list
          • If the backup type is DB, select from the DB list
    5. Set information on the target resource to be restored.
      • Select the Region, platform, and zone to be restored.
      • Select the target resource (a resource server for the restoration target).
        • You must complete the resource registration and agent installation to be able to set a resource as a target resource.
        • For the Classic platform, you can restore with VPC servers.
        • For the VPC platform, you cannot restore with Classic servers.
      • When the backup type is DB, select a DB instance from the target DB instance list.
      • Select the restoration location.
        • When the backup type is Data, select from the File System list.
        • When the backup type is DB:
          • MSSQL: enter the location to be restored as text
          • MSQL, PostgreSQL: the restoration target set in the data source to be restored is automatically set to the restoration location
    6. After the final check of restoration setting information, click the [Begin restoration] button.
    7. After the restoration is completed, check the restoration data.
    Note

    You can view the restoration result through a report. For more information on the Report function, see Report.

    Fix WMI Port (required)

    When creating resources using Windows servers, you must set a fixed port for WMI. The following describes how to configure the settings.

    1. Execute the cmd window with the administrator permissions.

    2. Start the Windows Management Instrumentation service in auto-run mode.

      # winmgmt -standalonehost
      
    3. Restart after the Windows Management Instrumentation service stops.

      # net stop Windows Management Instrumentation
      # net start Windows Management Instrumentation
      
    4. Set the 24158 port open for the Windows firewall outbound rule.

      # netsh firewall add portopening TCP 24158 WMIFixedPort
      

      resource_agent_1


    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.