Re: Ok so Now which backup should I use
Celejar <celejar@gmail.com> writes:
> On Tue, 16 May 2023 09:52:07 +0800
> Jeremy Ardley <jeremy@ardley.org> wrote:
>
>>
>> On 16/5/23 09:11, paulf@quillandmouse.com wrote:
>> > I'd suggest backing up /etc, since that's where your system settings
>> > are. I also back up /var, since that's typically where your logs and
>> > mail are.
>>
>> There is a lot relevant of stuff in /usr/local
>>
>> For instance some programs use /usr/local/etc rather than /etc
>
> They do? I see that my /usr/local/etc is empty. What programs use this
> directory
It's an odd claim. I typically don't have anything in /usr/local except
what I put there myself. Some Debian packages do create a directory in
/usr/local/share but leave it empty. So what goes in /usr/local is
mostly software I've compiled myself and maybe some little
scripts. Basically stuff I might use both as both root and normal
user. If it's just for my non-privileged user account then it typically
goes in $HOME/bin or the more modern $HOME/.local/bin.
So for me, /usr/local is useful to back up but typically it amounts to
very little data. My Debian router has all of 812 kB in there, for
example.
Reply to: