From 9c5792b1e1b194de125899882261a064e76a9fc2 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 6 Jul 2020 17:42:46 +0200 Subject: [PATCH] docs: migrate TOTP and Static OTP devices --- docs/upgrading-from-0.8.x.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/upgrading-from-0.8.x.md b/docs/upgrading-from-0.8.x.md index d0728f8db..a2d249ade 100644 --- a/docs/upgrading-from-0.8.x.md +++ b/docs/upgrading-from-0.8.x.md @@ -6,13 +6,13 @@ To export data from your old instance, run this command: - docker-compose ``` -docker-compose exec server ./manage.py dumpdata -o /tmp/passbook_dump.json passbook_core.User passbook_core.Group passbook_crypto.CertificateKeyPair passbook_audit.Event +docker-compose exec server ./manage.py dumpdata -o /tmp/passbook_dump.json passbook_core.User passbook_core.Group passbook_crypto.CertificateKeyPair passbook_audit.Event otp_totp.totpdevice otp_static.staticdevice otp_static.statictoken docker cp passbook_server_1:/tmp/passbook_dump.json passbook_dump.json ``` - kubernetes ``` -kubectl exec -it passbook-web-... -- ./manage.py dumpdata -o /tmp/passbook_dump.json passbook_core.User passbook_core.Group passbook_crypto.CertificateKeyPair passbook_audit.Event +kubectl exec -it passbook-web-... -- ./manage.py dumpdata -o /tmp/passbook_dump.json passbook_core.User passbook_core.Group passbook_crypto.CertificateKeyPair passbook_audit.Event otp_totp.totpdevice otp_static.staticdevice otp_static.statictoken kubectl cp passbook-web-...:/tmp/passbook_dump.json passbook_dump.json ```