The dump is currently broken. If you have the skills to help out, please let us know.

The latest dump of Appropedia - the text of all pages on the site, in one big XML file - is found here or you can check the filesize and date[1] in the folder.

The dump gives you the newest revision of each page, not the entire history.

New dumps are made weekly on Saturday night, at midnight.

The dump can be used:

Making the dump[edit | edit source]

For the reference of Appropedia tech people, making the dump involves these steps (to be filled in): The following runs by cron each Saturday:

cd /home/apropos/appropedia.org/approbackups
/usr/local/php5/bin/php ../maintenance/dumpBackup.php --current | gzip > currentdump.xml.gz

Media files[edit | edit source]

We don't currently have a way to publicly share our backups of media files, but we'd like figure out how, and do it - possibly as an HTML dump. It's on our list of things-to-do. Help is welcome.

Notes[edit | edit source]

  1. The date of the latest dump could also be put in the filename, which would be handy... but we're not quite sure how to do this. If you like this idea, and know exactly how to do it, please leave a note on the talk page - thanks!

Discussion[View | Edit]

Script to include date in the dump file filename[edit source]

The date of the latest dump could also be put in the filename, which would be handy... but we're not quite sure how to do this. If you like this idea, and know exactly how to do it, please leave a note on the talk page - thanks!

Going by the script posted in the page, the following modification would do the trick on a POSIX-compilant system:

cd /home/apropos/appropedia.org/approbackups
/usr/local/php5/bin/php ../maintenance/dumpBackup.php --current | gzip > appropedia-$(date +%F)-dump.xml.gz

Note the added date command. It should produce filenames like this:

appropedia-2012-03-20-dump.xml.gz

Also note that I'm using the ISO date format. Among other things, it have the benefit that a computer could sort them using simple alphabetical ordering. (That could be useful if someone plans to store more than one version of the dump.)

--Dragonfi 14:17, 20 March 2012 (PDT)

Thank you! I've added it to our tech workstream. When we have a volunteer or intern to work on tech things (hopefully soon!) we'll look at getting this implemented. --Chriswaterguy 05:16, 21 March 2012 (PDT)

proposition to share backups of media files[edit source]

May be that could be a big compressed tar file that could be shared on another server ? maybe rsync could be used to transfer media files to the other server so that there won't be too much bandwidth used on the main server ? -- Pierro78 (talk) 01:36, 16 November 2016 (PST)

no data in dump file[edit source]

As of 14 August 2017, the last two (and maybe more) dump files have been completely empty - a 0 byte XML file inside of a 20 byte gzip archive. Can somebody look into this? STILL BROKEN as of 2017-11-16

We (appropedia) would love assistance on this. Thanks! --Lonny (talk) 15:02, 18 November 2017 (PST)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.