add delete old backup
add variable upload_extra_flags, add foolproof for delete old files