Commit f62bdf51 authored by James Clark's avatar James Clark

add ref section for daemon info

parent 3d9a9362
Pipeline #96430 passed with stages
in 1 minute and 25 seconds
......@@ -8,7 +8,7 @@ RUN curl -o lscsoft-production-config-1.3-1.el7.noarch.rpm http://software.ligo.
rpm -ivh http://repo.opensciencegrid.org/osg/3.4/osg-3.4-el7-release-latest.rpm && \
rm lscsoft-production-config-1.3-1.el7.noarch.rpm
RUN yum install -y epel-release.noarch \
RUN yum install -y epel-release.noarch && \
yum upgrade -y
RUN yum install -y \
......
......@@ -58,6 +58,14 @@ User Guide
users/data-replication
users/data-removal
Reference
=========
.. toctree::
:maxdepth: 2
daemons/daemons
Further Reading
===============
......
......@@ -87,3 +87,22 @@ Log into the rucio server pod and run::
INFO [alembic.runtime.migration] Context impl MySQLImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
Database Backups & Kubernetes
=============================
To manually backup postgresql databases, use the `pg_dump` or `pg_dumpall`
commands with the `kubectl exec` ::
DUMP
// pod-name name of the postgres pod
// postgres-user database user that is able to access the database
// database-name name of the database
kubectl exec [pod-name] -- bash -c "pg_dump -U [postgres-user] [database-name]" > database.sql
RESTORE
// pod-name name of the postgres pod
// postgres-user database user that is able to access the database
// database-name name of the database
cat database.sql | kubectl exec -i [pod-name] -- psql -U [postgres-user] -d [database-name]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment