mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-03 19:29:32 -05:00 
			
		
		
		
	docs: backup restore - add warning to not backup DB_DATA_LOCATION (#9353)
backup restore add warning for backing up folder
This commit is contained in:
		
							parent
							
								
									f3407860a1
								
							
						
					
					
						commit
						13a62715e4
					
				@ -17,6 +17,10 @@ Refer to the official [postgres documentation](https://www.postgresql.org/docs/c
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
The recommended way to backup and restore the Immich database is to use the `pg_dumpall` command. When restoring, you need to delete the `DB_DATA_LOCATION` folder (if it exists) to reset the database.
 | 
					The recommended way to backup and restore the Immich database is to use the `pg_dumpall` command. When restoring, you need to delete the `DB_DATA_LOCATION` folder (if it exists) to reset the database.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					:::caution
 | 
				
			||||||
 | 
					It is not recommended to directly backup the `DB_DATA_LOCATION` folder. Doing so while the database is running can lead to a corrupted backup that cannot be restored.
 | 
				
			||||||
 | 
					:::
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<Tabs>
 | 
					<Tabs>
 | 
				
			||||||
  <TabItem value="Linux system" label="Linux system" default>
 | 
					  <TabItem value="Linux system" label="Linux system" default>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user