Backup failed too many levels of symbolic links


Active Member
Mar 4, 2018
cPanel Access Level
Root Administrator
Today I want to check the backup file
But I found the date not right
than I check the backup log
Cpanel::Exception::IO::StatError/(XID sd9emd) The system failed to obtain filesystem information about “/bkup/nfs//.meta” because of an error: Too many levels of symbolic links
at /usr/local/cpanel/Cpanel/Exception/ line 336.
Cpanel::Exception::create("IO::StatError", ARRAY(0x361a2c8)) called at /usr/local/cpanel/Cpanel/Autodie/More/ line 51
Cpanel::Autodie::More::Lite::exists("/bkup/nfs//.meta") called at /usr/local/cpanel/Cpanel/ line 37
Cpanel::Mkdir::ensure_directory_existence_and_mode("/bkup/nfs//.meta", 457) called at /usr/local/cpanel/Cpanel/Backup/MetadataDB/ line 48
Cpanel::Backup::MetadataDB::Tiny::base_path() called at /usr/local/cpanel/Cpanel/Backup/ line 64
Cpanel::Backup::MetadataDB::base_path() called at /usr/local/cpanel/Cpanel/Backup/ line 1401
Cpanel::Backup::Metadata::get_all_users() called at /usr/local/cpanel/Cpanel/Backup/ line 1109
Cpanel::Backup::Metadata::prune_backup("/bkup/nfs/2018-07-18") called at /usr/local/cpanel/bin/backup line 370
bin::backup::run("bin::backup") called at /usr/local/cpanel/bin/backup line 119
[2018-07-18 02:00:03 +0800] info [backup] Final state is Backup::Failure (0)
[2018-07-18 02:00:03 +0800] info [backup] Sent Backup::Failure notification.
look like the problem is "Too many levels of symbolic links"
Can I ask how to fix this problem ?


Staff member
Apr 11, 2011
Hello @webdsn,

It looks like you are using a NFS mount to store your backups. Keep in mind that cPanel does not officially support NFS. Here's a link to the NFS entry on the Backup Configuration FAQ document:

Backup Configuration FAQ - Version 72 Documentation - cPanel Documentation

As far as a workaround, you could try disabling the use of metadata files for backups by running the following command as "root":

whmapi1 backup_config_set disable_metadata=yes
Note when metadata creation is disabled , the following actions occur:
  • WHM disables the File and Directory Restoration interface (Home >> WHM >> Backup >> File and Directory Restoration). The interface will display a warning that indicates the setting that disabled it.
  • cPanel hides the File and Directory Restoration interface (Home >> cPanel >> Files >> File and Directory Restoration) from the cPanel Home interface.
Thank you.