TL;DR
Backuping Moodle1 server to external location requires some gymnastics and the setup is not straight forward. There are plugins that can backup using FTP2, but I didnât explore them.
What I wanted to accomplish was 1. firstly, moving course backups out of Moodleâs strange file structure and 2. backuping them to external server (Koofr via rclone). Simply put:
Moodle filearea â> /var/backups ârcloneâ> Koofr
Courses backup is the second backup strategy Iâm using. The first one is a daily backup of a virtual server from a proxmox host to NAS via NFS.
1. Set Moodleâs automated backup location (same server)
Firstly, I had to convince Moodle to store backups of courses in my folder.
Moodle -> Site Admin / Courses / Backup / Automated backup setup
Automated backup storage setting is set to Course backup filearea by default. Moodleâs filearea is accessible (in /moodledata/), but the naming of folders and files is ⊠unfriendly to put it mildly and I canât make any of it. Take a look:
I wanted to change it to âCourse backup filearea and the specified directoryâ. But I couldnât, because my Moodle install does not allow manually setting paths from admin UI (itâs a security setting). I didnât want to circumvent it ($CFG->preventexecpath = true; in config.php).
So I had to set the backup path in Moodleâs config.php. Firstly, I couldnât find how to set it, then I found it in one forum post3.
But firstly, I created a directory where I want my backups and allowed that user www-data (apache server) can write to it:
mkdir /var/moodlebackups
chown www-data:www-data /var/moodlebackups
chmod 750 /var/moodlebackupsThen I modified Moodleâs config.php and added the location4:
$CFG->forced_plugin_settings['backup']['backup_auto_destination'] = '/var/moodlebackups';Went back to Moodleâs admin UI, refreshed and I could see the backup location:
Finally I could set Automated backup storage to Course backup filearea and the specified directory.
2. Backup to remote location using rclone and Koofr5
Now that I convinced Moodle to spit out backups of courses to the location I wanted, I proceeded with:
1. Install and configure rclone (a program to copy/sync files to variety of cloud services)
apt install rclone
rclone config
To configure rclone, I just followed these instructions.
2. I made a new folder in my Koofr for Moodle backups and tested the connection:
List Koofr dirs:
rclone lsd koofr:Backups/Moodle
Test copying from local folder to Koofr:
rclone copy /var/moodlebackups/ koofr:Backups/Moodle --progressI used ârclone copyâ instead of âsyncâ, because I want copies: if something happens to backups on Moodle server (e. g. get corrupted, compromised or deleted), I donât wont this to propagate to backup on Koofr.
3. Lastly, I created a cron job that runs rclone every morning at 6AM6 and writes to a log about it:
crontab -e
0 6 * * * /usr/bin/rclone copy /var/moodlebackups koofr:/Backups/Moodle --log-file=/var/log/rclone_backup.log --verboseIn the morning I checked the Koofrâs Backup folder and ⊠voila, backups are there.
Now I have another piece of mind in case anything goes wrong.
@Frisk Hmm, well, I can compile a small list of issues with #Koofr that I see:
To be fair the bigger problems I see with it are related to input (accessibility), contrast (accessibility) and navigation (accessibility), so it's mostly just accessibility problems rather than missing features :P
De flesta förvarar eller sÀkerhetskopierar sÀkerligen sina bilder pÄ iCloud, Google Photos eller Microsoft Onedrive. En del kanske anvÀnder Flickr eller nÄn annan sajt. Samtliga de nÀmnda sajterna Àgs av US-amerikanska företag och alla förutom Flickr Àgs av ett av de 5 stora IT-företagen.
https://blog.zaramis.se/2026/01/28/byt-sajt-for-dina-bilder-under-2026/
.TL;DR
I fell for a strange pattern of techy computer users to describe / brag about reducing their dependance of IT services owned by US-based tech giants and other companies that embraced enshittification principles.
I didnât invented nothing new, I just made some small steps towards better control of my data and IT equipment.
IT usage is very political imho. With the recent imperialistic developments and sharp drop in human rights in US, I feel uneasy about using their platforms (Microsoft, Google, social media). This is one of the reasons Iâm trying to move away from them and towards FOSS & non-enshittified companies. The other reason is curiosity for exploring new things.
But even selecting FOSS/sustainable IT alternatives is not trivial. They usually lack polished UI, and ⊠ugh, ⊠sometimes there is quite some drama associated with them (e. g. main developer adopts techbro mentality).
OS
As I wrote extensively, I transitioned from Windows to Linux Mint as a daily driver in March 2025.
Itâs pretty boring â Mint works, it didnât crash beyond repair (yet), I donât think about it anymore.
Now is Dec. and I still havenât booted to Windows partition. Itâs time to delete it and dedicate space for something else.
Browser
Firefox, but looking for alternatives. Mozilla is not my favourite company anymore because of their efforts to stick genAI into the browser and dismissing the community. Yes, I still wear their t-shirt from 2004 and probably will until it disintegrates.
Office
I cancelled to M356 subscriptions for my company and left only 1 license for special cases (spreadsheets with macros for reporting to EU and similar).
Firstly I used OpenOffice in 2003-2006 when I wrote my dissertation and MsWord started to crash after 100 pages. At that time, OpenOffice saved a lot of time, because it handled formulas and references really well. Then I stopped using it until last year. Now itâs my daily driver (Libre Office) again alongside Google Docs (yeah, I know).
I made a promise that all documents that I send out to other people will be in .odt format. In last several months I received in total 0 complaints. Even people with MSOffice can open it and probably they donât even notice the change of the format.
I especially like (not so well known): Libre Draw for editing PDFs, Libre Write for creating ePUBs.
I also installed NextCloud and itâs NextCloud Office on my selfhosted Yuno, but I havenât used it much yet. It looks promising, but more complex in comparison with Google Docs.
I bought Tuta subscription and connected it with my domain. Iâm using Linux desktop app, mobile app alongside Gmail.
I havenât transitioned from GMail yet. I gave my new email address only to some specific people and Iâm trying to keep it away from various online subsctiptions. I still use GMail, where all the junk goes.
Probably I will keep using GMail as a throw away email account and Tuta for things I care about â such as communication with state institutions, health institutions, friends.
Iâm still trying to get used to Tuta UI.
I could even recreate my workflow from GMail to Tuta: Starred emails. In GMail, I star emails that need my further attention. In Tuta, I use labels for the same purpose. I created a new label âtodoâ which I can apply to the email. It needs some more clicks than starring emails in GMail, which is not optimal, but itâs good enough.
Calendar
I still donât know how to transfer my calendar from Google Calendar to something else, e. g. Tuta Calendar. I use Google Calendar with 10+ calendars, intervowen with my familyâs calendars. Will try to figure it out in 2026.
Cloud storage
This one is the most difficult one.
But I started to ween off Google Drive, which I use from its beginnings. Until now I havenât found a good replacement, especially for Google Docs.
Lately I bought a lifetime Koofr subscription for 1 TB. Iâm using it as a (3rd) backup for all of my familyâs photos and videos. It backups my NAS via WebDAV and my desktop via rclone. I also sync my media from the phone to Koofr. Maybe Iâll even use it instead Google Photos. Will see â but at the first glance it doesnât miss much â maybe albums and search by photo description.
Koofr looks promising and most importantly, itâs based in EU.
https://blog.rozman.info/2025-my-steps-towards-digital-sovereignty/ #digitalSovereignty #FOSS #koofr #libreoffice #yearReviewI went with Koofr, in case anyone's looking to do the same. Generally a good experience, with helpful support. Slightly odd approach, and no file history, just un-delete, but I'm mostly using it as a destination file store for Kopia backups, so it's not a deal breaker for me.