Re: Qn about rsnapshot/rsync directory filter rules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Patrick,

On Sun, Feb 20, 2011 at 5:32 AM, Patrick O'Callaghan
<pocallaghan@xxxxxxxxx> wrote:
> On Sun, 2011-02-20 at 01:20 -0800, Suvayu Ali wrote:
>> I wish to understand the filter so that I can build the entire rule
>> set
>> in layers. Something like this,
>>
>> 1. ignore all files
>> 2. add backup_root/dir1
>> 3. add backup_root/some_file
>>
>> So the subsequent layers overrule (I think logically its an OR) the
>> previous rule set. This way the backup process will ignore files
>> unless
>> other wise specified. Is that possible? Or am I asking for something
>> which is achieved more easily/differently?
>
> Can't you just run rsnapshot on backup_root? I'm afraid I don't really
> understand what you're trying to do.
>

Sorry I wasn't clear. I am trying to setup my include/exclude ruleset
on the sending side instead of as a global setting as I intend to back
up multiple machines simultaneously. I wasn't getting the desired
results when I was using directory filters. I think it was because I
had misunderstood how rsync uses the filter rules for directory
specific filters. My problem was I had put the exclude rules _before_
the include rules, so rsync was skipping the directories before my
include rules could take effect.

> poc

Thanks for your response.

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux