We create a webgisdr backup every day. So I want to turn off the datastore-backup-schudule.
This can easily be done with the tools in the Datastore Scripts-folder:
updatebackupretaindays 0
updatebackupschedule --store relational --frequency 0
Even though I have set the retain backup setting to 0 days, one backups always remains. There is no tool to delete a scheduled backup.
This is a bit annoying because now I have a 55 Gb backup that will never be used, because in a few weeks it is a very outdated backup.
I can just delete the backup folder in: C:\arcgisdatastore\backup\relational\dbbackup
Now the tool listbackups doesn't show the scheduled backup-folder anymore.
Does anyone know if I am overlooking something and if it could become a problem that I just deleted this backup folder? Is there a better way to get rid of the scheduled backup?
Thank you for your help!
Solved! Go to Solution.
I wouldn't delete the whole backup directory in case this causes issues down the line with upgrade and WebGISDr. It would be safer to try deleting the last backup manually
Running listbackup.bat should correlate with the backups in C:\arcgisdatastore\backup\relational\dbbackup
├───.data_store
├───db_0o8q7-20260331235959595
├───db_0o8q7-20260404235959856
└───db_0o8q7-20260409000000144
If you manually delete the db_* folders in this directory (.data_store folder should be left untouched), it should achieve what you want although you may get warnings about no recent backup found etc.
There's a command to disable the automatic backups here:
Since listbackups doesn't show your directory anymore, you may struggle to use deletebackup
I did use the commands to disable the automatic backup. That works fine.
But once automatic backup has run once, you have a backup. It is not possible to delete that backup with the deletebackup-tool. You can only delete manual backups with that tool. You can't delete backups that were created in a schedule.
So I want to delete the scheduled backup. I think I can just delete the directory, but I am not sure about this. That is why I started this post: can I just delete the backup-directory, since there is no tool to do this? Or will this cause an issue?
I wouldn't delete the whole backup directory in case this causes issues down the line with upgrade and WebGISDr. It would be safer to try deleting the last backup manually
Running listbackup.bat should correlate with the backups in C:\arcgisdatastore\backup\relational\dbbackup
├───.data_store
├───db_0o8q7-20260331235959595
├───db_0o8q7-20260404235959856
└───db_0o8q7-20260409000000144
If you manually delete the db_* folders in this directory (.data_store folder should be left untouched), it should achieve what you want although you may get warnings about no recent backup found etc.
Thank you. I had one db_* folder en moved it to a different location. I will delete it later if there are no problems.