• Vladislav Vaintroub's avatar
    MDEV-15780 : Mariabackup with absolute paths in innodb_data_file_path · 15071226
    Vladislav Vaintroub authored
    System tablespace can be specified with absolute path, if innodb_data_home_dir
    is empty.
    
    This was not handled well  by mariabackup
    
    1. In backup phase, empty innodb_data_home_dir variable from server was
    not recognized. full paths were stored in backup-my.ini, even if
    it stored all files locally. thus prepare phase would not find the system
    tablespace files.
    
    2. In copy-back phase, copy would not be done to the absolute destination
    path, as path would be stripped with trim_dotslash
    
    This patch fixes the above defects.
    15071226
absolute_ibdata_paths.test 1.12 KB