Deutsch   English   Français   Italiano  
<lsujdaFl7p7U3@mid.individual.net>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: vallor <vallor@cultnix.org>
Newsgroups: comp.os.linux.misc
Subject: Re: Linux upgrade.
Date: 24 Dec 2024 02:08:42 GMT
Lines: 42
Message-ID: <lsujdaFl7p7U3@mid.individual.net>
References: <fb17ffb6-7435-ebc1-6654-11eb88a1686a@example.net>
	<vkcmpj$1dbt6$1@dont-email.me> <vkcpir$1dp54$4@dont-email.me>
	<vkcuuf$1f5m0$1@dont-email.me> <vkcv50$1f4ve$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net P5Jf7EW6DMKBaQTxkg3SoALZkEQRG9g9u/4UlWb0b40G1ORC+Y
Cancel-Lock: sha1:fkzF/U23LKe9KrbcllB/1xFJmks= sha256:rhR2Xeras2PX3zNX6uLPkObuPGINWrigoONSosYuepI=
X-Face: +McU)#<-H?9lTb(Th!zR`EpVrp<0)1p5CmPu.kOscy8LRp_\u`:tW;dxPo./(fCl
 CaKku`)]}.V/"6rISCIDP`
User-Agent: Pan/0.161 (Hmm2; be402cc9; Linux-6.12.6)

On Tue, 24 Dec 2024 00:27:12 -0000 (UTC), Lawrence D'Oliveiro
<ldo@nz.invalid> wrote in <vkcv50$1f4ve$2@dont-email.me>:

> On Tue, 24 Dec 2024 00:23:43 -0000 (UTC), John McCue wrote:
> 
>> Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>
>>> On Mon, 23 Dec 2024 22:04:35 -0000 (UTC), John McCue wrote:
>>> 
>>>> ... my yearly tradition is to do multiple full system backup of my
>>>> workstation and server this time a year.
>>> 
>>> The only things I consider crucial to back up are my own work. I don?t
>>> bother backing up OS installations, apart from the contents of /etc.
>> 
>> Yes, that is what I do, backup data, static data dirs with various OS
>> Config Dirs.
> 
> And here’s another tip: before modifying anything in /etc, I try to make
> a backup copy with the suffix “-orig” attached. That way, it’s easy to
> find all the places I’ve customized the config, with a simple command
> like
> 
>     find /etc -iname \*-orig

Or you could:

# mkdir RCS
# ci -w(your username) -l -d (filename)

rcs, the revision control system, is lightweight and easy to handle.  You
can diff your files with rcsdiff.

Beats keeping around "filename-orig", "filename.old",
"filename.notsoold", "filename.thisoneworkedbefore", etc.

(Or, you could use git, but that's overkill for /etc files...)

-- 
-v System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090 Ti
   OS: Linux 6.12.6 Release: Mint 21.3 Mem: 258G
   "The cost of feathers has risen... Now even DOWN is up!"