forgot to add /var/www/rails-apps/osmx.staging/tmp
and /var/www/rails-apps/osmx.staging/log directories to what it's backing
up but shouldn't.
--
Robert Gauld
http://www.robertgauld.co.uk
--bcaec517a79cf7e4a404ba3f8ee7
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div class=3D"gmail_quote">On 2 March 2012 09:44, Robert Gauld <span dir=3D=
"ltr"><<a href=3D"
mailto:mailinglists@robertgauld.co.uk">mailinglists@ro=
bertgauld.co.uk</a>></span> wrote:<br><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm stuck on this, I'm trying not to backup what really isn't n=
eeded is some rails apps I'm doing. Basically Bitfolk does backups of (=
amongst other things) my /var directory (I already have a .bitfolk-rsync-fi=
lter to ensure that some stuff in /var isn't backed up). In side /var/w=
ww/rails-apps I have a rails app (with more to be added), since the git rep=
ositotires the code comes from are backed up elsewhere I don't want to =
backup each app's .git folder or any .git* files. I also don;t want to =
backup the log or tmp directories for each app.<div>
<br></div><div>I have a=A0/var/www/.bitfolk-rsync-filter file with the foll=
owing contents:<div><div>- .*</div><div>- .*/</div><div>- rails-apps/*/tmp/=
</div><div>- rails-apps/*/log/</div><div>- rails-apps/**/.git*</div><div>
- rails-apps/*/.git/</div><div><br></div><div>I have also tried this conten=
ts:</div><div><div>- .*</div><div>- .*/</div><div>- /var/www/rails-apps/*/t=
mp/</div><div>-=A0/var/www/rails-apps/*/log/</div><div>-=A0/var/www/rails-a=
pps/**/.git*</div>
<div>-=A0/var/www/rails-apps/*/.git/</div></div><div><br></div><div>However=
the following files (which I don't want backed up) are being backed up=
:</div><div>/var/www/rails-apps/osmx.staging/.git (directory)</div><div>
/var/www/rails-apps/osmx.staging/.gitignore</div>
<div>/var/www/rails-apps/osmx.staging/vendor/plugins/.gitkeep</div><div>/va=
r/www/rails-apps/osmx.staging/vendor/assets/stylesheets/.gitkeep</div><div>=
/var/www/rails-apps/osmx.staging/lib/tasks/.gitkeep</div><div>/var/www/rail=
s-apps/osmx.staging/lib/assets/.gitkeep</div>
<div>/var/www/rails-apps/osmx.staging/test/integration/.gitkeep</div><div>/=
var/www/rails-apps/osmx.staging/test/functional/.gitkeep</div><div>/var/www=
/rails-apps/osmx.staging/test/unit/.gitkeep</div><div>/var/www/rails-apps/o=
smx.staging/test/fixtures/.gitkeep</div>
<div>/var/www/rails-apps/osmx.staging/.gitignore</div><div>/var/www/rails-a=
pps/osmx.staging/app/models/.gitkeep</div><div>/var/www/rails-apps/osmx.sta=
ging/app/mailers/.gitkeep</div><div><br></div><div>What have I got wrong (s=
o far neither the man page or Google have helped me)?</div>
<span class=3D"HOEnZb"><font color=3D"#888888">
<div><br></div>-- <br>Robert Gauld<br><a href=3D"
http://www.robertgauld.co.=
uk" target=3D"_blank">
http://www.robertgauld.co.uk</a><br>
<br>
</font></span></div></div>
</blockquote></div><br>I forgot to add=A