Re:Tarsnap – Online backups for the truly paranoid
by danohu on Saturday January 28, 2017 @10:52AM
(#13506820)
How can I download backups into a different directory from where they originated?
[I was just trying out tarsnap, go to the restore test section, and was a bit stumped. It seems like "-xC /other/dir" might do it, but the man page is pretty opaque. I'd like to test a restore without the risk of clobbering my data with some misconfigured backup!]
Re:Tarsnap – Online backups for the truly paranoid
by crzwdjk on Saturday January 28, 2017 @11:30AM
(#13507174)
It works just like tar for the most part, so it extracts into whatever the current working directory happens to be. I'd just do (cd /other/dir; tarsnap -x -f whatever-archive).
[I was just trying out tarsnap, go to the restore test section, and was a bit stumped. It seems like "-xC /other/dir" might do it, but the man page is pretty opaque. I'd like to test a restore without the risk of clobbering my data with some misconfigured backup!]