|  | @@ -32,9 +32,51 @@ Connect with `sudo -u postgres psql --username=backup --host localhost --dbname=
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  Does not work because backup can't access sequences.
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -## Backup
 | 
	
		
			
				|  |  | +## Backup process
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -See `ServerScripts/Backup`.
 | 
	
		
			
				|  |  | +### Disable websites
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +Through _SSH_ on server
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +```sh
 | 
	
		
			
				|  |  | +sudo a2dissite \
 | 
	
		
			
				|  |  | +kanboard.jovian-hersemeule.eu kanboard.jovian-hersemeule.eu-le-ssl \
 | 
	
		
			
				|  |  | +wiki.jovian-hersemeule.eu wiki.jovian-hersemeule.eu-le-ssl \
 | 
	
		
			
				|  |  | +gogs.jovian-hersemeule.eu gogs.jovian-hersemeule.eu-le-ssl ;
 | 
	
		
			
				|  |  | +sudo systemctl reload apache2 ;
 | 
	
		
			
				|  |  | +```
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +### Backup local machine
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +Through _SSH_ on server
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +```sh
 | 
	
		
			
				|  |  | +cd /home/jovian/GitWork/DricomDragon/JovianLinux/ServerScripts/Backup/ ;
 | 
	
		
			
				|  |  | +git pull ;
 | 
	
		
			
				|  |  | +./j7backalllocal
 | 
	
		
			
				|  |  | +```
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +### Retrieve backups
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +On local machine
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +```sh
 | 
	
		
			
				|  |  | +cd /home/jovian/GitWork/DricomDragon/JovianLinux/ServerScripts/Backup/ ;
 | 
	
		
			
				|  |  | +git pull ;
 | 
	
		
			
				|  |  | +./j7retrieve
 | 
	
		
			
				|  |  | +```
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +### Enable websites
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +Through _SSH_ on server
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +```sh
 | 
	
		
			
				|  |  | +sudo a2ensite \
 | 
	
		
			
				|  |  | +kanboard.jovian-hersemeule.eu kanboard.jovian-hersemeule.eu-le-ssl \
 | 
	
		
			
				|  |  | +wiki.jovian-hersemeule.eu wiki.jovian-hersemeule.eu-le-ssl \
 | 
	
		
			
				|  |  | +gogs.jovian-hersemeule.eu gogs.jovian-hersemeule.eu-le-ssl ;
 | 
	
		
			
				|  |  | +sudo systemctl reload apache2 ;
 | 
	
		
			
				|  |  | +```
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  ## Automate
 | 
	
		
			
				|  |  |  
 |