Community Wishlist Survey 2023/Enable non-interactive backups by wiki admins

Proposed by Rob Kam

Proposal summary: Provide wiki admins with a non-interactive method for backing up wikis

Full proposal: Special:DataDump is too interactive - having to click once each for XML, files and managewiki files, then having to wait for these to be ready and be manually downloaded through the browser. The wiki admin (or priveleged users) should be able to run a command from a batch file or shell script that fetches a backup of their wiki(s) XML and files. A bonus enhancement would for the admin to be able to download only the changes and merge them into the previous download.

Support

 * 1) {{Support}] As Agent Isai and Rob stated, the API module will be used for this. However, it's not currently in a very user-friendly state, to the best of my knowledge. Would support making it more accessible. Thanks - BrandonWM (talk • contributions • global • rights) 10:39, 1 January 2023 (UTC)

Discussion

 * 1) I fear this is beyond our technical reach at the moment. I would like to note that we do offer a DataDump API module so if any interested parties want to look into that, they certainly can. Otherwise, developing an entirely new shell script might not be feasible as we lack the manpower to create and maintain a brand new shell script. Agent Isai  Talk to me! 20:04, 16 December 2022 (UTC)
 * @Agent Isai How would one access this API? Dimpizzy (talk) 16:42, 31 December 2022 (UTC)
 * https://meta.miraheze.org/w/api.php?action=help&modules=generatedumps
 * I'd meant in the above that the client runs the shell script. Rob Kam (talk) 20:13, 16 December 2022 (UTC)