Remove unused pg-role functions

This commit is contained in:
Clemens Geibel 2022-09-16 16:44:14 +02:00
parent 4dda50ec69
commit 5ff22f425a
3 changed files with 1 additions and 4 deletions

View file

@ -8,7 +8,6 @@ function main() {
file_env RESTIC_DAYS_TO_KEEP 30 file_env RESTIC_DAYS_TO_KEEP 30
file_env RESTIC_MONTHS_TO_KEEP 12 file_env RESTIC_MONTHS_TO_KEEP 12
#backup-roles 'TODO'
backup-db-dump backup-db-dump
backup-fs-from-directory '/var/backups/' 'gitea/' 'git/repositories/' backup-fs-from-directory '/var/backups/' 'gitea/' 'git/repositories/'
} }

View file

@ -4,7 +4,6 @@ function main() {
file_env AWS_ACCESS_KEY_ID file_env AWS_ACCESS_KEY_ID
file_env AWS_SECRET_ACCESS_KEY file_env AWS_SECRET_ACCESS_KEY
#init-role-repo
init-database-repo init-database-repo
init-file-repo init-file-repo
} }

View file

@ -23,12 +23,11 @@ function main() {
# adjust file permissions for the git user # adjust file permissions for the git user
chown -R 1000:1000 /var/backups chown -R 1000:1000 /var/backups
# TODO: Regenerate Git Hooks # TODO: Regenerate Git Hooks? Do we need this?
#/usr/local/bin/gitea -c '/data/gitea/conf/app.ini' admin regenerate hooks #/usr/local/bin/gitea -c '/data/gitea/conf/app.ini' admin regenerate hooks
# Restore db # Restore db
drop-create-db drop-create-db
#restore-roles
restore-db restore-db
} }