I backup quite a large number of files and I’ve noticed that my repository database gets quite large (16GB at present).
If I manually shrink the database it typically drops to about 50% of its original size.
A couple of questions regarding this:
- Why am I seeing this kind of size bloat?
- Is there a way to automatically shrink the database?
I see there is a possible way to do this via the ‘cbb’ command line tool:
cbb repository -shrink
- Could I create a scheduled task to run this automatically on a weekly basis at a time backups are unlikely to be running?
- Are there any caveats to running this?
- If this ran during a backup would bad things happen?