File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,13 @@ default-command = "check"
3131[check.check]
3232schedule = "daily"
3333schedule-lock-wait = "4h"
34- 
34+ #
35+ # Check cache
36+ # `check` uses a separate local repo cache to detect problems. The default
37+ # is to create this cache below "/tmp/". While the daily check (without reading
38+ # actual data) uses less space cache-dir may require changing when on tmpfs
39+ cache-dir = "{{.TempDir}}/.restic-temp-check-cache"
40+ with-cache = true
3541
3642##
3743# Profile "verify" may be used to schedule deep repository checks
@@ -55,4 +61,11 @@ schedule-lock-wait = "48h"
5561read-data = true
5662# Read a subset of the repository for verification
5763#read-data-subset = "15%"
58- 
64+ #
65+ # Check cache
66+ # `check` uses a separate local repo cache to detect problems. The built-in
67+ # default location of this cache is "/tmp/" which can cause issues on tmpfs
68+ # as the cache may need several GB of storage. Overridding built-in default
69+ # for the full repo verification check:
70+ cache-dir = "~/.restic-temp-check-cache"
71+ with-cache = true
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments