On 11/05/15 14:42, Quinn Comendant wrote: > On Thu, 5 Nov 2015 22:25:38 +0000, Colin Percival wrote: >> I'd go with something like `tarsnap --list-archives | fgrep -v .part >> | sort | >> tail -1` to get your most recent full archive. > > But I didn't mean the "most recent"; I meant "the full archive older than 7 > days ago" (in this hypothetical scenario, let's assume I know that I was > infected with malware 6.5 days ago and don't trust any backups after that > day).
Well, ok. Replace the `tail -1` part with something else then. My point was that you want to use `tarsnap --list-archives | fgrep -v .part` to get a list of full archives and then select from that based on the date you need. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
