Borg-BackUP-GUI icon indicating copy to clipboard operation
Borg-BackUP-GUI copied to clipboard

FR: add --exclude-from to GUI

Open hellkaim opened this issue 4 years ago • 6 comments

Hi and thank you for a very cool app!

Could you possibly add an --exclude-from functionality to the Selection tab? I have a very long list of Ignored files and dirs that I store in a file. It would be nice to be able to provide it form the GUI.

I understand I can change the sh script in config directory but am afraid it might be overwritten if I change other parameters in GUI.

hellkaim avatar Jun 05 '21 14:06 hellkaim

Ok, I checked what will happen and here are my findings:

PRE.

  1. I have created a backup, let's call it main-backup
  2. I have added 2 directorys using the GUI in to Ignore list

Experiment:

  1. Start a backup jib from GUI

result: all is ok: I can see --exclude in the borg command called from the GUI

Closing the GUI

  1. go to ~/.config/Borg-BackUP-GUI/profiles and edit a main-backup. Appending the script with --exlude-from %PATH% and saving the script Open GUI but do not unlock the Selection dialog and make any other changes (say compression). Saving the result and closing the GUI. Open GUI again and start a backup job.

result: all is ok: I can see --exlude-from %PATH% in the borg command called from the GUI

  1. open GUI and change some dirs/files in Selection dialog. Save and close GUI.

result: the sh script got modified and --exlude-from %PATH% has being removed (expected)

So what may help is just an additional button and some small logic behind it.

hellkaim avatar Jun 05 '21 14:06 hellkaim

Hello hellkaim, I'm glad you like it. I'm still on holiday this month, but I'll have a look at this when I get back to the HO.

MTrage avatar Jun 10 '21 19:06 MTrage

Thanks, no hurry at all! Patiently waiting and hoping.

Jun 10, 2021 22:34:26 Marc-André Tragé @.***>:

Hello hellkaim, I'm glad you like it. I'm still on holiday this month, but I'll have a look at this when I get back to the HO.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub[https://github.com/MTrage/Borg-BackUP-GUI/issues/16#issuecomment-858965122], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AJTQCS7BQ7QZYM7NQ4QNZKDTSEHUFANCNFSM46ETEJEQ]. [data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEsAAABLCAYAAAA4TnrqAAAABHNCSVQICAgIfAhkiAAAAC1JREFUeJztwTEBAAAAwqD1T20MH6AAAAAAAAAAAAAAAAAAAAAAAAAAAACAswFYLwABcBV96AAAAABJRU5ErkJggg==###24x24:true###][Tracking image][https://github.com/notifications/beacon/AJTQCS75D4COOHVD4VMB57DTSEHUFA5CNFSM46ETEJE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGMZMJAQ.gif]

hellkaim avatar Jun 11 '21 06:06 hellkaim

Sorry for bothering... any update?

hellkaim avatar Sep 14 '21 12:09 hellkaim

Sorry, I lack absoultly the time for this project, should this condition continue I will have to stop the further development for this.

MTrage avatar Sep 15 '21 04:09 MTrage

Ouh! Ok, that happens. THX.

hellkaim avatar Sep 15 '21 05:09 hellkaim