Local backup files should reflect controller name
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-
-rw-rw-r-- 1 ubuntu ubuntu 56M May 15 19:40 juju-backup-
-rw-rw-r-- 1 ubuntu ubuntu 56M May 15 19:58 juju-backup-
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-
-rw-rw-r-- 1 ubuntu ubuntu 56M May 15 19:40 juju-backup-
-rw-rw-r-- 1 ubuntu ubuntu 56M May 15 19:58 juju-backup-
tags: | added: backup-restore |
description: | updated |
Changed in juju: | |
status: | Confirmed → Triaged |
+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.