I found articles (or topics) discussing how to limit what is backed up, but how do I restore only a particular folder?
So you might have to have a little play to get it to work as desired. Have a look at the docs here. Looks to me like the --limits switch should do what you want.
Suppose the folder I want to restore is: "/srv/storage"
How do I construct the restore command?
This looks pretty easy, but I'm confused on the syntax to use here.
--limits=LIMITS: Restore filesystem or database limitations
LIMITS := " LIMIT -1 .. LIMIT -N"
LIMIT := -?( /path/to/include/or/exclude |
But reading from the yntax I'd say that to just restore /srv/storage you'd use something along the lines of
or if you wanted everything but /srv/storage then you'd use (note the '-')
But to be sure perhaps test in a VM.
More information about formatting options