4
3
I have run this same backup command on previous versions of MediaWiki (on Centos 6.4) and it has worked successfully but now when running this command on MediaWiki 1.20.4 -
[root@wiki images]# php /var/www/html/wiki/maintenance/dumpUploads.php --base=$(pwd) | xargs -I foo cp 'foo' . -v
I get the following errors -
cp: cannot stat `mwstore://local-backend/local-public/0/07/Xvidcap-test.swf':
No such file or directory
I can see this is because the location does not exist but how can I get around this?
ugh, that can go wrong in quite many ways. Why don't you just
tar cf images.tar /var/www/html/wiki/images/
? – Nemo – 2015-05-03T12:34:10.260Would there be the possibility to download the images manually? What is the mwstore? If I run a locate for the image it is not found but it is in the wiki. The defulat location for images is /var/www/html/wiki/images and there is a similar file structure [root@wiki images]# ls 0 1 2 3 4 5 6 7 8 9 a archive b c d e f lockdir README thumb – Josh – 2013-04-26T12:44:52.423
Ok so my work around is this - find /var/www/html/wiki/images/ -type f -exec cp '{}' ./ ; – Josh – 2013-04-29T08:27:49.657