Sunil Mohan Adapa 0465ce0efd
backups: Handle errors when adding disk repository
- Simplify repository initialization using inheritance.

- Share the code for saving repository for disk and remote repositories. Error
  messages are properly handled for disk repositories too.

- Move logic to create remote SSH directory to SSH repository class instead of
  views.

- Create a new error for handling borg repository already existing while
  initialization.

- Get information of repository after initializing so that password errors are
  caught early.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-09-07 12:53:03 -04:00
..
2019-08-26 19:12:59 -04:00
2019-07-24 14:55:22 -07:00
2019-02-03 17:00:19 -05:00
2019-07-24 14:55:22 -07:00
2019-07-21 09:06:04 -04:00