Skip to content

Commit

Permalink
dir: display archive jobs on (l)list backups
Browse files Browse the repository at this point in the history
Previously list backups and llist backups only displayed jobs of jobtype
"Backup", but not jobtype "Archive".
This patch now also displays jobs of jobtype "Archive".
  • Loading branch information
arogge committed Aug 28, 2020
1 parent bf35f97 commit 7cabd04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/dird/ua_output.cc
Expand Up @@ -1224,7 +1224,7 @@ static bool ParseListBackupsCmd(UaContext* ua,
return false;
}

selection.bsprintf("AND Job.Type='B' AND Client.Name='%s' ",
selection.bsprintf("AND Job.Type IN('B','a') AND Client.Name='%s' ",
ua->argv[client]);

/*
Expand Down

0 comments on commit 7cabd04

Please sign in to comment.