Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Backup questions
Date: Fri, 10 Aug 2018 02:22:19
Message-Id: 1df1d804-5ee9-fe14-b83d-3ce01fe52793@gmail.com
In Reply to: Re: [gentoo-user] Backup questions by Bill Kenworthy
1 Bill Kenworthy wrote:
2 > On 08/08/18 11:43, Dale wrote:
3 >> Howdy,
4 >>
5 >> Long story short that leads up to my questions, I paid off some debt. 
6 >>
7 > Hi Dale,
8 >
9 >     what you are talking about is not a real backup but a single copy of
10 > your data that may or may not be complete (the delete option you
11 > mention) at a single point in time - not quite as useful as a proper
12 > versioned backup.  Whatever your choice, also look at the restore
13 > procedure - very important.
14 >
15 >
16 > Have a look at Dirvish or borgbackup (both in portage) for what they can
17 > do.  Having a space efficient store at regular points of time is a
18 > lifesaver at times. To restore from dirvish its a copy from the selected
19 > tree.  With borg its either restore with a command, or mount it and copy
20 > the data out of the mount.
21 >
22 > http://dirvish.org/
23 >
24 > https://www.borgbackup.org/
25 >
26 > I moved from dirvish to borg 12 months ago and they are both excellent.
27 >
28 > BillK
29 >
30
31 It's a backup to me.  I may not be using backup software but if I lose
32 the original file, I have another copy that I can back up from.  Given
33 that I have two drives that can currently hold the files I don't want to
34 lose for sure, I have two backup copies.  Whether it is called a backup
35 or called a copy doesn't matter.  All that matters is that if my drive
36 should fail, my computer blows up, my house burns down or any number of
37 other possibilities, I can restore the files if needed.  Whether it is a
38 technical backup or a copy ends the same way.  Maybe calling it a copy
39 is better.  :-)  Maybe I'm to old school. lol 
40
41 I will look into those software options tho.  Right now I have the rsync
42 commands to backup a few directories in a script.  It's not fancy but
43 basically one copies my camera pics, one copies my videos and the last
44 one copies my email directory.  In all honesty, if I have those three
45 things, everything else can be reinstalled or be reconfigured.  I'm not
46 trying or even planning to copy/backup the OS itself.  If something
47 happened and I had to rebuild or redo my system, I'd do a fresh install
48 anyway.  Having the config files would be nice but only IF it wouldn't
49 cause more problems than it solves.  That was the reason for my question
50 about using --delete on config files.  I tend to backup/copy the files
51 in /etc until I reboot then I start a new set.  That way if I run into a
52 problem, I can either use the old file in whole or take parts of it
53 until I get whatever working again.  I haven't ran into that problem in
54 a really long time tho.  I can't recall the last time I do to be
55 honest.  It's been years, many years.  I'm not sure on the config files
56 in my home directory tho.  I know KDE does some weird things during some
57 major upgrades. 
58
59 As for restore, easy, rsync the files back over.  Even if the
60 permissions are messed up, I can fix that easy enough.  Other than that,
61 I'm not sure what other problem I could run into.  The biggest thing,
62 having a copy I can use if I lose the originals.  Also, with them being
63 plain copies, I can take the drive to a friend or family member and plug
64 the drive in to get to the videos, documents etc.  No special software
65 really needed.  Heck, for the videos, I could watch them straight from
66 the USB drive. 
67
68 Now to go check into those backup programs.  Borg.  Sounds Star Trekish
69 to me, or was that Star Wars.  ROFL 
70
71 Thanks much for the info. 
72
73 Dale
74
75 :-)  :-)