diff --git a/src/gausskernel/storage/replication/basebackup.cpp b/src/gausskernel/storage/replication/basebackup.cpp index 27d443b75e2caf299fb82800e9d27102211a93fa..f1abfe927940d7aa05006019b86b3efd9b21d180 100755 --- a/src/gausskernel/storage/replication/basebackup.cpp +++ b/src/gausskernel/storage/replication/basebackup.cpp @@ -1610,7 +1610,7 @@ static int64 sendDir(const char *path, int basepathlen, bool sizeonly, List *tab if (ENABLE_DSS && is_dss_file(pathbuf)) { _tarWriteHeader(pathbuf, NULL, &statbuf); } else { - _tarWriteHeader(pathbuf + basepathlen + 1, NULL, &statbuf); + _tarWriteHeader("pg_xlog/archive_status", NULL, &statbuf); } } }