Branislav, so the issue isn't that the mongodb backups database is getting
too big, but that we aren't cleaning up /tmp after producing a backup. Is
that the case?
Can you submit that as a separate bug?
On Wed, Apr 7, 2021 at 3:55 AM Branislav Neskovic <
<email address hidden>> wrote:
> Sorry. I saw this now, Remote backup was not created. And it was
> downloaded to local dir.
>
> k8s@test2-controller:~$ juju create-backup -m
> test2-controller:controller
>
> backup ID:
> backup format version: 1
> juju version: 2.8.7
> series: focal
>
> controller UUID: 7d956a97-a20e-4029-8887-aaa8b6d5efba
> model UUID: a9aeeafb-5984-4d16-8a83-86dfda011a75
> machine ID: 0
> created on host: test2-controller
>
> checksum: s/ulMkFEp2E8SGKNNpgUr1RIQwg=
> checksum format: SHA-1, base64 encoded
> size (B): 101226925
> stored: 0001-01-01 00:00:00 +0000 UTC
> started: 2021-04-07 07:35:48.730818889 +0000 UTC
> finished: 2021-04-07 07:37:20.133856682 +0000 UTC
>
> notes:
>
> Remote backup was not created.
> Downloaded to juju-backup-20210407-073548.tar.gz.
>
> And mongo.db has no backups:
>
> juju:PRIMARY> show databases;
> admin 0.000GB
> backups 0.000GB
>
> I found this bug because my filesystem was filling up at this location
> /tmp/snap.juju-db/tmp .
>
> k8s@test2-controller:~$ sudo du -h -d1 /tmp/snap.juju-db/tmp
> 276M /tmp/snap.juju-db/tmp/jujuBackup-218257021
> 276M /tmp/snap.juju-db/tmp/jujuBackup-178084792
> 276M /tmp/snap.juju-db/tmp/jujuBackup-847774230
> .
> .
> .
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https://bugs.launchpad.net/bugs/1789840
>
> Title:
> "juju backups" shows no backup, yet the "backup" mongodb database is
> 20GB big
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1789840/+subscriptions
>
Branislav, so the issue isn't that the mongodb backups database is getting
too big, but that we aren't cleaning up /tmp after producing a backup. Is
that the case?
Can you submit that as a separate bug?
On Wed, Apr 7, 2021 at 3:55 AM Branislav Neskovic <
<email address hidden>> wrote:
> Sorry. I saw this now, Remote backup was not created. And it was controller: ~$ juju create-backup -m r:controller a20e-4029- 8887-aaa8b6d5ef ba 5984-4d16- 8a83-86dfda011a 75 NNpgUr1RIQwg= 20210407- 073548. tar.gz. juju-db/ tmp . controller: ~$ sudo du -h -d1 /tmp/snap. juju-db/ tmp juju-db/ tmp/jujuBackup- 218257021 juju-db/ tmp/jujuBackup- 178084792 juju-db/ tmp/jujuBackup- 847774230 /bugs.launchpad .net/bugs/ 1789840 /bugs.launchpad .net/juju/ +bug/1789840/ +subscriptions
> downloaded to local dir.
>
> k8s@test2-
> test2-controlle
>
> backup ID:
> backup format version: 1
> juju version: 2.8.7
> series: focal
>
> controller UUID: 7d956a97-
> model UUID: a9aeeafb-
> machine ID: 0
> created on host: test2-controller
>
> checksum: s/ulMkFEp2E8SGK
> checksum format: SHA-1, base64 encoded
> size (B): 101226925
> stored: 0001-01-01 00:00:00 +0000 UTC
> started: 2021-04-07 07:35:48.730818889 +0000 UTC
> finished: 2021-04-07 07:37:20.133856682 +0000 UTC
>
> notes:
>
> Remote backup was not created.
> Downloaded to juju-backup-
>
> And mongo.db has no backups:
>
> juju:PRIMARY> show databases;
> admin 0.000GB
> backups 0.000GB
>
> I found this bug because my filesystem was filling up at this location
> /tmp/snap.
>
> k8s@test2-
> 276M /tmp/snap.
> 276M /tmp/snap.
> 276M /tmp/snap.
> .
> .
> .
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https:/
>
> Title:
> "juju backups" shows no backup, yet the "backup" mongodb database is
> 20GB big
>
> To manage notifications about this bug go to:
> https:/
>