Update other-database-backends.md
We also should stop the `huey-*` consumer services.
This commit is contained in:
@@ -21,7 +21,7 @@ existing database data with:
|
|||||||
# Stop services
|
# Stop services
|
||||||
$ docker exec -t tubesync \
|
$ docker exec -t tubesync \
|
||||||
bash -c 'for svc in \
|
bash -c 'for svc in \
|
||||||
/run/service/{gunicorn,tubesync*-worker} ; \
|
/run/service/{gunicorn,huey-*,tubesync*-worker} ; \
|
||||||
do \
|
do \
|
||||||
/command/s6-svc -wd -D "${svc}" ; \
|
/command/s6-svc -wd -D "${svc}" ; \
|
||||||
done'
|
done'
|
||||||
@@ -52,7 +52,7 @@ After you have changed your database backend over, then use:
|
|||||||
# Stop services
|
# Stop services
|
||||||
$ docker exec -t tubesync \
|
$ docker exec -t tubesync \
|
||||||
bash -c 'for svc in \
|
bash -c 'for svc in \
|
||||||
/run/service/{gunicorn,tubesync*-worker} ; \
|
/run/service/{gunicorn,huey-*,tubesync*-worker} ; \
|
||||||
do \
|
do \
|
||||||
/command/s6-svc -wd -D "${svc}" ; \
|
/command/s6-svc -wd -D "${svc}" ; \
|
||||||
done'
|
done'
|
||||||
@@ -67,7 +67,7 @@ Or, if you only have the copy in `/tmp/`, then you would use:
|
|||||||
# Stop services
|
# Stop services
|
||||||
$ docker exec -t tubesync \
|
$ docker exec -t tubesync \
|
||||||
bash -c 'for svc in \
|
bash -c 'for svc in \
|
||||||
/run/service/{gunicorn,tubesync*-worker} ; \
|
/run/service/{gunicorn,huey-*,tubesync*-worker} ; \
|
||||||
do \
|
do \
|
||||||
/command/s6-svc -wd -D "${svc}" ; \
|
/command/s6-svc -wd -D "${svc}" ; \
|
||||||
done'
|
done'
|
||||||
@@ -80,11 +80,11 @@ $ xzcat /tmp/tubesync-database-backup.jsonl.xz | \
|
|||||||
|
|
||||||
As detailed in the Django documentation:
|
As detailed in the Django documentation:
|
||||||
|
|
||||||
https://docs.djangoproject.com/en/5.1/ref/django-admin/#dumpdata
|
* https://docs.djangoproject.com/en/5.2/ref/django-admin/#dumpdata
|
||||||
|
|
||||||
and:
|
and:
|
||||||
|
|
||||||
https://docs.djangoproject.com/en/5.1/ref/django-admin/#loaddata
|
* https://docs.djangoproject.com/en/5.2/ref/django-admin/#loaddata
|
||||||
|
|
||||||
Further instructions are beyond the scope of TubeSync documenation and you should refer
|
Further instructions are beyond the scope of TubeSync documenation and you should refer
|
||||||
to Django documentation for more details.
|
to Django documentation for more details.
|
||||||
|
|||||||
Reference in New Issue
Block a user