Skip to content

Commit

Permalink
Migrate/Copy-Job: show read storage
Browse files Browse the repository at this point in the history
  • Loading branch information
joergsteffens authored and Marco van Wieringen committed Apr 25, 2016
1 parent 8b6b810 commit 32ff5e4
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions src/dird/ua_run.c
Expand Up @@ -1584,19 +1584,21 @@ static bool display_job_parameters(UAContext *ua, JCR *jcr, RUN_CTX &rc)
} else {
prt_type = _("Type: Migration\nTitle: Run Migration Job\n");
}
ua->send_msg(_("%s"
ua->send_msg("%s"
"JobName: %s\n"
"Bootstrap: %s\n"
"Read Storage: %s\n"
"Pool: %s\n"
"NextPool: %s\n"
"Write Storage: %s\n"
"NextPool: %s\n"
"JobId: %s\n"
"When: %s\n"
"Catalog: %s\n"
"Priority: %d\n"),
"Priority: %d\n",
prt_type,
job->name(),
NPRT(jcr->RestoreBootstrap),
jcr->res.rstore ? jcr->res.rstore->name() : _("*None*"),
NPRT(jcr->res.pool->name()),
jcr->res.next_pool ? jcr->res.next_pool->name() : _("*None*"),
jcr->res.wstore ? jcr->res.wstore->name() : _("*None*"),
Expand All @@ -1613,21 +1615,24 @@ static bool display_job_parameters(UAContext *ua, JCR *jcr, RUN_CTX &rc)
ua->send_msg(_("%s"
"JobName: %s\n"
"Bootstrap: %s\n"
"Read Storage: %s (From %s)\n"
"Pool: %s (From %s)\n"
"NextPool: %s (From %s)\n"
"Write Storage: %s (From %s)\n"
"NextPool: %s (From %s)\n"
"JobId: %s\n"
"When: %s\n"
"Catalog: %s\n"
"Priority: %d\n"),
prt_type,
job->name(),
NPRT(jcr->RestoreBootstrap),
jcr->res.rstore ? jcr->res.rstore->name() : _("*None*"),
jcr->res.rstore_source,
NPRT(jcr->res.pool->name()), jcr->res.pool_source,
jcr->res.next_pool ? jcr->res.next_pool->name() : _("*None*"),
NPRT(jcr->res.npool_source),
jcr->res.wstore ? jcr->res.wstore->name() : _("*None*"),
jcr->res.wstore_source,
jcr->res.next_pool ? jcr->res.next_pool->name() : _("*None*"),
NPRT(jcr->res.npool_source),
jcr->MigrateJobId == 0 ? _("*None*") : edit_uint64(jcr->MigrateJobId, ec1),
bstrutime(dt, sizeof(dt), jcr->sched_time),
jcr->res.catalog->name(),
Expand Down

0 comments on commit 32ff5e4

Please sign in to comment.