Hello.

I've got a couple of questions wrt cloud volumes.




1) How can I automatically prune the cache?

I've got the following in my director.conf:
Pool {
  Name = Full
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Maximum Volume Bytes = 50G
  Maximum Volume Jobs=1
  Label Format = "Full"
  Volume Retention=3 months
  Cache retention=31 days
}

and in bacula-sd.conf:
Cloud {
  Name = MyCloud
  Driver = "S3"
  HostName="..."
  BucketName="..."
  AccessKey="..."
  SecretKey="..."
  Upload = EachPart
  Region = "..."
  Maximum Concurrent Uploads=20
  Maximum Concurrent Downloads=20
}

Since I did not specify any value for "Truncate Cache", it defaults to "No". So I think I need an "admin job", but I fail to find any useful documentation.
How should I set this up?





2) Due to the above, the disk filled, a big job failed and a big volume was partially uploaded to the cloud. I tried purging it, in hope the data in the cloud could be overwritten, but the "purge" command seems to silently do nothing in this case.
Is there a reason for this? Is this a bug or feature?

Meanwhile, I had to start the backup again with a different volume; so now I have useless data taking space in the cloud in the form of the old (failed) volume. Is there a command that can delete this?



 bye & Thanks
        av.


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to