TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: MARTIN GREGORIE
date: 2020-09-08 10:44:00
subject: Re: Questions abour RPi 4

On Tue, 08 Sep 2020 09:55:48 +0100, NY wrote:

> But we're talking about two different things. My copy of the SD card
> (made by removing the card, inserting it into a Windows computer and
> running Win32 Disk Imager) is to restore a fully-working, bootable
> system, as opposed to backing up specific user-created files that cannot
> be restored by reinstalling OS and packages.
>
Not really - I use the rsync backup for both. After a crash, use gparted
to recreate the partitions and rsync or ftp to refill them. Don't forget
that, even if you put /home in its own partition there is still system-
specific stuff in other partitions (modified config in /etc, code in /usr/
local and possibly /opt) I long ago set up /home/local, which contains
everything in /usr/local and replaced the /usr/local directory with a
symlink pointing at /home/local. I also keep copies of all the config
files that I modified in /etc in /home/backup/etc so they can replace the
standard issue config files. Most of these are in /etc/profile.d /etc/ssh
and /etc/postfix

If you want versioned backups rather than a single 'latest' version, take
a look at rsnapshot.


--
Martin    | martin at
Gregorie  | gregorie dot org

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.