mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-30 18:36:12 +01:00 
			
		
		
		
	 1c55b845e0
			
		
	
	
	1c55b845e0
	
	
	
		
			
			Added support to BACKUP STAGE to maria-backup
This is a port of the code from ES 10.6
See MDEV-5336 for backup stages description.
The following old options are not supported by the new code:
--rsync             ; This is because rsync will not work on tables
                      that are in used.
--no-backup-locks   ; This is disabled as mariadb-backup will always
                      use backup locks for better performance.
		
	
			
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			356 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			356 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| #include "my_global.h"
 | |
| #include "datasink.h"
 | |
| #include "aria_backup_client.h"
 | |
| #include <string>
 | |
| #include <memory>
 | |
| #include <vector>
 | |
| #include <unordered_map>
 | |
| 
 | |
| namespace ddl_log {
 | |
| 
 | |
| typedef std::unordered_map<std::string, std::string> tables_t;
 | |
| bool backup(const char *datadir_path, ds_ctxt_t *ds, const tables_t &tables);
 | |
| 
 | |
| } // namespace ddl_log
 |