Comment 8 for bug 1852502

Revision history for this message
Haw Loeung (hloeung) wrote : Re: [Bug 1852502] Re: Juju backups failing Executor error: CappedPositionLost: CollectionScan died due to position in capped collection being deleted.

On Tue, Apr 20, 2021 at 05:47:54PM -0000, John A Meinel wrote:
> One plausible fix would be to have 'juju create-backup --no-logs", as they
> aren't usually super relevant to restore and usually consume a
> significant amount of data.

Yes please. Perhaps --no-logs should be the default instead? So 'juju
create-backup' excludes logs by default, with an option such as
'--with-logs' or '--include-logs' for those wanting to also back up
logs.

Reducing the time it takes to perform Juju controller backups would
also be super useful to IS since we do this before performing any juju
upgrades (we run quite a lot of controllers and try to be as
up-to-date as possible).