Hi all,
Apologies in advance if this has already been answered elsewhere. I wasn't able to find the answer to my problem in related threads.
I have recently changed the FTP server where my Virtualmin Backups are saved to a new server and upon doing so I've found that while the backups are saved correctly, Virtualmin isn't able to delete/purge the old backups which are greater than 14 days old. I was not having this issue on my old FTP server. See example error log below.
Deleting backups from /Seagate-Expansion-01/Storage/khetrapal/Backups/%Y%m%d on FTP server *** older than 14 days ..
Deleting FTP file /Seagate-Expansion-01/Storage/khetrapal/Backups/20190517, which is 16 days old ..
.. FTP deletion failed : RMD /Seagate-Expansion-01/Storage/khetrapal/Backups/20190517 failed : /Seagate-Expansion-01/Storage/khetrapal/Backups/20190517: Directory not empty.
Deleting FTP file /Seagate-Expansion-01/Storage/khetrapal/Backups/20190518, which is 15 days old ..
.. FTP deletion failed : RMD /Seagate-Expansion-01/Storage/khetrapal/Backups/20190518 failed : /Seagate-Expansion-01/Storage/khetrapal/Backups/20190518: Directory not empty.
Deleting FTP file /Seagate-Expansion-01/Storage/khetrapal/Backups/20190519, which is 14 days old ..
.. FTP deletion failed : RMD /Seagate-Expansion-01/Storage/khetrapal/Backups/20190519 failed : /Seagate-Expansion-01/Storage/khetrapal/Backups/20190519: Directory not empty.
I have ensured the directories are CHMOD'd correctly at 755. The FTP user is authorized for both read and write permissions. I am able to delete the directories myself easily by logging into the server using FileZilla and deleting them manually.
Any ideas on what might be causing this? I am using Virtualmin 6.06-2 and Webmin 1.900.
Thanks in advance!
Bump