• Vlad Lesin's avatar
    MDEV-20703: mariabackup creates binlog files in server binlog directory on --prepare --export step · edda2fd1
    Vlad Lesin authored
    When "--export" mariabackup option is used, mariabackup starts the server in
    bootstrap mode to generate *.cfg files for the certain innodb tables.
    The started instance of the server reads options from the file, pointed
    out in "--defaults-file" mariabackup option.
    
    If the server uses the same config file as mariabackup, and binlog is
    switched on in that config file, then "mariabackup --prepare --export"
    will create binary log files in the server's binary log directory, what
    can cause issues.
    
    The fix is to add "--skip-log-bin" in mysld options when the server is
    started to generate *.cfg files.
    edda2fd1
xtrabackup.cc 178 KB