-
Notifications
You must be signed in to change notification settings - Fork 594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Old Backup Files Not Deleting #6675
Comments
whats the output of |
I had manually deleted all files prior to 10/1/2024 so there currently are only 103 files in the directory. I've attached a screenshot with the most recent since they all won't fit in the screenshot. |
thats not right 😆 will look into it for you! |
BTW, we just migrated from nedb to sqlite today, so prior to today all the backups were using nedb |
@dmccracken-livewire erm? im not sure then? as its working perfectly fine here? |
yes we just upgraded from 1.1.19 to 1.1.37 yesterday (Issue ## #6671) |
@dmccracken-livewire oh right yes sorry i remember! |
I was thinking the same thing. I'll give it a shot and let you know early next week. |
I just took a look at my two MeshCentral servers and am seeing this same thing. I have KeepLastDaysBackup set to 15 but am seeing backup zip files from months ago. I'm running under Windows Server 2022 and another on Server 2025. Both using MongoDB. I always stay on the current version (usually update within a day or two of version release) so no idea when this would have started. I know it's been like this for a long time as I go in and manually delete old backup files whenever I am doing server maintenance. Definitely been like this for at least the last 6 months- almost certainly longer than that. |
@PathfinderNetworks yes i believe the might of been a long standing bug with the local backups for quite a while! |
I'm on 1.1.37 and installed that the same day Ylian made it available. Still seeing this behavior- now, granted, it's not been 15 days. That being said, I had upgraded to both 1.1.34 and 1.1.35 the same day those were released as well. I think that's been more than 15 days? |
im wondering if its a windows bug maybe?
|
Is there any type of logging that i might be able to enable to help find where the issue is? |
the is no logs, the only log u have is running we should really add some sort of logs in somewhere maybe also it doesnt tell you IF it cleaned up files for local backups which ive only just spotted! |
I can look into this, already saw a bug with custom names and can add some info output. Same as webdav, files seen/deleted/error. |
I just noticed that backup files from the past few years still exist in the folder where the daily backups are being saved (c:\temp).
Permissions appear to be ok (Full Control), particularly given that the files are being written there.
I searched everywhere I could on-line but didn't see any open/closed cases.
Suggestions?
Here are the config settings for backup:
"autoBackup": {
"backupIntervalHours": 24,
"keepLastDaysBackup": 15,
"zippassword": "xxxx",
"backupPath": "c:\temp"
}
The text was updated successfully, but these errors were encountered: