backup.sh: legg til 5 nye backup-mål
This commit is contained in:
41
backup.sh
41
backup.sh
@@ -201,6 +201,47 @@ tom_excludes=(
|
||||
"/var/cache/"
|
||||
)
|
||||
|
||||
# gitea (kommode)
|
||||
hosts+=("gitea")
|
||||
gitea_includes=(
|
||||
"/"
|
||||
)
|
||||
host_ssh_hostname["gitea"]="gitea-backup"
|
||||
|
||||
# mediawiki (bekkalokk)
|
||||
hosts+=("mediawiki")
|
||||
mediawiki_includes=(
|
||||
"/"
|
||||
)
|
||||
host_ssh_hostname["mediawiki"]="mediawiki-backup"
|
||||
|
||||
# matrix media store (bicep)
|
||||
hosts+=("matrix_media_store")
|
||||
matrix_media_store_includes=(
|
||||
"/"
|
||||
)
|
||||
matrix_media_store_excludes=(
|
||||
"/local_thumbnails"
|
||||
"/remote_thumbnail"
|
||||
"/url_cache"
|
||||
"/url_cache_thumbnails"
|
||||
)
|
||||
host_ssh_hostname["matrix_media_store"]="matrix-media-store-backup"
|
||||
|
||||
# mysql (bicep)
|
||||
hosts+=("mysql")
|
||||
mysql_includes=(
|
||||
"/mysql-dump-latest.sql.zst"
|
||||
)
|
||||
host_ssh_hostname["mysql"]="mysql-backup"
|
||||
|
||||
# postgresql (bicep)
|
||||
hosts+=("postgresql")
|
||||
postgresql_includes=(
|
||||
"/postgresql-dump-latest.sql.zst"
|
||||
)
|
||||
host_ssh_hostname["postgresql"]="postgresql-backup"
|
||||
|
||||
|
||||
# === Sjekk at alle backup-kataloger har tilhørende datasett, og at datasettene er montert. ===
|
||||
|
||||
|
||||
Reference in New Issue
Block a user