[Skip-CI] Add ToDo
This commit is contained in:
parent
c0f2e71b06
commit
a1f24d9dfe
1 changed files with 2 additions and 3 deletions
|
@ -12,13 +12,12 @@ function main() {
|
|||
file_env POSTGRES_USER
|
||||
|
||||
# Restore latest snapshot into /var/backups/restore
|
||||
rm -rf /var/backups/restore
|
||||
restore-directory '/var/backups/restore'
|
||||
|
||||
rm -rf /var/backups/gitea/*
|
||||
rm -rf /var/backups/git/repositories/*
|
||||
cp -r /var/backups/restore/gitea /var/backups/
|
||||
cp -r /var/backups/restore/git/repositories /var/backups/git/
|
||||
cp -r /var/backups/restore/gitea /var/backups/ #ToDo: mv instead of cp or rm -rf after
|
||||
cp -r /var/backups/restore/git/repositories /var/backups/git/ #ToDo: mv instead of cp or rm -rf after
|
||||
|
||||
# adjust file permissions for the git user
|
||||
chown -R 1000:1000 /var/backups
|
||||
|
|
Loading…
Reference in a new issue