aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plpbackup/plpbackup.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plpbackup/plpbackup.cc b/plpbackup/plpbackup.cc
index 96d8a21..8200666 100644
--- a/plpbackup/plpbackup.cc
+++ b/plpbackup/plpbackup.cc
@@ -863,7 +863,7 @@ runRestore()
struct timeval start_tv, end_tv, cstart_tv, cend_tv;
for (i = 0; i < archList.size(); i++) {
- tarcmd << "tar --to-stdout -xzf " << archList[i]
+ tarcmd << "tar --to-stdout --wildcards -xzf " << archList[i]
<< " 'KPsion*Index'" << ends;
char backupType = '?';
FILE *f = popen(tarcmd.str().c_str(), "r");