| 
					
				 | 
			
			
				@@ -21,7 +21,15 @@ Also it's: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 * Encrypt backup (gpg2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ## Instalation 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-`# cp backup-server /usr/local/bin/backup-server` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+`# curl "https://code.castanedo.es/guzman/backup-server/archive/2.0.tar.gz" | tar -xz` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+`# cp ./backup-server/backup-server /usr/local/bin/backup-server` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+`# cp ./backup-server/scripts/cron.d/backup-server /etc/cron.d/backup-server` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+`# rm -R ./backup-server` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+Edit `/etc/cron.d/backup-server` to automatic backups as desired. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ## Usage 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 `# backup-server [options]... -z|-j|-J|-7 [backupdir]` 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -99,13 +107,13 @@ Also it's: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   * Default: false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ###### GOGS Options: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-*	``--gogs-dir dir`: set GOGS Git Repository to backup 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+*	`--gogs-dir dir`: set GOGS Git Repository to backup 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   * Default: /opt/gogs 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 *	`--no-gogs`: disable gogs backup 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   * Default: false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ###### Other Options: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-* -h, --help: shows this message and exit 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+* `-h`, `--help`: shows this message and exit 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ## Examples 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 * `backup-server --xz -k ABCDEFG -p backup-example.com --no-sql /var/backup` 
			 |