mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-26 19:14:12 +00:00 
			
		
		
		
	Merge branch 'master' of https://github.com/syuilo/misskey
This commit is contained in:
		
						commit
						a629840644
					
				
					 1 changed files with 22 additions and 0 deletions
				
			
		
							
								
								
									
										22
									
								
								docs/backup.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								docs/backup.md
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,22 @@ | |||
| How to backup your Misskey | ||||
| ========================== | ||||
| 
 | ||||
| Make sure **mongodb-tools** installed. | ||||
| 
 | ||||
| --- | ||||
| 
 | ||||
| In your shell: | ||||
| ``` shell | ||||
| $ mongodump --archive=db-backup | ||||
| ``` | ||||
| 
 | ||||
| For details, plese see [mongodump docs](https://docs.mongodb.com/manual/reference/program/mongodump/). | ||||
| 
 | ||||
| Restore | ||||
| ------- | ||||
| 
 | ||||
| ``` shell | ||||
| $ mongorestore --archive=db-backup | ||||
| ``` | ||||
| 
 | ||||
| For details, please see [mongorestore docs](https://docs.mongodb.com/manual/reference/program/mongorestore/). | ||||
		Loading…
	
	Add table
		
		Reference in a new issue