We have been using confluence for a long time (since 2018). Initially, the size of the backups was about 400 MB. But at the moment on July 22, 2021, the backup size is more than 2 GB.
There are a lot of pages and sections, and manually deleting attachments is a very long and inconvenient process.
Please tell me if it is possible to automatically delete all old versions of attachments / pages. Or are there other options to make the backup size smaller?
I would start checking your logs and backup directories to see anything to delete there before deleting confluence data. If not careful, the backups will contain the previous backups. What ends up happening, you may end up with a bunch of backups of backups.
There's also the option of just backing up your DB and the rest of the filesystem directories and exclude the attachment directory. Then sync your attachment directory to another location so that if the attachments are gone...you can always copy them back from the other server.
Hope this helps
am I getting it correctly your concern is mainly about the size of the database (or better database dump)?
Which database are you using (MySQL / PostgreSQL / ...)?
Some databases tend to now release space (even if content is deleted) - called sometimes 'bloat'.
Especially seen on MySQL when they say dumping the database and restoring it back could fix this specific architectural circumstace.
If you meant to include file system to your question I would question first where the biggest amounts of data reside. Attachments? Logs? Temporary data of any kind?
In case you could give more information surely Community members are able to go more into detail.
Hello Community! Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events