On Thu, Apr 17, 2025 at 3:14 PM Christian Schneider < christian.schnei...@tu-dortmund.de> wrote:
> Thank you for your instant reply! > > Mihai Moldovan wrote: > > > But I could find no information about the location where hyperkitty > stores the archives on an Ubuntu-/Linux-system. > > > I assume the archives are stored underneath "/var/..." this is only a > guess. > > > But is this guess right? > > > Not quite. > > To the best of my knowledge, by default, a venv installation is fully > contained > > under /opt/mailman, with archives and stuff stored at > /opt/mailman/var/lib/... > > This information is very helpful! > Actually I have about 45GB of archives and these archives only hold > messages of the last year... > I run a clean-up script every first day of a month which deletes posts > older than 365 days... > So there is lot of disk space needed... ;-) > (and even more if I plan to keep posts around for a longer time) > > > > Another question is: > > > How much space do I have to plan (roughly) for the "/opt"-partition > for the mailman install if the archives are stored under "/var/..."? > > > Depends on your archives, the way things are archived (you can choose > different > > database backends, and these might make a difference in how efficiently > or > > inefficiently data is stored) and whether you want to use the full-text > search > > index, which adds another big chunk of data. > > I can give you a few pointers regarding my setup: my mailman 2.1 data > directory > > takes up about 8.2 GB of disk space, most of which are archives, > naturally (8.1 > > GB). I've imported most of the big archives to mailman 3 already, with a > > full-text search index, and that uses 5.2 GB disk space currently, but > I'm still > > missing a few archives, so that'll still grow a bit. It will probably > end up at > > about the same size, but I can come back to that once my import is fully > done > > (which sadly will take a few days). > > Now, the 8.1 GB of mailman 2.1 archives are stored pretty inefficiently, > because > > they are essentially duplicated (as a private mbox archive and public > text > > archives). Mailman 3 doesn't do that - at least not directly - but > instead > > stores archives once into the database, and queries the database > whenever the > > archives are accessed via hyperkitty, so I would *assume* the size you > need for > > the mailman 3 data after a successful migration is just a bit shy of > what you > > needed for the mailman 2.1 data, maybe even a bit less. > > Perfect! :-) > If I mount an extra partition of 250Gigs at /opt this should carry me for > a longer time... > And - if I setup a logical volume with LVM - there is an option to stack > up the space with ease... ;-) > Does your DB backend also store the data files in /opt? I doubt it. The archives will be stored in the DB backend. So unless you use SQLite backend, the data will go where you configure your DB to store data- whether it's MariaDB or PostgreSQL. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html] _______________________________________________ Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-le...@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Archived at: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/BZEKPEVPCFGGSK4YZHIHG4CGQ4LIQJ2E/ This message sent to arch...@mail-archive.com