Hi there, sorry to recycle this post again, but i don't get i what update-command i should execute? I did everything according to this thread and if i got everything right, purged volumes should be deleted from disk if the action is set to truncate. I set all this, but i have multiple volumes in volstatus=Purged, but they nether don't disappear from "list volumes" nor do they disappear from disk.
Who know's what to do to make bares delete the files from disk? Kind regards Christian Am 21.03.2017 um 12:33 schrieb Jörg Steffens: > On 07.03.2017 at 21:39 wrote Sven Gehr: >> When I try: >> >> -> bconsole >> *purge volume=Full-0218 action=truncate >> >> I get the error: >> >> 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. >> >> Volume "Full-0218" has VolStatus "Purged" and cannot be purged. >> The VolStatus must be: Append, Full, Used, or Error to be purged. >> >> Automatically selected Storage: File >> Using Catalog "MyCatalog" >> The defined Pool resources are: >> 1: Full >> 2: Diff >> 3: Incr >> 4: Scratch >> Select Pool resource (1-4): 1 >> Connecting to Storage daemon File at kvm01.peka.lan:9103 ... >> >> The option "Action On Purge = Truncate" was not defined in the Pool resource. >> Unable to truncate volume "Full-0218" >> >> What's wrong?+ > > The "Action On Purge = Truncate" must be defined before the volume has > been created, or you have to propagate the setting via the update > command. As this is all not very intuitive, current versions of Bareos > (I think starting with 16.2.5) have the "truncate" command. With this, > you don't need the "Action On Purge = Truncate" setting. > > > -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
