How to backup more than 2 folders
Closed this issue · 2 comments
kuyagic commented
the --backup
param can only process one folder
How can I backup both /root
and /opt
folder in a revision
X-Ryl669 commented
As you've seen, you can't have 2 --backup
parameter.
The 2 solutions I see are:
- You backup
/
and use exclusion rules to exclude everything except/root
and/opt
, or simpler, exclude everything (--exclude
) and re-include/root
and/opt
only in--include
(so you don't need to list all item in/
) - Make 2 successive backup (one in
/root
, the other in/opt
). That's what I'm doing.
X-Ryl669 commented
Thank you for your report.