Wikispooks talk:Site Backup
Jump to navigation
Jump to search
Site Backup discussion
Backup Size
I just checked and found the backup expanded from about 2.5GB to 5GB. How come? Have we really been submitted that much material? Or is the backup scrip not working as in should? Robin (talk) 05:04, 11 December 2013 (GMT)
IMPORTANT request to improve backups
How about GZipping the daily .sql dump? This should reduce it by about 2/3 - making for a much easier download. Robin (talk) 02:00, 5 January 2014 (GMT)
- Agreed. I too have been mulling backups. I think it would also be better to provide just the SQL dump and the /images directory structure. That would obviate the need to provide the entire suite of MW and its extensions and remove any risk associated with LocalSettings.php. We would need to adjust the instructions a bit so that info about which extensions were mandatory + current version info etc, but it would further reduce both backup size and content complexity. I'll have a look. We'll no doubt need to tweek your script. --Peter P (talk) 09:38, 5 January 2014 (GMT)
- I've tweeked your script and tested it -
backup.3-2.sh
- Seems to be OK. It does 2 backups (images directory
andws.sql
toFiles-date.zip
andsqldump-date.zip
) and copies both to-latest
and deletes old zips as before. The results of the test are in the backups directory now. Another reason to change to just the sql dump and the images directory is the complex set of exclusions which may need to change. We can easily add the MW script and extension files to a separate backup if necessary. I'll start on revising the instructions if you're happy with this. --Peter P (talk) 15:24, 5 January 2014 (GMT)
- I've tweeked your script and tested it -