Improve "ha backups" command

Hi,

I have scheduled my HA-backups based on cron. So every day a fresh full backup is done. Works fine so far. It is just a little bit tricky to remove old backups this way!

The ha backups uses different naming schemes for newand remove.

What is meant by this? Example:

Creating a new backup I have to give it a name:
ha backups new --name cron_backup1

But to remove I have to give the “slug” value (filename):
ha backups remove d4aa34e2

This appears to be inconsistent. ha remove should be able to read the given name for a backup, too.

I am fully aware from point of coding it is the easiest way how it is implemented now. But is difficult if man want to automate…

Thanks!

/KNEBB