Local backup files should reflect controller name

Bug #1771426 reported by Peter Matulis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Unassigned

Bug Description

The backup files that get downloaded to the local client by means of the `create-backup` command should, by default, reflect the name of the corresponding controller. Otherwise, backups made on multi-controller setups become indistinguishable. Below, there are two backups for a controller named 'lxd' and one for a controller named 'aws':

-rw-rw-r-- 1 ubuntu ubuntu 56M May 15 19:20 juju-backup-20180515-191942.tar.gz
-rw-rw-r-- 1 ubuntu ubuntu 56M May 15 19:40 juju-backup-20180515-193724.tar.gz
-rw-rw-r-- 1 ubuntu ubuntu 56M May 15 19:58 juju-backup-20180515-195557.tar.gz

The user should not have to rely on the `--filename` option to overcome this confusion. I would expect to see, by default:

-rw-rw-r-- 1 ubuntu ubuntu 56M May 15 19:20 juju-backup-aws-20180515-191942.tar.gz
-rw-rw-r-- 1 ubuntu ubuntu 56M May 15 19:40 juju-backup-lxd-20180515-193724.tar.gz
-rw-rw-r-- 1 ubuntu ubuntu 56M May 15 19:58 juju-backup-lxd-20180515-195557.tar.gz

tags: added: backup-restore
description: updated
Revision history for this message
Richard Harding (rharding) wrote :

+1, I think that the name should include the controller name, the cloud, and the juju version in the backup file path. I'd not worry about the "juju" part since the it should be clear enough.

jaas-aws-2.2.9-20180515-xxxxxx.tar.gz seems like a good bit of detail to tell backup files apart.

Changed in juju:
status: New → Confirmed
importance: Undecided → High
Changed in juju:
status: Confirmed → Triaged
Revision history for this message
Heather Lanigan (hmlanigan) wrote :

+1, however there is a --filename flag, for a user specified value, lowering to medium.

Changed in juju:
importance: High → Medium
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This Medium-priority bug has not been updated in 60 days, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

Changed in juju:
importance: Medium → Low
tags: added: expirebugs-bot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.