tar file system and extracting individual files

72 views
Skip to first unread message

Eric S. Johansson

unread,
Oct 6, 2015, 2:31:08 PM10/6/15
to ZBackup general discussion
1) would this work as a base for a tar based fs?


2) any reason why http://www.cyberciti.biz/faq/linux-unix-extracting-specific-files/ trick will not work for extracting individual files?


zbackup restore /my/backup/repo/backups/backup-`date '+%Y-%m-%d'` | tar -xf - --wildcards --no-anchored '*.php'

yes, you would like to have a cached, complete tar file if you are picking through for individual files either with a tar command or one of the archive manager tools. at the same time, if you know what you are looking for, you should be able to pick through on the fly.

--- eric

Vladimir Stackov

unread,
Oct 7, 2015, 4:25:57 PM10/7/15
to Eric S. Johansson, ZBackup general discussion
1) Not yet.

2) It will work as you expected with one exception: ALL of your "backup-`date '+%Y-%m-%d'" data will be piped to tar so there is no advantages over restoring complete tar archive and untaring it then as usual.

--
You received this message because you are subscribed to the Google Groups "ZBackup general discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zbackup+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Kind regards,
Vladimir.
Reply all
Reply to author
Forward
0 new messages