[backup] allowing to specify the Timeshift mode: rsync or btrfs

This commit is contained in:
Vinicius Moreira
2020-04-28 18:29:30 -03:00
parent f860be1b07
commit 636469215c
6 changed files with 17 additions and 6 deletions

View File

@@ -144,7 +144,7 @@ class AsyncAction(QThread, ProcessWatcher):
return False
self.change_substatus('[{}] {}'.format(i18n['core.config.tab.backup'].lower(), i18n['action.backup.substatus.create']))
created, _ = handler.handle_simple(timeshift.create_snapshot(root_pwd))
created, _ = handler.handle_simple(timeshift.create_snapshot(root_pwd, app_config['backup']['type']))
if not created and not self.request_confirmation(title=i18n['core.config.tab.backup'],
body='{}. {}'.format(i18n['action.backup.error.create'],