Remove unused pg-role functions
This commit is contained in:
parent
4dda50ec69
commit
5ff22f425a
3 changed files with 1 additions and 4 deletions
|
@ -8,7 +8,6 @@ function main() {
|
|||
file_env RESTIC_DAYS_TO_KEEP 30
|
||||
file_env RESTIC_MONTHS_TO_KEEP 12
|
||||
|
||||
#backup-roles 'TODO'
|
||||
backup-db-dump
|
||||
backup-fs-from-directory '/var/backups/' 'gitea/' 'git/repositories/'
|
||||
}
|
||||
|
|
|
@ -4,7 +4,6 @@ function main() {
|
|||
file_env AWS_ACCESS_KEY_ID
|
||||
file_env AWS_SECRET_ACCESS_KEY
|
||||
|
||||
#init-role-repo
|
||||
init-database-repo
|
||||
init-file-repo
|
||||
}
|
||||
|
|
|
@ -23,12 +23,11 @@ function main() {
|
|||
# adjust file permissions for the git user
|
||||
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
|
||||
|
||||
# Restore db
|
||||
drop-create-db
|
||||
#restore-roles
|
||||
restore-db
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue