Output of restic version
v0.9.5-31-g3ca42405
What should restic do differently? Which functionality do you think we should add?
An -i switch to ignore casing when using snapshots.
What are you trying to do?
I currently use restic to backup approximately 80 clients. Unfortunately, machine names are a little all-over-the-place when it comes to case (I'm in a Windows environment). It could be ABC-LAPTOP, or ABC-laptop, or abc-laptop (ABC = their initials). So when a user calls me saying they need a file restored, I usually do a restic snapshots --host ABC-LAPTOPto tell them what snapshot times are available. Half the time I need to open up the network list and find their machine name, because it's not in the case I'm expecting. If I could do restic snapshots -i --host ABC-LAPTOPand ignore the case, I'd find it much more quickly.
I'd wager the -i switch could also be useful for --path and --tag as well. Especially --path, come to think of it. But if I used environment variables for the tags in scripts, instead of hard-coding them myself, I could see ignoring case for --tag being useful as well. Just a thought!
Additionally, it'd be nice to add this to the forget command as well. After a certain amount of time, I might want to remove a machine completely from the repo. If I didn't have to look up the casing, restic forget -i --host ABC-LAPTOP would save me some time.
Did restic help you or made you happy in any way?
Every time I don't have to wade through Quest Rapid Recovery (formerly Dell AppAssure) to restore one piddly file for a user, an angel gets its wings. Thanks restic <3
Output of
restic versionv0.9.5-31-g3ca42405
What should restic do differently? Which functionality do you think we should add?
An
-iswitch to ignore casing when usingsnapshots.What are you trying to do?
I currently use restic to backup approximately 80 clients. Unfortunately, machine names are a little all-over-the-place when it comes to case (I'm in a Windows environment). It could be ABC-LAPTOP, or ABC-laptop, or abc-laptop (ABC = their initials). So when a user calls me saying they need a file restored, I usually do a
restic snapshots --host ABC-LAPTOPto tell them what snapshot times are available. Half the time I need to open up the network list and find their machine name, because it's not in the case I'm expecting. If I could dorestic snapshots -i --host ABC-LAPTOPand ignore the case, I'd find it much more quickly.I'd wager the
-iswitch could also be useful for--pathand--tagas well. Especially--path, come to think of it. But if I used environment variables for the tags in scripts, instead of hard-coding them myself, I could see ignoring case for--tagbeing useful as well. Just a thought!Additionally, it'd be nice to add this to the
forgetcommand as well. After a certain amount of time, I might want to remove a machine completely from the repo. If I didn't have to look up the casing,restic forget -i --host ABC-LAPTOPwould save me some time.Did restic help you or made you happy in any way?
Every time I don't have to wade through Quest Rapid Recovery (formerly Dell AppAssure) to restore one piddly file for a user, an angel gets its wings. Thanks restic <3