You've already forked pgbackrest
							
							
				mirror of
				https://github.com/pgbackrest/pgbackrest.git
				synced 2025-10-30 23:37:45 +02:00 
			
		
		
		
	Repository encryption support.
Contributed by Cynthia Shang.
This commit is contained in:
		
				
					committed by
					
						 David Steele
						David Steele
					
				
			
			
				
	
			
			
			
						parent
						
							f07d2a3d0d
						
					
				
				
					commit
					b03c26968a
				
			| @@ -83,12 +83,14 @@ sub run | ||||
|     { | ||||
|     foreach my $bRemote ($bS3 ? (true) : (false, true)) | ||||
|     { | ||||
|         my $bRepoEncrypt = !$bRemote && !$bS3 ? true : false; | ||||
|  | ||||
|         # Increment the run, log, and decide whether this unit test should be run | ||||
|         if (!$self->begin("rmt ${bRemote}, s3 ${bS3}")) {next} | ||||
|         if (!$self->begin("rmt ${bRemote}, s3 ${bS3}, enc ${bRepoEncrypt}")) {next} | ||||
|  | ||||
|         # Create hosts, file object, and config | ||||
|         my ($oHostDbMaster, $oHostDbStandby, $oHostBackup) = $self->setup( | ||||
|             true, $self->expect(), {bHostBackup => $bRemote, bCompress => false, bS3 => $bS3}); | ||||
|             true, $self->expect(), {bHostBackup => $bRemote, bCompress => false, bS3 => $bS3, bRepoEncrypt => $bRepoEncrypt}); | ||||
|  | ||||
|         # Reduce console logging to detail | ||||
|         $oHostDbMaster->configUpdate({&CFGDEF_SECTION_GLOBAL => {cfgOptionName(CFGOPT_LOG_LEVEL_CONSOLE) => lc(DETAIL)}}); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user