Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #262212

Re: Git for backup storage

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: Git for backup storage
Date 2023-10-07 08:00 +0200
Message-ID <Hm8w1-e5Z5-7@gated-at.bofh.it> (permalink)
References <HlPa1-dUpP-1@gated-at.bofh.it> <HlZVL-e0C3-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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 aren't going to use that in a Git backup with gigabytes
of data, believe me :-)

> 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 what do you
> expect to gain by deleting old stuff, outside of a smaller log to go
> through?

The backup idea is a good one for medium amounts of smallish files
(/etc comes to mind). Once big hunks like videos are involved, things
get sluggish.

Try doing "time sha1sum foo" where foo is an 1.2G video file to see
what I mean.

Cheers
-- 
t

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Git for backup storage Nicolas George <george@nsup.org> - 2023-10-06 11:20 +0200
  Re: Git for backup storage Max Nikulin <manikulin@gmail.com> - 2023-10-06 12:00 +0200
    Re: Git for backup storage Nicolas George <george@nsup.org> - 2023-10-06 13:30 +0200
  Re: Git for backup storage john doe <johndoe65534@mail.com> - 2023-10-06 13:00 +0200
    Re: Git for backup storage Nicolas George <george@nsup.org> - 2023-10-06 13:30 +0200
      Re: Git for backup storage john doe <johndoe65534@mail.com> - 2023-10-06 13:50 +0200
        Re: Git for backup storage Nicolas George <george@nsup.org> - 2023-10-06 14:50 +0200
          Re: Git for backup storage Stefan Monnier <monnier@iro.umontreal.ca> - 2023-10-06 15:30 +0200
            Re: Git for backup storage Nicolas George <george@nsup.org> - 2023-10-06 15:40 +0200
              Re: Git for backup storage Stefan Monnier <monnier@iro.umontreal.ca> - 2023-10-06 17:10 +0200
  Re: Git for backup storage Mike Castle <dalgoda+debian@gmail.com> - 2023-10-06 22:50 +0200
    Re: Git for backup storage <tomas@tuxteam.de> - 2023-10-07 08:00 +0200
      Re: Git for backup storage gene heskett <gheskett@shentel.net> - 2023-10-07 13:30 +0200

csiph-web