180
edições
Sem resumo de edição |
|||
Linha 33: | Linha 33: | ||
php maintenance/dumpBackup.php --full | gzip > ~/dumpContent.xml.gz | php maintenance/dumpBackup.php --full | gzip > ~/dumpContent.xml.gz | ||
</pre> | |||
== Restauro == | |||
<pre> | |||
cd /tmp | cd /tmp | ||
unzip ~/Mediafiles.zip | unzip ~/Mediafiles.zip | ||
php maintenance/importImages.php /tmp/workingBackupMediaFiles/ | |||
gunzip -c ~/dumpContent.xml.gz | gunzip -c ~/dumpContent.xml.gz | ||
| php maintenance/importDump.php \ | | php maintenance/importDump.php \ | ||
--image-base-path=/tmp/workingBackupMediaFiles | --image-base-path=/tmp/workingBackupMediaFiles | ||
rm -r /tmp/workingBackupMediaFiles | rm -r /tmp/workingBackupMediaFiles | ||
Linha 47: | Linha 53: | ||
php maintenance/rebuildall.php | php maintenance/rebuildall.php | ||
</pre> | </pre> | ||
[[Categoria:Suporte]] | [[Categoria:Suporte]] |