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-10 09:38:53 -04:00
2019-08-11 18:39:56 -04:00
2019-07-25 11:07:06 -07:00
2019-07-24 14:01:54 -07:00
2019-08-11 18:39:56 -04:00
2019-07-25 11:07:06 -07:00
2019-08-11 18:39:56 -04:00