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


Groups > comp.sys.raspberry-pi > #25919

Re: My darn NAS...

From Martin Gregorie <martin@mydomain.invalid>
Newsgroups comp.sys.raspberry-pi
Subject Re: My darn NAS...
Date 2021-01-14 15:22 +0000
Organization A noiseless patient Spider
Message-ID <rtpnj5$f78$5@dont-email.me> (permalink)
References <rtp8k8$55d$5@dont-email.me> <610634576@f1.n770.z6810.fidonet.org> <rtpgma$f78$2@dont-email.me> <rtphie$881$1@dont-email.me>

Show all headers | View raw


On Thu, 14 Jan 2021 13:39:26 +0000, The Natural Philosopher wrote:

> On 14/01/2021 13:24, Martin Gregorie wrote:
>> On Thu, 14 Jan 2021 06:36:06 +1300, Richard Falken wrote:
>> 
>>> Re: Re: My darn NAS...
>>>    By: The Natural Philosopher to Chris Green on Thu Jan 14 2021 11:06
>>>    am
>>>
>>>   > depends on what you want. I rsync huge amounts of data. Disk space
>>>   > is cheap. Recovering from data loss is not, Working out what is
>>>   > important and what is not is even more expensive.
>>>   >
>>>   >
>>> I agree with this position.
>>>
>>> I know that just backing up the data that is not easily reproductible
>>> suffices,
>>> in theory. However, if you only back the data up without the
>>> applications and the OS stack, your recovery consits on a sysadmin
>>> installing software for a week and swearing at his notebook.
>> 
>> Theres a simple tweak that fixes most of that stuff: move /usr/local to
>> /home local and replace it with a symlink to /home/local
>> 
>> I've done the the equivalent with my (large) PostgreSQL databases and
>> my local Apache- based website (by default these are in /var, so I
>> changed their configurations to put these files in /home too.
>> 
>> Everything continues to work as before but now I've secured almost all
>> of my own work and customisation by backing up /home
>> 
>> The only thing thats not safeguarded now is the contents of /etc, so
>> either back that up along with /home or keep copies of everything in
>> /etc that you've explicitly changed in, say, your normal home login. I
>> do the latter but of course ymmv. Changes in /etc made by software
>> updates don't need backing up because they'll be automatically
>> reapplied when you're rebuilding the failed device that holds your
>> filing system.
>>   
>>   
> what about /var  that contains all the webs servers and Mysql databases
> by default? /opt as well has stuff in it. /boot has grub configs

As I said, I don't need to back up /var because I moved the stuff that 
defaults to /var that I've explicitly set up (PostgreSQL database, Apache 
website) into dedicated logins in /home and changed the PostgreSQL and 
Apache configurations  accordingly. Copies of those configuration files 
are are in my main login directory, which is, of course, in /home and so
automatically backed up along with everything else in it.
  
I've never made changes in /opt, so I don't need to back it up: a 
reinstall will fix it. 

Similarly I haven't made any changes to the grub configuration, so don't 
need to back it up because the Fedora 'install over the net with dnf' 
will restore that automatically. 



-- 
--  
Martin    | martin at
Gregorie  | gregorie dot org

Back to comp.sys.raspberry-pi | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

My darn NAS... nospam.paul.lee@f420.n105.z1.binkp.net (paul lee) - 2021-01-10 17:46 +1300
  Re: My darn NAS... The Natural Philosopher <tnp@invalid.invalid> - 2021-01-11 04:10 +0000
    Re: My darn NAS... nospam.paul.lee@f420.n105.z1.binkp.net (paul lee) - 2021-01-12 00:28 +1300
      Re: My darn NAS... The Natural Philosopher <tnp@invalid.invalid> - 2021-01-12 10:26 +0000
      Re: My darn NAS... Chris Green <cl@isbd.net> - 2021-01-12 10:57 +0000
        Re: My darn NAS... Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2021-01-12 12:16 -0500
          Re: My darn NAS... Chris Green <cl@isbd.net> - 2021-01-12 18:04 +0000
            Re: My darn NAS... Ahem A Rivet's Shot <steveo@eircom.net> - 2021-01-12 18:38 +0000
            Re: My darn NAS... The Natural Philosopher <tnp@invalid.invalid> - 2021-01-13 12:20 +0000
              Re: My darn NAS... Chris Green <cl@isbd.net> - 2021-01-13 12:42 +0000
              Re: My darn NAS... Ahem A Rivet's Shot <steveo@eircom.net> - 2021-01-13 12:39 +0000
                Re: My darn NAS... The Natural Philosopher <tnp@invalid.invalid> - 2021-01-13 14:23 +0000
                Re: My darn NAS... Ahem A Rivet's Shot <steveo@eircom.net> - 2021-01-13 18:21 +0000
                Re: My darn NAS... The Natural Philosopher <tnp@invalid.invalid> - 2021-01-13 19:25 +0000
                Re: My darn NAS... Daniel James <daniel@me.invalid> - 2021-01-14 12:58 +0000
                Re: My darn NAS... TimS <timstreater@greenbee.net> - 2021-01-14 13:10 +0000
                Re: My darn NAS... The Natural Philosopher <tnp@invalid.invalid> - 2021-01-14 13:35 +0000
              Re: My darn NAS... Scott Alfter <scott@alfter.diespammersdie.us> - 2021-01-13 17:33 +0000
              Re: My darn NAS... nospam.paul.lee@f420.n105.z1.binkp.net (paul lee) - 2021-01-13 16:22 +1300
        Re: My darn NAS... nospam.paul.lee@f420.n105.z1.binkp.net (paul lee) - 2021-01-12 13:20 +1300
          Re: My darn NAS... Chris Green <cl@isbd.net> - 2021-01-13 09:46 +0000
            Re: My darn NAS... The Natural Philosopher <tnp@invalid.invalid> - 2021-01-13 12:21 +0000
            Re: My darn NAS... nospam.paul.lee@f420.n105.z1.binkp.net (paul lee) - 2021-01-13 16:20 +1300
              Re: My darn NAS... Chris Green <cl@isbd.net> - 2021-01-14 08:56 +0000
                Re: My darn NAS... The Natural Philosopher <tnp@invalid.invalid> - 2021-01-14 11:06 +0000
                Re: My darn NAS... TimS <timstreater@greenbee.net> - 2021-01-14 11:43 +0000
                Re: My darn NAS... Ahem A Rivet's Shot <steveo@eircom.net> - 2021-01-14 12:22 +0000
                Re: My darn NAS... The Natural Philosopher <tnp@invalid.invalid> - 2021-01-14 12:43 +0000
                Re: My darn NAS... Chris Green <cl@isbd.net> - 2021-01-14 13:29 +0000
                Re: My darn NAS... druck <news@druck.org.uk> - 2021-01-14 17:42 +0000
                Re: My darn NAS... The Natural Philosopher <tnp@invalid.invalid> - 2021-01-14 12:36 +0000
                Re: My darn NAS... Chris Green <cl@isbd.net> - 2021-01-14 13:22 +0000
                Re: My darn NAS... nospam.Richard.Falken@f1.n770.z6840.fidonet.org (Richard Falken) - 2021-01-14 11:45 +1300
                Re: My darn NAS... Chris Green <cl@isbd.net> - 2021-01-14 18:05 +0000
                Re: My darn NAS... TimS <timstreater@greenbee.net> - 2021-01-14 18:29 +0000
                Re: My darn NAS... Chris Green <cl@isbd.net> - 2021-01-14 18:35 +0000
                Re: My darn NAS... TimS <timstreater@greenbee.net> - 2021-01-15 11:25 +0000
                Re: My darn NAS... nospam.Richard.Falken@f1.n770.z6810.fidonet.org (Richard Falken) - 2021-01-14 06:36 +1300
                Re: My darn NAS... The Natural Philosopher <tnp@invalid.invalid> - 2021-01-14 12:53 +0000
                Re: My darn NAS... Chris Green <cl@isbd.net> - 2021-01-14 13:19 +0000
                Re: My darn NAS... The Natural Philosopher <tnp@invalid.invalid> - 2021-01-14 14:29 +0000
                Re: My darn NAS... Chris Green <cl@isbd.net> - 2021-01-14 14:52 +0000
                Re: My darn NAS... druck <news@druck.org.uk> - 2021-01-14 17:31 +0000
                Re: My darn NAS... Martin Gregorie <martin@mydomain.invalid> - 2021-01-14 13:24 +0000
                Re: My darn NAS... The Natural Philosopher <tnp@invalid.invalid> - 2021-01-14 13:39 +0000
                Re: My darn NAS... Chris Green <cl@isbd.net> - 2021-01-14 14:07 +0000
                Re: My darn NAS... Martin Gregorie <martin@mydomain.invalid> - 2021-01-14 15:22 +0000
                Re: My darn NAS... Scott Alfter <scott@alfter.diespammersdie.us> - 2021-01-14 20:08 +0000
                Re: My darn NAS... The Natural Philosopher <tnp@invalid.invalid> - 2021-01-15 08:34 +0000
                Re: My darn NAS... Chris Green <cl@isbd.net> - 2021-01-14 13:17 +0000
                Re: My darn NAS... Pancho <Pancho.Dontmaileme@outlook.com> - 2021-01-16 12:30 +0000
                Re: My darn NAS... nospam.paul.lee@f420.n105.z1.binkp.net (paul lee) - 2021-01-18 17:57 +1300
                Re: My darn NAS... Martin Gregorie <martin@mydomain.invalid> - 2021-01-19 13:37 +0000
                Re: My darn NAS... nospam.paul.lee@f420.n105.z1.binkp.net (paul lee) - 2021-01-21 18:06 +1300
  Re: My darn NAS... Chris Green <cl@isbd.net> - 2021-01-11 10:15 +0000
    Re: My darn NAS... Chris Green <cl@isbd.net> - 2021-01-11 15:16 +0000
      Re: My darn NAS... The Natural Philosopher <tnp@invalid.invalid> - 2021-01-11 15:31 +0000
        Re: My darn NAS... Chris Green <cl@isbd.net> - 2021-01-11 18:05 +0000
    Re: My darn NAS... nospam.paul.lee@f420.n105.z1.binkp.net (paul lee) - 2021-01-12 00:31 +1300
      Re: My darn NAS... Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2021-01-12 12:19 -0500
        Re: My darn NAS... The Natural Philosopher <tnp@invalid.invalid> - 2021-01-13 12:09 +0000
  Re: My darn NAS... druck <news@druck.org.uk> - 2021-01-11 10:25 +0000
    Re: My darn NAS... nospam.paul.lee@f420.n105.z1.binkp.net (paul lee) - 2021-01-12 00:35 +1300
      Re: My darn NAS... Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2021-01-12 12:25 -0500
        Re: My darn NAS... druck <news@druck.org.uk> - 2021-01-12 19:32 +0000
  Re: My darn NAS... "NY" <me@privacy.invalid> - 2021-01-11 15:39 +0000

csiph-web