On 2008-06-05 00:27, Bert Hiddink wrote:
Hello!
I am running rdiff-backup fine. However, when I want to achieve the
following:
rdiff-backup address@hidden::/home/bendoo/public_html/
/root/backup/bendoo/web
...but I only want to backup all directies in
/home/bendoo/public_html/ beginning with 'hp'.
However, the following does not work:
rdiff-backup address@hidden::'/home/bendoo/public_html/hp*'
/root/backup/bendoo/web
How could I achieve this, without having to list all directories, that
is, using a wildcard *?
Many thanks in advance!
Start by reading the man page. Especially the section "File selection".
Then try something like:
rdiff-backup \
--include '/home/bendoo/public_html/hp*' \
--exclude '/home/bendoo/public_html' \
address@hidden::/home/bendoo/public_html \
/root/backup/bendoo/web