Select Page

Caught Error Cpanel::Exception::Backup::CorruptedBackupData : Ran some backups manually and stumbled into this error while checking the logs to see if the backups work fine (always check your logs, boys)

Caught Error Cpanel::Exception::Backup::CorruptedBackupData

The system was unable to interpret backup data. Error: “Can’t call method “quote” on an undefined value at /usr/local/cpanel/Cpanel/Backup/Metadata.pm line 1704.
”.
at /usr/local/cpanel/Cpanel/Backup/Metadata.pm line 926.
Cpanel::Backup::Metadata::__ANON__(__CPANEL_HIDDEN__…) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/Try/Tiny.pm line 121
Try::Tiny::try(CODE(0x22e56c0), Try::Tiny::Catch=REF(0x22a6998)) called at /usr/local/cpanel/Cpanel/Backup/Metadata.pm line 928

As it seems, this happens if you are running your backup volumes on a CIFS mount that is missing the “,user_xattr” parameter.

So what you need to do, is readjust your /etc/fstab as follows:

old:

//user.your-storagebox.de/backup /mnt/backups cifs iocharset=utf8,rw,credentials=/etc/backup-credentials.txt,uid=root,gid=root,file_mode=0660,dir_mode=0770 0 0

new:

//user.your-storagebox.de/backup /mnt/backups cifs iocharset=utf8,rw,credentials=/etc/backup-credentials.txt,uid=root,gid=root,file_mode=0660,dir_mode=0770,user_xattr 0 0

Then run “mount -o remount /mnt/backups” and in order to test is everything is working fine, do a “lsattr /mnt/backups” which should output the attributes of the mount. If it errors out, it means the mount doesn’t support extended attributes.

That should take care of things,

Cheers!

Pin It on Pinterest