How to find a deleted file amongst many archives

2015-11-05 Thread Quinn Comendant
I'm evaluating tarsnap for personal use. I'm curious how I would find a single file amongst many archives. Let's say I have created hourly archives going back 30 days, and I have deleted a file from my local hard drive sometime in the previous 30 days, but do not know when. Is there a way to

Re: How to find a deleted file amongst many archives

2015-11-05 Thread Colin Percival
On 11/05/15 14:21, Quinn Comendant wrote: > It would be pretty easy to create a local index during the backup process > and save all file paths, upload timestamp, and archive names to a text file > or sqlite db. This would make individual file restorations much quicker. > Perhaps there exists a

Re: How to find a deleted file amongst many archives

2015-11-05 Thread Garance AE Drosehn
On Nov 5, 2015, at 5:21 PM, Quinn Comendant wrote: > On Thu, 5 Nov 2015 13:36:05 -0800, Colin Percival wrote: >> There's no built-in way to do this. Due to tarsnap's encryption, there's no >> way to "index" the archives, so any built-in command would just do what you >>

Re: How to find a deleted file amongst many archives

2015-11-05 Thread Colin Percival
On 11/05/15 13:19, Quinn Comendant wrote: > On Thu, 5 Nov 2015 13:01:18 -0500, Quinn Comendant wrote: >> Is there a way to search all archives to find "the most recent file that >> exist(s|ed) at the specified path"? > > Just to avoid anyone giving the obvious answer: I suppose I can always wrap

Re: How to find a deleted file amongst many archives

2015-11-05 Thread Quinn Comendant
On Thu, 5 Nov 2015 13:01:18 -0500, Quinn Comendant wrote: > Is there a way to search all archives to find "the most recent file that > exist(s|ed) at the specified path"? Just to avoid anyone giving the obvious answer: I suppose I can always wrap `while` loops around `tarsnap --list-archives`