Issue


Incremental Backups

Rsync fails while taking and restoring an incremental backup on an XFS disk under the following conditions:

  • The /onapp/backups directory is shared via NFS.
  • There are extended attributes associated with the files and directories on the XFS disk.

Normal Backups

Tar fails while restoring a normal backup on an XFS disk under the following conditions:

  • The /onapp/backups directory is shared via NFS.
  • There are extended attributes associated with files and directories on the XFS disk.

Environment


OnApp 6.0


Resolution


Incremental Backups

To resolve the issue for incremental backups:

  1. Go to your Control Panel > Admin Settings menu.
  2. Click the Configuration icon.
  3. Click the Backups/Templates tab.
  4. Move the Store Extended Attributes and Store ACLs sliders to the left to disable the options.
  5. Click the Save Configuration button.

After saving the configuration, the Control Panel server restarts OnApp services.


Normal Backups

To resolve the issue for normal backups, follow the next procedure:

  1. Access the info_hub.yml file.
  2. Locate the following section in the info_hub.yml file:

    ssh_recipe:
    tar_options:
    - '--xattrs'
    - '--xattrs-include=*'
    CODE
  3. Delete the following lines from the section:

    - '--xattrs'
    - '--xattrs-include=*'
    CODE
  4. Restart OnApp services with the following command:

    # service onapp restart
    CODE

As a result, the extended attributes will not be stored on XFS disks with NFS shares while taking and restoring incremental and normal backups.

For more information, refer to Edit Backups/Templates Configuration and Manage Virtual Server Backups.