You are here
Todd Forsberg - Sun, 2011/12/04 - 22:37
I found articles (or topics) discussing how to limit what is backed up, but how do I restore only a particular folder?
Forum:
I found articles (or topics) discussing how to limit what is backed up, but how do I restore only a particular folder?
I haven't used it
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.
Hmmm.... Ok. Suppose the
Hmmm.... Ok.
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 |
-Todd Forsberg
I'm only guessing...
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.
Add new comment