Este commit está contenido en:
Your Name
2020-07-03 11:49:11 +00:00
padre 48621bb2ed
commit 52d607ee8e
Se han modificado 547 ficheros con 37750 adiciones y 36525 borrados

Ver fichero

@@ -1,27 +1,29 @@
#!/bin/bash
tar -Jcpf backups/backup-dbs-$(date +%d%m%Y).tar.xz \
/opt/docker/kanban/data \
/opt/docker/gitea/data \
/opt/docker/gitea/db \
/opt/docker/pleroma/data \
/opt/docker/crossposter/redis \
/opt/docker/crossposter/data \
/opt/docker/mumble/data \
#/opt/docker/mastodon/redis \
#/opt/docker/mastodon/data \
#/opt/docker/mastodon/elastic/nodes \
/opt/docker/peertube/redis \
/opt/docker/peertube/data \
/opt/docker/familyark/mongodb \
/opt/docker/etherpad/mysql \
/opt/docker/gnusocial/mariadb \
/opt/docker/wordpress/mysql \
/opt/docker/haraka-wildduck/mongodb \
/opt/docker/haraka-wildduck/redis \
/opt/docker/privatebin/data \
/opt/docker/rocket/redis \
/opt/docker/rocket/mongo \
/opt/docker/wp_multisite/db_data \
/opt/docker/bigbluebutton/db \
/opt/docker/elk/elastic \
/opt/docker/elk/file
RUTE=/opt/docker
tar -Jcpf $RUTE/backups/backup-dbs-$(date +%d%m%Y).tar.xz \
$RUTE/testing/kanban/data \
$RUTE/production/gitea/data \
$RUTE/production/gitea/db \
$RUTE/production/pleroma/data \
$RUTE/testing/crossposter/redis \
$RUTE/testing/crossposter/data \
$RUTE/production/mumble/data \
#$RUTE/production/mastodon/redis \
#$RUTE/production/mastodon/data \
#$RUTE/production/mastodon/elastic/nodes \
$RUTE/production/peertube/redis \
$RUTE/production/peertube/data \
$RUTE/production/familyark/mongodb \
$RUTE/production/etherpad/mysql \
#$RUTE/production/gnusocial/mariadb \
$RUTE/production/wordpress/mysql \
$RUTE/production/haraka-wildduck/mongodb \
$RUTE/production/haraka-wildduck/redis \
$RUTE/production/haraka-wildduck/attachments \
$RUTE/production/privatebin/data \
$RUTE/production/rocket/redis \
$RUTE/production/rocket/mongo \
$RUTE/production/wp_multisite/db_data \
$RUTE/testing/bigbluebutton/db \
$RUTE/production/elk/elastic \
$RUTE/production/elk/file