[bitfolk] Backups in Panel?

Top Page

Reply to this message
Author: Robert Gauld
Date:  
Subject: [bitfolk] Backups in Panel?

--Dzs2zDY0zgkG72+7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Robert,

On Fri, Mar 02, 2012 at 09:44:19AM +0000, Robert Gauld wrote:
> 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'm afraid that it's set to only operate on items in the current
directory, because of bugs in different versions of rsync as to what
it does when multiple levels are considered.

So you'd need to put:

- tmp/
- log/
- .git/
=2E.etc..

in a .bitfolk-rsync-filter file in each of the above directories.

Cheers,
Andy

--=20
http://bitfolk.com/ -- No-nonsense VPS hosting

--Dzs2zDY0zgkG72+7
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEAREDAAYFAk9R5qQACgkQIJm2TL8VSQsGgACg+Da0Ltsd/mNStrgn5IeyvVBP
4gcAoJFYZW9+2HqHloVbRsOXmKTJovai
=Xqv5
-----END PGP SIGNATURE-----

--Dzs2zDY0zgkG72+7--


From andy@??? Sat Mar 03 10:00:51 2012
Received: from andy by mail.bitfolk.com with local (Exim 4.72)
    (envelope-from <andy@???>) id 1S3lli-0008FV-MJ
    for users@???; Sat, 03 Mar 2012 10:00:51 +0000
Date: Sat, 3 Mar 2012 10:00:50 +0000
From: Andy Smith <andy@???>
To: users@???
Message-ID: <20120303100049.GW4154@???>
References: <CAL4jrwThh+E3sZ9qbCKE1Mca5Gk2uQtM2onSpC2JH=Vdksa9yQ@???>
    <20120303093844.GU4154@???>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-ripemd160;
    protocol="application/pgp-signature"; boundary="GLp9dJVi+aaipsRk"
Content-Disposition: inline
In-Reply-To: <20120303093844.GU4154@???>
OpenPGP: id=BF15490B; url=http://strugglers.net/~andy/pubkey.asc
X-URL: http://strugglers.net/wiki/User:Andy
User-Agent: Mutt/1.5.18 (2008-05-17)
X-Virus-Scanner: Scanned by ClamAV on mail.bitfolk.com at Sat,
    03 Mar 2012 10:00:51 +0000
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: andy@???
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
    spamd0.lon.bitfolk.com
X-Spam-Level: 
X-Spam-ASN: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=NO_RELAYS shortcircuit=no
    autolearn=disabled version=3.3.1
X-Spam-Report: * -0.0 NO_RELAYS Informational: message was not relayed via SMTP
X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:14:11 +0000)
X-SA-Exim-Scanned: Yes (on mail.bitfolk.com)
Subject: Re: [bitfolk] .bitfolk-rsync-filter - what filter do I need
X-BeenThere: users@???
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: Users of BitFolk hosting <users.lists.bitfolk.com>
List-Unsubscribe: <https://lists.bitfolk.com/mailman/options/users>,
    <mailto:users-request@lists.bitfolk.com?subject=unsubscribe>
List-Archive: <http://lists.bitfolk.com/lurker/list/users.html>
List-Post: <mailto:users@lists.bitfolk.com>
List-Help: <mailto:users-request@lists.bitfolk.com?subject=help>
List-Subscribe: <https://lists.bitfolk.com/mailman/listinfo/users>,
    <mailto:users-request@lists.bitfolk.com?subject=subscribe>
X-List-Received-Date: Sat, 03 Mar 2012 10:00:52 -0000



--GLp9dJVi+aaipsRk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Robert,

On Sat, Mar 03, 2012 at 09:38:44AM +0000, Andy Smith wrote:
> I'm afraid that it's set to only operate on items in the current
> directory, because of bugs in different versions of rsync as to what
> it does when multiple levels are considered.


By the way, if you want to test what is going to happen, the command
line on our side is:

    rsync --filter=3D"dir-merge,n /.b