kmwoley / restic-windows-backup

Powershell scripts to run Restic backups on Windows
MIT License
330 stars 68 forks source link

No way to add tags ? #54

Open Gaibhne opened 3 years ago

Gaibhne commented 3 years ago

I don't find the automatically generated tags very useful (I have five machines, so having every machines backup tagged with C:\ is not super helpful), is there any way to manually specify a (list of) additional tag(s), and if not, can there be ? I would guess that would be pretty trivial to do, but PowerShell isn't my language.

kmwoley commented 2 years ago

I'll look into it on my next revision. This implies your backing up all machines to the same repository, correct? That may not be a best practice given the locking that restic has to do - I'm not certain, however.

Gaibhne commented 2 years ago

The main selling point of restic is deduplication, which doesn't really do much if I use different repos for different machines, but from what I understand, backing up doesn't require locking anyways (pruning does, but not adding data). Even not having any PS skills, after looking at the file, changing the tags manually isn't that hard, so it isn't an urgent request, but I still think it would make the script better to have that ability.