Re: [bitfolk] Sudden time shifts with ntpd

Top Page

Reply to this message
Author: Mathew Newton
Date:  
Subject: Re: [bitfolk] Sudden time shifts with ntpd
--bcaec517a79cf7e4a404ba3f8ee7
Content-Type: text/plain; charset=ISO-8859-1

On 2 March 2012 09:44, Robert Gauld <mailinglists@???> wrote:

> I'm stuck on this, I'm trying not to backup what really isn't needed is
> some rails apps I'm doing. Basically Bitfolk does backups of (amongst other
> things) my /var directory (I already have a .bitfolk-rsync-filter to ensure
> that some stuff in /var isn't backed up). In side /var/www/rails-apps I
> have a rails app (with more to be added), since the git repositotires 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.
>
> I have a /var/www/.bitfolk-rsync-filter file with the following contents:
> - .*
> - .*/
> - rails-apps/*/tmp/
> - rails-apps/*/log/
> - rails-apps/**/.git*
> - rails-apps/*/.git/
>
> I have also tried this contents:
> - .*
> - .*/
> - /var/www/rails-apps/*/tmp/
> - /var/www/rails-apps/*/log/
> - /var/www/rails-apps/**/.git*
> - /var/www/rails-apps/*/.git/
>
> However the following files (which I don't want backed up) are being
> backed up:
> /var/www/rails-apps/osmx.staging/.git (directory)
> /var/www/rails-apps/osmx.staging/.gitignore
> /var/www/rails-apps/osmx.staging/vendor/plugins/.gitkeep
> /var/www/rails-apps/osmx.staging/vendor/assets/stylesheets/.gitkeep
> /var/www/rails-apps/osmx.staging/lib/tasks/.gitkeep
> /var/www/rails-apps/osmx.staging/lib/assets/.gitkeep
> /var/www/rails-apps/osmx.staging/test/integration/.gitkeep
> /var/www/rails-apps/osmx.staging/test/functional/.gitkeep
> /var/www/rails-apps/osmx.staging/test/unit/.gitkeep
> /var/www/rails-apps/osmx.staging/test/fixtures/.gitkeep
> /var/www/rails-apps/osmx.staging/.gitignore
> /var/www/rails-apps/osmx.staging/app/models/.gitkeep
> /var/www/rails-apps/osmx.staging/app/mailers/.gitkeep
>
> What have I got wrong (so far neither the man page or Google have helped
> me)?
>
> --
> Robert Gauld
> http://www.robertgauld.co.uk
>
>

I 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">&lt;<a href=3D"mailto:mailinglists@robertgauld.co.uk">mailinglists@ro=
bertgauld.co.uk</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I&#39;m stuck on this, I&#39;m trying not to backup what really isn&#39;t n=
eeded is some rails apps I&#39;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&#39;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&#39;t want to =
backup each app&#39;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&#39;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>