[fix] permissions
This commit is contained in:
parent
08eb65a342
commit
c4422f95ce
@ -9,7 +9,10 @@ from https://gist.github.com/sinbad/4bb771b916fa8facaf340af3fc49ee43
|
|||||||
`backup_gitea.sh` writes to `/mnt/drive/backups/gitea/`
|
`backup_gitea.sh` writes to `/mnt/drive/backups/gitea/`
|
||||||
|
|
||||||
### Restore
|
### Restore
|
||||||
|
* Requires `7z` (`apt install p7zip-full`)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
||||||
#restore_gitea_data.sh [--dry-run] <source_dir> <dest_dir> <sql_file_dest>
|
#restore_gitea_data.sh [--dry-run] <source_dir> <dest_dir> <sql_file_dest>
|
||||||
./restore_gitea_data.sh /srv/dev-disk-by-uuid-45e2e732-9e00-4a82-a7cc-9c743e033671/datastore/gitea data
|
./restore_gitea_data.sh /srv/dev-disk-by-uuid-45e2e732-9e00-4a82-a7cc-9c743e033671/datastore/gitea data
|
||||||
```
|
```
|
0
gitea/backup_gitea.sh
Normal file → Executable file
0
gitea/backup_gitea.sh
Normal file → Executable file
0
gitea/restore_gitea_container.sh
Normal file → Executable file
0
gitea/restore_gitea_container.sh
Normal file → Executable file
0
gitea/restore_gitea_data.sh
Normal file → Executable file
0
gitea/restore_gitea_data.sh
Normal file → Executable file
Loading…
Reference in New Issue
Block a user