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:
- Go to your Control Panel > Admin > Settings menu.
- Click the Configuration icon.
- Click the Backups/Templates tab.
- Move the Store Extended Attributes and Store ACLs sliders to the left to disable the options.
- 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:
- Access the info_hub.yml file.
Locate the following section in the info_hub.yml file:
ssh_recipe:
tar_options:
- '--xattrs'
- '--xattrs-include=*'
CODE
Delete the following lines from the section:
- '--xattrs'
- '--xattrs-include=*'
CODE
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.