private function deleteDailyBackups()
    {
        try {
            $date = strtotime('-2 months');

            // leave first day of the month
            if ((int) date('j', $date) !== 1) {
                $this->filesystem->deleteDir(date("Y/m/d", $date));
            }
        } catch (\Exception $e) {
            $this->event->fire('MonasheeBackupError', 'Error trying to delete directory on AWS S3');
        }
    }