Re: [gentoo-user] Is distfile partial mirror with failover possible?

2023-09-05 Thread William Kenworthy
On 5/9/23 22:58, Walter Dnes wrote: On Tue, Sep 05, 2023 at 08:04:19AM +0100, Neil Bothwick wrote On Mon, 4 Sep 2023 22:54:38 -0400, Walter Dnes wrote: It looks like remote-mounting /var/cache/distfiles might be the quick-n-dirty solution like Alan suggested. And I never have a need to h

Re: [gentoo-user] tar exclude files question

2023-09-05 Thread Walter Dnes
On Tue, Sep 05, 2023 at 08:36:00PM +0200, Alan McKinnon wrote > > Try it and see. My concern is that the man page implies that with > --exclude-caches-under the subdirectories are excluded recursively, > but the directory with the file called CACHEDIR.TAG is not. I'm sure > that's wrong but the m

Re: [gentoo-user] tar exclude files question

2023-09-05 Thread Walter Dnes
On Tue, Sep 05, 2023 at 07:38:54PM +0100, Michael wrote > > Have a look at this page which explains what you need to do: > > https://bford.info/cachedir/ Thank you! Thank you! Thank you! That page explains that any random CACHEDIR.TAG file won't suffice, and why my attempts were all failing.

Re: [gentoo-user] tar exclude files question

2023-09-05 Thread Dale
Michael wrote: > On Tuesday, 5 September 2023 16:28:31 BST Walter Dnes wrote: >> Every so often I tar up my home directory on my main machine, and push >> it over to my "hot backup" machine, and then do a tap-dance with the >> .ssh directory. I notice oodles of cache files being tarred. Do I >>

Re: [gentoo-user] tar exclude files question

2023-09-05 Thread Michael
On Tuesday, 5 September 2023 16:28:31 BST Walter Dnes wrote: > Every so often I tar up my home directory on my main machine, and push > it over to my "hot backup" machine, and then do a tap-dance with the > .ssh directory. I notice oodles of cache files being tarred. Do I > understand the man p

Re: [gentoo-user] tar exclude files question

2023-09-05 Thread Alan McKinnon
On Tue, Sep 5, 2023 at 5:28 PM Walter Dnes wrote: > Every so often I tar up my home directory on my main machine, and push > it over to my "hot backup" machine, and then do a tap-dance with the > .ssh directory. I notice oodles of cache files being tarred. Do I > understand the man page corre

Re: [gentoo-user] Is distfile partial mirror with failover possible?

2023-09-05 Thread Michael
On Tuesday, 5 September 2023 16:33:43 BST Walter Dnes wrote: > On Tue, Sep 05, 2023 at 04:07:16PM +0100, Michael wrote > > > On Tuesday, 5 September 2023 15:58:05 BST Walter Dnes wrote: > > > And while we're at it, howsabout "emerge --sync" on one host, and then > > > > > > remote-mounting /var

RE: [gentoo-user] Is distfile partial mirror with failover possible?

2023-09-05 Thread Laurence Perkins
> > > From: Alan McKinnon alan.mckin...@gmail.com > Sent: Monday, September 4, 2023 12:38 PM > To: gentoo-user@lists.gentoo.org > Subject: Re: [gentoo-user] Is distfile partial mirror with failover possible? > > BTW Welcome back A

Re: [gentoo-user] Is distfile partial mirror with failover possible?

2023-09-05 Thread Walter Dnes
On Tue, Sep 05, 2023 at 04:07:16PM +0100, Michael wrote > On Tuesday, 5 September 2023 15:58:05 BST Walter Dnes wrote: > > > > And while we're at it, howsabout "emerge --sync" on one host, and then > > remote-mounting /var/db/repos/gentoo ? > > Take a look here: > > https://wiki.gentoo.org/wik

[gentoo-user] tar exclude files question

2023-09-05 Thread Walter Dnes
Every so often I tar up my home directory on my main machine, and push it over to my "hot backup" machine, and then do a tap-dance with the .ssh directory. I notice oodles of cache files being tarred. Do I understand the man page correctly about the CACHEDIR.TAG "magic file"? Assume I have a .c

Re: [gentoo-user] Is distfile partial mirror with failover possible?

2023-09-05 Thread Neil Bothwick
On Tue, 05 Sep 2023 16:07:16 +0100, Michael wrote: > > And while we're at it, howsabout "emerge --sync" on one host, and > > then remote-mounting /var/db/repos/gentoo ? > > Take a look here: > > https://wiki.gentoo.org/wiki/Local_Mirror I used to do that, the server syncing with Gentoo then

Re: [gentoo-user] Is distfile partial mirror with failover possible?

2023-09-05 Thread Michael
On Tuesday, 5 September 2023 15:58:05 BST Walter Dnes wrote: > On Tue, Sep 05, 2023 at 08:04:19AM +0100, Neil Bothwick wrote > > > On Mon, 4 Sep 2023 22:54:38 -0400, Walter Dnes wrote: > > > It looks like remote-mounting /var/cache/distfiles might be the > > > > > > quick-n-dirty solution like

Re: [gentoo-user] Is distfile partial mirror with failover possible?

2023-09-05 Thread Michael
On Tuesday, 5 September 2023 10:06:42 BST hitachi303 wrote: > Am 04.09.23 um 15:04 schrieb Michael: > > PS. Is http_replicator still available/maintained? I see the wiki > > mentions > > apt-cacher-ng for local distfiles cache. > > IIRC it died when python or perl 2.x was no longer available. It

Re: [gentoo-user] Is distfile partial mirror with failover possible?

2023-09-05 Thread Walter Dnes
On Tue, Sep 05, 2023 at 08:04:19AM +0100, Neil Bothwick wrote > On Mon, 4 Sep 2023 22:54:38 -0400, Walter Dnes wrote: > > > It looks like remote-mounting /var/cache/distfiles might be the > > quick-n-dirty solution like Alan suggested. And I never have a need to > > have emerge run simultaneous

Re: [gentoo-user] Is distfile partial mirror with failover possible?

2023-09-05 Thread hitachi303
Am 04.09.23 um 15:04 schrieb Michael: PS. Is http_replicator still available/maintained? I see the wiki mentions apt-cacher-ng for local distfiles cache. IIRC it died when python or perl 2.x was no longer available.

Re: [gentoo-user] Is distfile partial mirror with failover possible?

2023-09-05 Thread Neil Bothwick
On Mon, 4 Sep 2023 22:54:38 -0400, Walter Dnes wrote: > On Mon, Sep 04, 2023 at 06:21:27PM +0100, Neil Bothwick wrote > > I use apt-cacher-ng for this and it does what you are looking for. > > https://wiki.gentoo.org/wiki/Local_distfiles_cache#Open_issues says... > > > Open issues > > > > *