forked from 3wordchant/capsul-flask
		
	document how to take a Db snapshot
This commit is contained in:
		
							
								
								
									
										10
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README.md
									
									
									
									
									
								
							| @ -56,15 +56,9 @@ Run the app in gunicorn: | ||||
| pipenv run gunicorn --bind 127.0.0.1:5000 app:app | ||||
| ``` | ||||
|  | ||||
| ## how to view the logs on the deployed system | ||||
| ## how to view the logs on the database server (legion.cyberia.club) | ||||
|  | ||||
| application logs: | ||||
|  | ||||
| `journalctl -u capsul-flask --since -1w` | ||||
|  | ||||
| scheduled task logs: | ||||
|  | ||||
| `tail -n100 /var/log/capsul-flask.log` | ||||
| `sudo -u postgres pg_dump capsul-flask | gzip -9 > capsul-backup-2021-02-15.gz` | ||||
|  | ||||
| ----- | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user