This is the development version for the new mwstake.org/wiki.
UseCase "Backup your wiki"
Jump to navigation
Jump to search
Back up your wiki's data and functionality
|
In this context What links here? |
Overview
(For other ways to back up your wiki see https://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki.)
Initialize restic repository
Step 1: Set .env according to https://restic.readthedocs.io/en/stable/030_preparing_a_new_repo.html#
AZURE_ACCOUNT_NAME= AZURE_ACCOUNT_KEY= AZURE_CONTAINER= AZURE_CONTAINER_PATH=/
Step 2:
sudo docker run \ --rm -i --env-file $CANASTA_ROOT/.env \ restic/restic \ -r azure:mwstakeorg:/ \ init created restic repository 0ee38bb44a at azure:mwstakeorg:/
Notes
See https://github.com/dataspects/mediawiki-cli/tree/canasta.