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


Groups > linux.debian.user > #247362

Re: backing up backups

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: backing up backups
Date 2022-04-19 18:10 +0200
Message-ID <EdYAp-9OC8-13@gated-at.bofh.it> (permalink)
References <EaSrv-7VN6-1@gated-at.bofh.it> <EdYAp-9OC8-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue 19 Apr 2022 at 07:19:58 (+0200), DdB wrote:

> So i came up with the idea to create a sort of inventory using a sparse
> copy of empty files only (using mkdir, truncate + touch). The space
> requirements are affordable (like 2.3M for an inventory representing
> 3.5T of data). The effect being, that find will see those files by
> name/directory/time/size and permissions, allowing to find duplicates
> according to those attributes quite nicely.
> 
> Since i started doing that, i always do know exactly, what's out there
> and where to find it, as if i had only the inodes at hand. Suits MY
> needs. :-)

That sounds somewhat like my scheme for indexing my caddies, USB
sticks and SD cards. When I unmount them, a script makes three
indexes: the first running updatedb to a private database, the
second running find to produce a list of strictly alphabetically
ordered files (full name, --full-time and size) and the directories
containing them, and the third, most like yours, running ls -lAR
to another private database. The three indexes are propagated to
my other hosts.

Apart from being a plain text file, the output of ls -lAR, stored
either as ….lslR or ….lslR.gz, can be navigated with Midnight
Commander (mc) just as if it were a real filesystem. (Permissions
don't concern me.)

Cheers,
David.

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


Thread

backing up backups Default User <hunguponcontent@gmail.com> - 2022-04-11 05:00 +0200
  Re: backing up backups David <bouncingcats@gmail.com> - 2022-04-11 05:20 +0200
    Re: backing up backups Default User <hunguponcontent@gmail.com> - 2022-04-11 06:00 +0200
  Re: backing up backups David Christensen <dpchrist@holgerdanske.com> - 2022-04-11 06:50 +0200
    Re: backing up backups <tomas@tuxteam.de> - 2022-04-11 07:20 +0200
      Re: backing up backups David Christensen <dpchrist@holgerdanske.com> - 2022-04-11 18:10 +0200
        Re: backing up backups Default User <hunguponcontent@gmail.com> - 2022-04-13 18:30 +0200
          Re: backing up backups David Christensen <dpchrist@holgerdanske.com> - 2022-04-13 22:50 +0200
            Re: backing up backups Default User <hunguponcontent@gmail.com> - 2022-04-14 05:10 +0200
              Re: backing up backups David Christensen <dpchrist@holgerdanske.com> - 2022-04-14 09:30 +0200
                Re: backing up backups Default User <hunguponcontent@gmail.com> - 2022-04-18 22:10 +0200
                Re: backing up backups David Christensen <dpchrist@holgerdanske.com> - 2022-04-19 00:50 +0200
                Re: backing up backups David Wright <deblis@lionunicorn.co.uk> - 2022-04-21 23:00 +0200
  Re: backing up backups Keith Bainbridge <keithrboz@gmail.com> - 2022-04-19 06:00 +0200
  Re: backing up backups David Wright <deblis@lionunicorn.co.uk> - 2022-04-19 18:10 +0200

csiph-web