Skip to content

Commit

Permalink
cachedir.tag preset added
Browse files Browse the repository at this point in the history
  • Loading branch information
shivansh02 committed Jun 24, 2024
1 parent 9c68f30 commit 898dea1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/vorta/assets/UI/excludedialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@
</item>
</layout>
</widget>

</widget>
</item>
<item>
Expand Down
2 changes: 1 addition & 1 deletion src/vorta/store/migrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def run_migrations(current_schema, db_connection):
migrator.add_column_default(
BackupProfileModel._meta.table_name,
'exclude_if_present',
pw.TextField(default="[] .nobackup\n[] .vortaignore"),
pw.TextField(default="[] .nobackup\n[] CACHEDIR.TAG"),
),
)

Expand Down
2 changes: 1 addition & 1 deletion src/vorta/store/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class BackupProfileModel(BaseModel):
ssh_key = pw.CharField(default=None, null=True)
compression = pw.CharField(default='lz4')
exclude_patterns = pw.TextField(null=True)
exclude_if_present = pw.TextField(null=True, default="[] .nobackup\n[] .vortaignore")
exclude_if_present = pw.TextField(null=True, default="[] .nobackup\n[] CACHEDIR.TAG")
schedule_mode = pw.CharField(default='off')
schedule_interval_count = pw.IntegerField(default=3)
schedule_interval_unit = pw.CharField(default='hours')
Expand Down

0 comments on commit 898dea1

Please sign in to comment.