Git for backup storage

2023-10-06 Thread Nicolas George
Hi. There is a project I have that requires some scripting, but I am wondering if somebody already did something similar and there is a package that I can just apt-get install. The idea is to use Git to store backups of text files that change rather rarely or not a lot, because Git is very effici

usrmerge in bookworm

2023-10-06 Thread Steve Keller
I have upgraded from bullseye to bookworm and it seems the package usrmerge is installed forcedly now. At least it has been installed and I haven't been asked about it :-( I have always been sceptical about /usr merge, since all binaries now appear in two places, "type sh" in bash gives the st

Re: usrmerge in bookworm

2023-10-06 Thread Marco
Am 06.10.2023 schrieb Steve Keller : > I have upgraded from bullseye to bookworm and it seems the package > usrmerge is installed forcedly now. At least it has been installed > and I haven't been asked about it :-( > > I have always been sceptical about /usr merge, since all binaries now > appea

Re: Bullseye wi-fi. I have to restart NetworkManager every 5 minutes

2023-10-06 Thread Andrew M.A. Cater
On Fri, Oct 06, 2023 at 09:23:55AM +, Ottavio Caruso wrote: > Hi, > > $ uname -a > Linux t440 6.0.0-0.deb11.6-amd64 #1 SMP PREEMPT_DYNAMIC Debian > 6.0.12-1~bpo11+1 (2022-12-19) x86_64 GNU/Linux > > $ cat /etc/debian_version > 11.2 > > First things first: bring your system up to date with

Re: Git for backup storage

2023-10-06 Thread Max Nikulin
On 06/10/2023 16:14, Nicolas George wrote: Unfortunately, Git is very bad at removing old data I have no idea if it is possible to do it in place, but "git clone" and "git fetch" have the --depth option. So you can specify how many last commits you would like to have in the cloned repository.

Re: Bullseye wi-fi. I have to restart NetworkManager every 5 minutes

2023-10-06 Thread Max Nikulin
On 06/10/2023 16:23, Ottavio Caruso wrote: For some reason, every time I am connected to wifi, pages can't load after 5 minutes of activity and I have to restart NetworkManager to get them back. Does it help to just disable/enable WiFi in the NetworkManager applet? You may try to disable po

Re: Git for backup storage

2023-10-06 Thread john doe
On 10/6/23 11:14, Nicolas George wrote: Hi. There is a project I have that requires some scripting, but I am wondering if somebody already did something similar and there is a package that I can just apt-get install. The idea is to use Git to store backups of text files that change rather rarel

Re: Bullseye wi-fi. I have to restart NetworkManager every 5 minutes

2023-10-06 Thread Max Nikulin
On 06/10/2023 16:23, Ottavio Caruso wrote: I have the latest kernel from Bullseye backports. I don't want to upgrade yet. You may try to boot from a live image and to check if up to date software stack behaves better without touching of installed OSes.

Re: usrmerge in bookworm

2023-10-06 Thread Greg Wooledge
On Fri, Oct 06, 2023 at 11:06:56AM +0200, Steve Keller wrote: > $ dpkg -S $(type -p sh) > dpkg-query: no path found matching pattern /usr/bin/sh > > And I don't see a comfortable way around this. Yeah, usrmerge is a bit wonky in these early stages. Part of the reason for this is that it'

Re: Git for backup storage

2023-10-06 Thread Nicolas George
john doe (12023-10-06): > I do not understand why you would want multiple repos, to me this looks > like this would fit the bill for a Git branching workflow. Please elaborate. How do you work around the fact that Git is terrible at removing data with a single repository? Regards, -- Nicolas

Re: Git for backup storage

2023-10-06 Thread Nicolas George
Max Nikulin (12023-10-06): > I have no idea if it is possible to do it in place, but "git clone" and "git > fetch" have the --depth option. So you can specify how many last commits you > would like to have in the cloned repository. Using "git rebase I know. They only allow to keep the last commits

Re: Git for backup storage

2023-10-06 Thread john doe
On 10/6/23 13:26, Nicolas George wrote: john doe (12023-10-06): I do not understand why you would want multiple repos, to me this looks like this would fit the bill for a Git branching workflow. Please elaborate. How do you work around the fact that Git is terrible at removing data with a sing

Does the debian kernel sends the gratuitous arp ?

2023-10-06 Thread Balaji G
Hi, I am using "Debian GNU/Linux 11 (bullseye)" with kernel version 5.16.12. When i do a link up/down i don't see any Gratuitous ARP being sent. # echo 1 > /proc/sys/net/ipv4/conf/eno5np0/arp_notify # ip link set down dev eno5np0 # ip link set up dev eno5np0 Captured all the packets via tcpdu

Re: Git for backup storage

2023-10-06 Thread Nicolas George
john doe (12023-10-06): > Please elaborate on why Git is so bad at removing data from a single > repository? Have you tried? The very principle of Git makes it necessary, to remove or update old data, to rewrite the whole subsequent history. Furthermore, it is done by creating a new branch, the or

Re: Git for backup storage

2023-10-06 Thread Stefan Monnier
> Have you tried? The very principle of Git makes it necessary, to remove > or update old data, to rewrite the whole subsequent history. > Furthermore, it is done by creating a new branch, the original data is > not actually deleted. `git gc` does delete the old data (if it's not reachable any mor

Re: Git for backup storage

2023-10-06 Thread Nicolas George
Stefan Monnier (12023-10-06): > `git gc` does delete the old data (if it's not reachable any more). And it is very expensive. My point exactly. > BTW, if you want to (ab)use a Git repository to do backups, you should > definitely look at `bup`. Thanks, it might be exactly what I am looking for.

Re: usrmerge in bookworm

2023-10-06 Thread Urs Thuermann
Marco writes: > Am 06.10.2023 schrieb Steve Keller : > > > I have always been sceptical about /usr merge, since all binaries now > > appear in two places, "type sh" in bash gives the strange looking > > /usr/bin/sh where all Uni*ers are strongly used to /bin/sh. But also > > things like the fol

Re: usrmerge in bookworm

2023-10-06 Thread Urs Thuermann
Greg Wooledge writes: > Yeah, usrmerge is a bit wonky in these early stages. $ apt-get changelog usrmerge | tail -n2 -- Marco d'Itri Tue, 04 Nov 2014 22:42:44 +0100 Fetched 11.0 kB in 0s (58.9 kB/s) Not what I'd call 'early' stages. > Part of the reason for this is that it's n

Re: Git for backup storage

2023-10-06 Thread Stefan Monnier
>> `git gc` does delete the old data (if it's not reachable any more). > And it is very expensive. My point exactly. It's fairly expensive indeed, but it's usually an operation that is not very time-sensitive: it can usually be delayed to a convenient time, and you can run it infrequently and as

Re: Does the debian kernel sends the gratuitous arp ?

2023-10-06 Thread Geert Stappers
On Fri, Oct 06, 2023 at 05:52:16PM +0530, Balaji G wrote: > Hi, > I am using "Debian GNU/Linux 11 (bullseye)" with kernel version 5.16.12. > When i do a link up/down i don't see any Gratuitous ARP being sent. ARP > # echo 1 > /proc/sys/net/ipv4/conf/eno5np0/arp_notify Probably transmitted

Re: Git for backup storage

2023-10-06 Thread Mike Castle
Something I played with recently was https://packages.debian.org/stable/vcs/git-filter-repo But you definitely want to run tests on real data before you decide that deleting old data saves your anything, particularly with respect to time. If git is so efficient at storing this kind of data, then

Re: Does the debian kernel sends the gratuitous arp ?

2023-10-06 Thread Jeffrey Walton
On Fri, Oct 6, 2023 at 2:04 PM Balaji G wrote: > > Hi, > I am using "Debian GNU/Linux 11 (bullseye)" with kernel version 5.16.12. > When i do a link up/down i don't see any Gratuitous ARP being sent. > > # echo 1 > /proc/sys/net/ipv4/conf/eno5np0/arp_notify > # ip link set down dev eno5np0 > #

Re: Web functionality;

2023-10-06 Thread peter
From: Date: Sun, 8 Jan 2023 17:39:20 +0100 > I do disagree with much of what the Mozilla foundation does, and at > the end, they see the world through ad-industry coloured goggles, but > they are the last credible ditch we have. Considering how minimal Dillo is, it has worthwhile capabili

Re: usrmerge in bookworm

2023-10-06 Thread Andy Smith
Hello, On Fri, Oct 06, 2023 at 04:42:56PM +0200, Urs Thuermann wrote: > Greg Wooledge writes: > > > Yeah, usrmerge is a bit wonky in these early stages. > > $ apt-get changelog usrmerge | tail -n2 > -- Marco d'Itri Tue, 04 Nov 2014 22:42:44 +0100 > Fetched 11.0 kB in 0s (58.9 k

Re: Does the debian kernel sends the gratuitous arp ?

2023-10-06 Thread tomas
On Fri, Oct 06, 2023 at 05:20:22PM -0400, Jeffrey Walton wrote: > On Fri, Oct 6, 2023 at 2:04 PM Balaji G wrote: > > > > Hi, > > I am using "Debian GNU/Linux 11 (bullseye)" with kernel version 5.16.12. > > When i do a link up/down i don't see any Gratuitous ARP being sent. > > > > # echo 1 > /

Re: Web functionality;

2023-10-06 Thread tomas
On Fri, Oct 06, 2023 at 01:27:14PM -0700, pe...@easthope.ca wrote: > From: > Date: Sun, 8 Jan 2023 17:39:20 +0100 > > I do disagree with much of what the Mozilla foundation does, and at > > the end, they see the world through ad-industry coloured goggles, but > > they are the last credible

Re: Git for backup storage

2023-10-06 Thread tomas
On Fri, Oct 06, 2023 at 01:44:34PM -0700, Mike Castle wrote: > Something I played with recently was > https://packages.debian.org/stable/vcs/git-filter-repo Yes, it does work. My typical use case is when someone has put a password in the repo you don't even want to have in the history. But you ar