Here are the steps to reproduce:
- in mysql console
admin set frontend config("max_backup_restore_job_num_per_db"="1");
- do one backup
BACKUP SNAPSHOT tpch_1t.snapshot_1 TO keep_on_local ON (nation2 ) PROPERTIES ("type" = "full");
- do another backup
BACKUP SNAPSHOT tpch_1t.snapshot_1 TO keep_on_local ON (nation2 ) PROPERTIES ("type" = "full");
- check in temp_dir
Except the folder can be cleaned