|
From: | Bert Hiddink |
Subject: | Re: [rdiff-backup-users] Using wildcard for directories to include? |
Date: | Thu, 05 Jun 2008 07:20:09 -0600 |
User-agent: | Thunderbird 2.0.0.14 (Macintosh/20080421) |
Hello Paul! Thanks for your reply. I followed your suggestion, in fact, I had done something similar before but got an error and thought this was due to a wrong syntax. The error I get with your code is this: "Fatal Error: Source /home/bendoo/public_html is not a directory" Can rdiff-backup not follow symbolic links? Thanks again for your help! Best regards, bert -- Vriendelijke groeten / Best regards / Saludos cordiales, Bert Hiddink --------------------- BENDOO e-work solutions http://www.bendoo.nl address@hidden --------------------- Paul Bijnens wrote:
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/webHow 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
[Prev in Thread] | Current Thread | [Next in Thread] |