| 
				
			 | 
			
			
				@@ -244,44 +244,6 @@ function backup_tor { 
			 | 
		
	
		
			
			| 
				244
			 | 
			
				244
			 | 
			
			
				 	fi 
			 | 
		
	
		
			
			| 
				245
			 | 
			
				245
			 | 
			
			
				 } 
			 | 
		
	
		
			
			| 
				246
			 | 
			
				246
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				247
			 | 
			
				
			 | 
			
			
				-function backup_hubzilla { 
			 | 
		
	
		
			
			| 
				248
			 | 
			
				
			 | 
			
			
				-	if grep -q "Hubzilla domain" $COMPLETION_FILE; then 
			 | 
		
	
		
			
			| 
				249
			 | 
			
				
			 | 
			
			
				-		HUBZILLA_DOMAIN_NAME=$(cat $COMPLETION_FILE | grep "Hubzilla domain" | awk -F ':' '{print $2}') 
			 | 
		
	
		
			
			| 
				250
			 | 
			
				
			 | 
			
			
				-		if [ -d /var/www/${HUBZILLA_DOMAIN_NAME} ]; then 
			 | 
		
	
		
			
			| 
				251
			 | 
			
				
			 | 
			
			
				-			suspend_site ${HUBZILLA_DOMAIN_NAME} 
			 | 
		
	
		
			
			| 
				252
			 | 
			
				
			 | 
			
			
				-			backup_database_to_friend hubzilla 
			 | 
		
	
		
			
			| 
				253
			 | 
			
				
			 | 
			
			
				-			backup_directory_to_friend /root/temphubzilladata hubzilladata 
			 | 
		
	
		
			
			| 
				254
			 | 
			
				
			 | 
			
			
				-			echo "Backing up Hubzilla installation" 
			 | 
		
	
		
			
			| 
				255
			 | 
			
				
			 | 
			
			
				-			backup_directory_to_friend /var/www/${HUBZILLA_DOMAIN_NAME}/htdocs hubzilla 
			 | 
		
	
		
			
			| 
				256
			 | 
			
				
			 | 
			
			
				-			restart_site 
			 | 
		
	
		
			
			| 
				257
			 | 
			
				
			 | 
			
			
				-		else 
			 | 
		
	
		
			
			| 
				258
			 | 
			
				
			 | 
			
			
				-			echo $"Hubzilla domain specified but not found in /var/www/${HUBZILLA_DOMAIN_NAME}" 
			 | 
		
	
		
			
			| 
				259
			 | 
			
				
			 | 
			
			
				-			exit 2578 
			 | 
		
	
		
			
			| 
				260
			 | 
			
				
			 | 
			
			
				-		fi 
			 | 
		
	
		
			
			| 
				261
			 | 
			
				
			 | 
			
			
				-	fi 
			 | 
		
	
		
			
			| 
				262
			 | 
			
				
			 | 
			
			
				-} 
			 | 
		
	
		
			
			| 
				263
			 | 
			
				
			 | 
			
			
				- 
			 | 
		
	
		
			
			| 
				264
			 | 
			
				
			 | 
			
			
				-function backup_syncthing { 
			 | 
		
	
		
			
			| 
				265
			 | 
			
				
			 | 
			
			
				-	if [ -d /root/.config/syncthing ]; then 
			 | 
		
	
		
			
			| 
				266
			 | 
			
				
			 | 
			
			
				-		echo $"Backing up syncthing configuration" 
			 | 
		
	
		
			
			| 
				267
			 | 
			
				
			 | 
			
			
				-		backup_directory_to_friend /root/.config/syncthing syncthingconfig 
			 | 
		
	
		
			
			| 
				268
			 | 
			
				
			 | 
			
			
				-	fi 
			 | 
		
	
		
			
			| 
				269
			 | 
			
				
			 | 
			
			
				-	if [ -d /var/lib/syncthing/SyncShared ]; then 
			 | 
		
	
		
			
			| 
				270
			 | 
			
				
			 | 
			
			
				-		echo $"Backing up syncthing shared files" 
			 | 
		
	
		
			
			| 
				271
			 | 
			
				
			 | 
			
			
				-		backup_directory_to_friend /var/lib/syncthing/SyncShared syncthingshared 
			 | 
		
	
		
			
			| 
				272
			 | 
			
				
			 | 
			
			
				-	fi 
			 | 
		
	
		
			
			| 
				273
			 | 
			
				
			 | 
			
			
				-} 
			 | 
		
	
		
			
			| 
				274
			 | 
			
				
			 | 
			
			
				- 
			 | 
		
	
		
			
			| 
				275
			 | 
			
				
			 | 
			
			
				-function backup_mediagoblin { 
			 | 
		
	
		
			
			| 
				276
			 | 
			
				
			 | 
			
			
				-	if grep -q "Mediagoblin domain" $COMPLETION_FILE; then 
			 | 
		
	
		
			
			| 
				277
			 | 
			
				
			 | 
			
			
				-		MEDIAGOBLIN_DOMAIN_NAME=$(cat $COMPLETION_FILE | grep "Mediagoblin domain" | awk -F ':' '{print $2}') 
			 | 
		
	
		
			
			| 
				278
			 | 
			
				
			 | 
			
			
				-		suspend_site ${MEDIAGOBLIN_DOMAIN_NAME} 
			 | 
		
	
		
			
			| 
				279
			 | 
			
				
			 | 
			
			
				-		echo $"Backing up Mediagoblin" 
			 | 
		
	
		
			
			| 
				280
			 | 
			
				
			 | 
			
			
				-		backup_directory_to_friend /var/www/$MEDIAGOBLIN_DOMAIN_NAME/htdocs mediagoblin 
			 | 
		
	
		
			
			| 
				281
			 | 
			
				
			 | 
			
			
				-		restart_site 
			 | 
		
	
		
			
			| 
				282
			 | 
			
				
			 | 
			
			
				-	fi 
			 | 
		
	
		
			
			| 
				283
			 | 
			
				
			 | 
			
			
				-} 
			 | 
		
	
		
			
			| 
				284
			 | 
			
				
			 | 
			
			
				- 
			 | 
		
	
		
			
			| 
				285
			 | 
			
				247
			 | 
			
			
				 function backup_gogs { 
			 | 
		
	
		
			
			| 
				286
			 | 
			
				248
			 | 
			
			
				 	export GVM_ROOT=/home/git/gvm 
			 | 
		
	
		
			
			| 
				287
			 | 
			
				249
			 | 
			
			
				 	if [ -d $GVM_ROOT/bin ]; then 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -552,9 +514,6 @@ if [[ $TEST_MODE == "no" ]]; then 
			 | 
		
	
		
			
			| 
				552
			 | 
			
				514
			 | 
			
			
				 	backup_admin_readme 
			 | 
		
	
		
			
			| 
				553
			 | 
			
				515
			 | 
			
			
				 	backup_mariadb 
			 | 
		
	
		
			
			| 
				554
			 | 
			
				516
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				555
			 | 
			
				
			 | 
			
			
				-	backup_hubzilla 
			 | 
		
	
		
			
			| 
				556
			 | 
			
				
			 | 
			
			
				-	backup_syncthing 
			 | 
		
	
		
			
			| 
				557
			 | 
			
				
			 | 
			
			
				-	backup_mediagoblin 
			 | 
		
	
		
			
			| 
				558
			 | 
			
				517
			 | 
			
			
				 	backup_gogs 
			 | 
		
	
		
			
			| 
				559
			 | 
			
				518
			 | 
			
			
				 	backup_wiki 
			 | 
		
	
		
			
			| 
				560
			 | 
			
				519
			 | 
			
			
				 	backup_blog 
			 |