# \[SOLVED\] How to store mediawiki data on external ssd

**URL:** https://discuss.freedombox.org/t/solved-how-to-store-mediawiki-data-on-external-ssd/4015
**Category:** Support
**Created:** [November 26, 2025, 1:12pm UTC](https://discuss.freedombox.org/t/solved-how-to-store-mediawiki-data-on-external-ssd/4015 "2025-11-26T13:12:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![finlay](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/f/58956e/32.png) [@finlay](https://discuss.freedombox.org/u/finlay)
#### Post date: [November 26, 2025, 1:12pm UTC](https://discuss.freedombox.org/t/solved-how-to-store-mediawiki-data-on-external-ssd/4015/1 "2025-11-26T13:12:34Z")

</div>

Hi, I have a pioneer edition fb running mediawiki. I installed the mediawiki app via plinth and that’s great but I noticed everything is being stored on the inbuilt storage and not on my ssd connected by sata (its all mounted and everything).

Everything is being stored in /var/lib/ (both media wiki folder and the mediawiki-db folder).

I would prefer to save everything in a folder mounted to my ssd which is /media

1. is it possible to do this? i.e. can the app access this location?
2. if so how?

Thanks!

---

<div class="post-metadata">

### Author: ![Sunil](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/sunil/32/8_2.png) [@Sunil](https://discuss.freedombox.org/u/Sunil)
#### Post date: [November 28, 2025, 4:45pm UTC](https://discuss.freedombox.org/t/solved-how-to-store-mediawiki-data-on-external-ssd/4015/2 "2025-11-28T16:45:36Z")

</div>

@finlay Ability to store and use data on an external disk is coming in a few months.

Currently, you will need to set this up manually. I haven’t tried this myself but please try the following:

- Move the directory /var/lib/mediawiki to external drive. The file system on the external drive’s partition must support proper unix ownership and permission. So, use a filesystem like btrfs, ext4, xfs, etc. While copying ensure that permissions and ownership are preserved.
- Link /var/lib/mediawiki to the new path of the folder.
- Test everything include backups.

---

<div class="post-metadata">

### Author: ![finlay](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/f/58956e/32.png) [@finlay](https://discuss.freedombox.org/u/finlay)
#### Post date: [November 29, 2025, 9:32pm UTC](https://discuss.freedombox.org/t/solved-how-to-store-mediawiki-data-on-external-ssd/4015/3 "2025-11-29T21:32:07Z")

</div>

Thanks, I got it to work now - the main thing was getting the mounts and symlink right but i’ve tested it and it’s all working nicely. Thanks for the help.

---

<div class="post-metadata">

### Author: ![Sunil](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/sunil/32/8_2.png) [@Sunil](https://discuss.freedombox.org/u/Sunil)
#### Post date: [November 29, 2025, 11:11pm UTC](https://discuss.freedombox.org/t/solved-how-to-store-mediawiki-data-on-external-ssd/4015/4 "2025-11-29T23:11:31Z")

</div>

Thank you for confirming, that helps me and others as well.
