Skip to content

Commit f474cae

Browse files
Fix backup if LFS is disabled to bypass upstream error
- go-gitea/gitea#23730 - Explicitly skips LFS data, if you're not TEN7 and use this, be careful! - Also skips Index from backup, since this doesn't take long to regenerate.
1 parent 55512be commit f474cae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tasks/backup.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@
4343
command: >
4444
gitea dump
4545
--type {{ _backup_file_suffix }}
46-
--file /tmp/{{ _backup_file_prefix }}
46+
--custom-path /tmp/
47+
--file {{ _backup_file_prefix }}
48+
--skip-lfs-data
49+
--skip-index
4750
4851
- name: Generate the backup file name.
4952
set_fact:

0 commit comments

Comments
 (0)