View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000614 | bareos-core | director | public | 2016-02-05 12:19 | 2017-11-30 10:06 |
Reporter | nasenmann72 | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Platform | Linux | OS | Ubuntu | OS Version | 14.04 |
Product Version | 15.2.2 | ||||
Summary | 0000614: Command 'purge volume action=truncate storage=file allpools' asks for pool although parameter 'allpools' is given | ||||
Description | When you are trying to run the following command in bconsole, the command ist not executed, instead the command asks to select a pool. But it should be run on all pools. *purge volume action=truncate storage=File allpools This command can be DANGEROUS!!! It purges (deletes) all Files from a Job, JobId, Client or Volume; or it purges (deletes) all Jobs from a Client or Volume without regard to retention periods. Normally you should use the PRUNE command, which respects retention periods. Defined Pools: 1: Scratch 2: Default 3: File-Monthly 4: File-Weekly 5: File-Daily 6: Tape-Monthly 7: Tape-Weekly 8: Tape-Daily Select the Pool (1-8): | ||||
Tags | No tags attached. | ||||
We decided, that the combined functionality of the purge command to purge entries from the catalog and truncate volumes on the storage daemon is not obvious and potential risky. We will introduce the "truncate" command. It is already implemented, but regression testing must be added. |
|
Replacing "truncate" command is available for some time now. | |
bareos: bareos-16.2 1ebe9c96 2016-11-03 18:43 Ported: N/A Details Diff |
added truncate command The truncate command allows to truncate purged volumes. This can be use to free some disk space. |
Affected Issues 0000614 |
|
mod - src/cats/cats.h | Diff File | ||
mod - src/cats/protos.h | Diff File | ||
mod - src/cats/sql.c | Diff File | ||
mod - src/cats/sql_get.c | Diff File | ||
mod - src/cats/sql_list.c | Diff File | ||
mod - src/dird/protos.h | Diff File | ||
mod - src/dird/ua.h | Diff File | ||
mod - src/dird/ua_acl.c | Diff File | ||
mod - src/dird/ua_cmds.c | Diff File | ||
mod - src/dird/ua_input.c | Diff File | ||
mod - src/dird/ua_label.c | Diff File | ||
mod - src/dird/ua_output.c | Diff File | ||
mod - src/dird/ua_select.c | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-02-05 12:19 | nasenmann72 | New Issue | |
2016-02-25 17:36 | maik | Status | new => acknowledged |
2016-11-14 18:22 | joergs | Assigned To | => joergs |
2016-11-14 18:22 | joergs | Status | acknowledged => assigned |
2016-11-14 18:25 | joergs | Note Added: 0002444 | |
2016-12-03 12:15 | joergs | Changeset attached | => bareos bareos-16.2 1ebe9c96 |
2016-12-03 14:25 | joergs | Relationship added | child of 0000734 |
2017-11-30 10:06 | joergs | Note Added: 0002828 | |
2017-11-30 10:06 | joergs | Status | assigned => closed |
2017-11-30 10:06 | joergs | Assigned To | joergs => |
2017-11-30 10:06 | joergs | Resolution | open => won't fix |