From: <pru...@la...> - 2004-12-20 09:46:09
|
Le vendredi 17 D=E9cembre 2004 07:46, Computer King a =E9crit=A0: > I am having the same problems with /usr/src /usr/ports directories > > Pierluigi Di Lorenzo wrote: > >I'm a flexbackup user from about 4 months. > >I'm having problem using $prune option to exclude some directory. > >I'm backing up /home ($set{'backup'} =3D "/home";) using dump and I want= to > >exclude subdirectory /home/backup and /home/images/mondo > >I tried with variuos combinations like: > >$prune{'/'} =3D "backup images/mondo"; > >and others, with the same result of not excluding files from backup. > >I read faq, perhaps I don't understand how regex works :( > >Can someone explain how can I do this? > >Thank's in advance! Prune is per file systems, so use this : $prune{'/home'} =3D "backup images/mondo"; |