mirror of https://github.com/borgbase/vorta
Select correct source folders. Fixes #23
This commit is contained in:
parent
55ff2b0352
commit
7221fdb95d
|
@ -100,7 +100,7 @@ class BorgCreateThread(BorgThread):
|
|||
# Add repo url and source dirs.
|
||||
cmd.append(f'{profile.repo.url}::{platform.node()}-{dt.now().isoformat()}')
|
||||
|
||||
for f in SourceDirModel.select():
|
||||
for f in SourceDirModel.select().where(SourceDirModel.profile == profile.id):
|
||||
cmd.append(f.dir)
|
||||
|
||||
ret['message'] = 'Starting backup..'
|
||||
|
|
Loading…
Reference in New Issue