Talk:Backups

Can you add a section/page about how a user can make their own backups?
 * A user can't currently make their own backup, but can ask a sysadmin at any time, and it should be done in less than 24 hours. Reception123 (talk) ( contribs  ) 17:29, 27 August 2016 (UTC)
 * Can those backups happen on a scheduled basis? RobertSter (talk) 14:15, 2 September 2016 (UTC)
 * As John, Southparkfan and NDKilla explained, they are done on a scheduled basis, but the costs would be considerably higher if they were done every day, so therefore that isn't possible for the moment. Reception123 (talk) ( contribs  ) 16:07, 2 September 2016 (UTC)
 * Do we have estimates for those costs?RobertSter (talk) 16:33, 2 September 2016 (UTC)
 * The estimates depend on the exact backups, but it can be 400-1800$ more a year (estimation by John). Reception123 (talk) ( contribs  ) 18:48, 2 September 2016 (UTC)

doing a backup on linux
Here is a quick script I wrote to make a backup in Linux:

DATE=`date +%Y-%m-%d-%H-%M-%S` mysqldump -u root -p$( ~/backups/bitnami_mediawiki$DATE.sql cp /opt/bitnami/apps/mediawiki/htdocs/LocalSettings.php ~/backups/LocalSettings.php cp ~/mw-backup.sh ~/backups/mw-back.sh ls -l ~/backups/
 * 1) !/bin/bash
 * 2) PWD=$(<pwd)

the file pwd in the home directory contains the password.

Rsterbal (talk) 06:07, 9 February 2017 (UTC)