Mobile app version of vmapp.org
Login or Join
YK1175434

: Error when pruning WHM backups sent offsite via FTP We're using WHM 64.0 on a CloudLinux 6.9 dedicated host. We have a scheduled backup configured that backs up each hosted cPanel, as well

@YK1175434

Posted in: #Backups #Centos #Ftp #Whm

We're using WHM 64.0 on a CloudLinux 6.9 dedicated host.

We have a scheduled backup configured that backs up each hosted cPanel, as well as the system files.

The backup also FTP's the backup files to an external host after backup. It should prune old backups from the external FTP host. However, we're receiving an error during the prune process. The FTP server is a Windows 2012 Server machine.


Preview of transport errors log: Unable to prune transport “nas-whm”
The system cannot remove outdated backups because it cannot read the
contents of the directory: /2017-05-11


If we try to validate the FTP destination, we receive the following error:


Error: Validation for transport “nas-whm” failed: Could not list files
in destination: “Cpanel::Transport::Files::_perms_str2oct” was given
an invalid permissions string: 05-11-17

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @YK1175434

1 Comments

Sorted by latest first Latest Oldest Best

 

@Bryan171

The FTP server is a Windows Server 2012 machine. It was configured to use ms-dos style directory listings for FTP. ms-dos FTP listing are not compatible with the external backup transport in WHM.

To set the global FTP directory output style to UNIX


In IIS Manager, right-click the FTP Sites folder, and then click Properties.
Click the Home Directory tab.
Under Directory listing style, click UNIX.
Click Apply, and then click OK.

www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/5be80513-0b69-46fa-80b2-fc753f878a4b.mspx?mfr=true

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme