fix restore
This commit is contained in:
parent
fbc3a660c3
commit
45b0268f1a
1 changed files with 2 additions and 2 deletions
|
@ -17,8 +17,8 @@ function main() {
|
||||||
|
|
||||||
rm -rf /var/backups/gitea/*
|
rm -rf /var/backups/gitea/*
|
||||||
rm -rf /var/backups/git/repositories/*
|
rm -rf /var/backups/git/repositories/*
|
||||||
cp -r /var/backups/restore/gitea/* /var/backups/gitea/
|
cp -r /var/backups/restore/gitea /var/backups/
|
||||||
cp -r /var/backups/restore/git/repositories/* /var/backups/git/repositories/
|
cp -r /var/backups/restore/git/repositories /var/backups/git/
|
||||||
|
|
||||||
# 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
|
||||||
|
|
Loading…
Reference in a new issue