On Sat, Mar 15, 2025 at 07:50:27PM +0000, Tim Woodall wrote:
> On Fri, 14 Mar 2025, Russell L. Harris wrote:
> 
> > On Fri, Mar 14, 2025 at 02:07:53PM +0800, tim wade wrote:
> > > I plan to make increment backup for my home dir.
> > > It's currently in the size of 1xx GB.
> > 
> > I use git.  I keep terminal open running a ssh connection open to the
> > backup system.  Whenever I wish to save the state of the system, I
> > switch to the terminal and execute git commit.  To check the previous
> > state of a file, Emacs provides git-timemachine.
> > 
> > Simple and miminal hassle.
> > 
> git fails to preserve ownership, permissions or timestamps. While this may
[...]

Half-wrong. Git doesn't preserve ownerships, but it does preserve
permissions (the POSIX things). As for timestamps, it records the
last commit timestamp, which may be a "good enough" approximation
of the mtime or not.

If you want more, have a look at etckeeper [1], which was made on top
of git to address ownership et al.

Cheers
-- 
tomás

Attachment: signature.asc
Description: PGP signature

Reply via email to