I have the CPanel backup system enabled on my various servers, configured to send (weekly) backups to an in-house SSH/SFTP server. This works for the most part, but for several years I've noticed that CPanel's backup system has a weird glitch where it will create empty folders in the backup destination, apparently with no rhyme or reason. Specifically, within the backup destination/folder, there is a "weekly" sub-folder, which in turn contains sub-folders for each week's backup, in other words/E.g.:
/backup/
/backup/weekly/
/backup/weekly/2019-07-21/
/backup/weekly/2019-07-21/accounts/
That part works as expected/intended. However, CPanel's backup is ALSO creating folders outside the /backup/weekly/ folder (in the /backup/ folder itself) that have the same names/dates as the weekly backup folders, and also contain "accounts" sub-folders... but they're completely empty, except for the ".master.meta" file.
I've checked in case I'd accidentally enabled monthly or daily backup as well, but verified that that isn't the case. Why is CPanel's backup creating the duplicate folders - or is there at least fix/workaround to prevent that?
/backup/
/backup/weekly/
/backup/weekly/2019-07-21/
/backup/weekly/2019-07-21/accounts/
That part works as expected/intended. However, CPanel's backup is ALSO creating folders outside the /backup/weekly/ folder (in the /backup/ folder itself) that have the same names/dates as the weekly backup folders, and also contain "accounts" sub-folders... but they're completely empty, except for the ".master.meta" file.
I've checked in case I'd accidentally enabled monthly or daily backup as well, but verified that that isn't the case. Why is CPanel's backup creating the duplicate folders - or is there at least fix/workaround to prevent that?