mirror of
				https://github.com/kevinveenbirkenbach/docker-volume-backup.git
				synced 2025-11-03 18:17:56 +00:00 
			
		
		
		
	Removed skipping of unused volumes
This commit is contained in:
		@@ -281,9 +281,6 @@ def main():
 | 
			
		||||
    for volume_name in volume_names:
 | 
			
		||||
        print(f'Start backup routine for volume: {volume_name}')
 | 
			
		||||
        containers = execute_shell_command(f"docker ps --filter volume=\"{volume_name}\" --format '{{{{.Names}}}}'")
 | 
			
		||||
        if not containers:
 | 
			
		||||
            print('Skipped due to no running containers using this volume.')
 | 
			
		||||
            continue
 | 
			
		||||
        if args.everything:
 | 
			
		||||
            backup_everything(volume_name, containers, args.shutdown)
 | 
			
		||||
        else:    
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user