Re: Home made backup system

2019-12-26 Thread rhkramer
Thanks for the reply and the useful explanations (and the expression of limitation of your personal knowledge). I will add one question / comment down below: On Thursday, December 26, 2019 10:23:54 AM Greg Wooledge wrote: > For most people, it comes down to "when you can't write to the device >

Re: Home made backup system

2019-12-26 Thread Thomas Schmitt
Hi, Greg Wooledge wrote: > > > Remember, tar was designed for magnetic tapes, > > > which are read sequentially. It provides no way for a reader to learn > > > that file xyz is at byte offset 31337 and that it should skip ahead to > > > that point if it only wants that one file. rhkra...@gmail.c

Re: Home made backup system

2019-12-26 Thread Charles Curley
On Thu, 26 Dec 2019 09:51:59 -0500 rhkra...@gmail.com wrote: > Again, I assume (I know what assume does) that "USB mass-storage > device that acts like a hard drive" is (or might be) a pen drive type > of device. I've had a lot of bad luck (well, more bad luck than I'd > like) with that kind of d

Re: Home made backup system

2019-12-26 Thread Greg Wooledge
On Thu, Dec 26, 2019 at 09:51:59AM -0500, rhkra...@gmail.com wrote: > Just to confirm, I assume that is true ("no way to skip ahead to byte 31337") > even if the underlying media is a (somewhat random access) disk instead of > (serial access) tape? Correct. There's no central index inside the t

Re: Home made backup system

2019-12-26 Thread rhkramer
Thanks for addressing this -- I have a few questions I want to ask for my own edification / clarification: On Thursday, December 26, 2019 08:18:12 AM Greg Wooledge wrote: > The drawback of using tar is that it creates an *archive* of files -- that > is, a single file (or byte stream) that contain

Re: Home made backup system

2019-12-26 Thread Greg Wooledge
On Thu, Dec 26, 2019 at 08:18:12AM -0500, Greg Wooledge wrote: > On Wed, Dec 25, 2019 at 11:07:22AM -0800, David Christensen wrote: > > > I was amazed that nobody yet considered tar. Sorry... that sentence was actually written by Franco Martelli. I replied to the wrong email.

Re: Home made backup system

2019-12-26 Thread Greg Wooledge
On Wed, Dec 25, 2019 at 11:07:22AM -0800, David Christensen wrote: > > I was amazed that nobody yet considered tar. The best use case for tar is creating a full backup to removable media (magnetic tapes are literally what it was designed for -- the "t" stands for tape). The drawback of using tar

Re: Home made backup system

2019-12-25 Thread David Christensen
On 2019-12-25 08:42, Franco Martelli wrote: On 18/12/19 at 18:02, rhkra...@gmail.com wrote: Aside / Admission: I don't backup all that I should and as often as I should, so I'm looking for ways to improve. One thought I have is to write my own backup "system" and use it, and I've thought about

Re: Home made backup system

2019-12-25 Thread Franco Martelli
On 18/12/19 at 18:02, rhkra...@gmail.com wrote: > Aside / Admission: I don't backup all that I should and as often as I should, > so I'm looking for ways to improve. One thought I have is to write my own > backup "system" and use it, and I've thought about that a little, and provide > some of m

Re: Home made backup system

2019-12-23 Thread Celejar
On Mon, 23 Dec 2019 20:11:07 -0600 Nate Bargmann wrote: > Thanks for the tips! Sure! Let us know if you hack together anything interesting. Celejar

Re: Home made backup system

2019-12-23 Thread Nate Bargmann
Thanks for the tips! - Nate -- "The optimist proclaims that we live in the best of all possible worlds. The pessimist fears this is true." Web: https://www.n0nb.us Projects: https://github.com/N0NB GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819 signature.asc Description

Re: Home made backup system

2019-12-23 Thread Celejar
On Thu, 19 Dec 2019 14:25:24 -0600 Nate Bargmann wrote: > I also use rsnapshot on this machine to backup to another drive in the > same case. I'd thought about off site, perhaps AWS or such but haven't > spent enough time trying to figure out how I might do that with > rsnapshot. One way to do

Re: Home made backup system

2019-12-21 Thread Klaus Fuerstberger
Am 18.12.19 um 18:02 schrieb rhkra...@gmail.com: > A purpose of sending this to the mailing-list is to find out if there already > exists a solution (or parts of a solution) close to what I'm thinking about > (no sense re-inventing the wheel), or if someone thinks I've overlooked > something or

Re: Fetchnews (was Re: Home made backup system)

2019-12-21 Thread songbird
rhkra...@gmail.com wrote: > On Friday, December 20, 2019 09:40:28 PM songbird wrote: >> Kenneth Parker wrote: > >> > Could you please ship me a personal email, on how you configured gmane >> > and LKML to read debian-user? > >> i'd rather post public messages as that way if anyone >> else is read

Re: Fetchnews (was Re: Home made backup system)

2019-12-21 Thread Ralph Katz
On 12/20/19 7:40 PM, songbird wrote: [snip] ...[configuring gmane to read debian-user] > > gmane is a mail to usenet gateway service. > > when you install leafnode and your favorite newsreader > and get them configured you will still have to download > an active list from the news service

Re: Fetchnews (was Re: Home made backup system)

2019-12-21 Thread rhkramer
On Friday, December 20, 2019 09:40:28 PM songbird wrote: > Kenneth Parker wrote: > > Could you please ship me a personal email, on how you configured gmane > > and LKML to read debian-user? > i'd rather post public messages as that way if anyone > else is reading along or searching they can als

Re: Fetchnews (was Re: Home made backup system)

2019-12-20 Thread Kenneth Parker
On Fri, Dec 20, 2019 at 9:41 PM songbird wrote: > Kenneth Parker wrote: > >songbird wrote: > ... > >> check out eternal-september.org :) no binaries. just > >> text. that is all i want to read anyways. > You may see a sea7kenp username pop up occasionally. > Could you please ship me a p

Re: Fetchnews (was Re: Home made backup system)

2019-12-20 Thread songbird
Kenneth Parker wrote: >songbird wrote: ... >> check out eternal-september.org :) no binaries. just >> text. that is all i want to read anyways. >> > > Thanks! Name Servers couldn't find it without the "www" in front. I am > investigating it now. > > Not likely to get too far down the nntp "

Re: Fetchnews (was Re: Home made backup system)

2019-12-20 Thread Kenneth Parker
On Fri, Dec 20, 2019 at 7:47 PM songbird wrote: > Kenneth Parker wrote: > > songbird wrote: > ... > >> i only use a few commands regularly and have them either > >> aliased or stuck in history for me in my .bashrc > >> (i start every session by history -c to get rid of > >> anything and then us

Re: Fetchnews (was Re: Home made backup system)

2019-12-20 Thread songbird
Kenneth Parker wrote: > songbird wrote: ... >> i only use a few commands regularly and have them either >> aliased or stuck in history for me in my .bashrc >> (i start every session by history -c to get rid of >> anything and then use history -s "command" so pretty >> much my routine when signing

Fetchnews (was Re: Home made backup system)

2019-12-20 Thread Kenneth Parker
On Thu, Dec 19, 2019 at 11:29 AM songbird wrote: > Greg Wooledge wrote: > ... > > History expansion is a bloody nightmare. I recommend simply turning > > it off and living without it. Of course, that's a personal preference, > > and you're free to continue banging your head against it, if you f

Re: Home made backup system

2019-12-19 Thread Keith Bainbridge
On 19/12/19 4:02 am, rhkra...@gmail.com wrote: Aside / Admission: I don't backup all that I should and as often as I should, so I'm looking for ways to improve. One thought I have is to write my own backup "system" and use it, and I've thought about that a little, I understand. For a while I

Re: Home made backup system

2019-12-19 Thread David Christensen
On 2019-12-19 21:04, David Christensen wrote: So, ~47 snapshots of ~892 GB of data.  That is ~51 TB. Correction -- 42 TB. David

Re: Home made backup system

2019-12-19 Thread David Christensen
On 2019-12-19 09:45, ghe wrote: How about writing a little script for rsync saying how you want it to backup, what to backup, and what not to backup and set cron jobs for when you want it to run. In the cron jobs, tell it to write to different directories, so to keep several days or backups. T

Re: Home made backup system

2019-12-19 Thread Nate Bargmann
I also use rsnapshot on this machine to backup to another drive in the same case. I'd thought about off site, perhaps AWS or such but haven't spent enough time trying to figure out how I might do that with rsnapshot. - Nate -- "The optimist proclaims that we live in the best of all possible wo

Re: Home made backup system

2019-12-19 Thread Charles Curley
On Thu, 19 Dec 2019 10:45:22 -0700 ghe wrote: > How about writing a little script for rsync saying how you want it to > backup, what to backup, and what not to backup and set cron jobs for > when you want it to run. In the cron jobs, tell it to write to > different directories, so to keep several

Re: Home made backup system

2019-12-19 Thread Celejar
On Wed, 18 Dec 2019 12:02:56 -0500 rhkra...@gmail.com wrote: > Aside / Admission: I don't backup all that I should and as often as I should, > so I'm looking for ways to improve. One thought I have is to write my own > backup "system" and use it, and I've thought about that a little, and provid

Re: Home made backup system

2019-12-19 Thread ghe
How about writing a little script for rsync saying how you want it to backup, what to backup, and what not to backup and set cron jobs for when you want it to run. In the cron jobs, tell it to write to different directories, so to keep several days or backups. Not as smart as amanda (it'll backu

Re: Home made backup system

2019-12-19 Thread songbird
Greg Wooledge wrote: ... > History expansion is a bloody nightmare. I recommend simply turning > it off and living without it. Of course, that's a personal preference, > and you're free to continue banging your head against it, if you feel > that the times it helps you outweigh the times that it

Re: Home made backup system

2019-12-19 Thread tomas
On Thu, Dec 19, 2019 at 08:51:51AM -0500, Greg Wooledge wrote: > On Thu, Dec 19, 2019 at 10:03:57AM +0200, Andrei POPESCU wrote: > > On Mi, 18 dec 19, 21:42:21, rhkra...@gmail.com wrote: > > > On Wednesday, December 18, 2019 12:26:04 PM to...@tuxteam.de wrote: > > > > #!/bin/bash > > > > home=$

Re: Home made backup system

2019-12-19 Thread Greg Wooledge
On Thu, Dec 19, 2019 at 09:47:03AM +0100, to...@tuxteam.de wrote: > So this "if" means: > > if ## if > test ## > -z "$home" ## the value of $home is empty > -o ## or > \! ## there is NOT > -d "$home" ## a directory named "$home" >

Re: Home made backup system

2019-12-19 Thread Greg Wooledge
On Thu, Dec 19, 2019 at 10:03:57AM +0200, Andrei POPESCU wrote: > On Mi, 18 dec 19, 21:42:21, rhkra...@gmail.com wrote: > > On Wednesday, December 18, 2019 12:26:04 PM to...@tuxteam.de wrote: > > > #!/bin/bash > > > home=${HOME:-~} > > It will set the variable 'home' to the value of the variab

Re: Home made backup system

2019-12-19 Thread Greg Wooledge
On Thu, Dec 19, 2019 at 09:53:46AM +0100, to...@tuxteam.de wrote: > > ... > > >> if test -z "$home" -o \! -d "$home" ; then The main issue here is that the use of the binary -o and -a operators in "test" or "[" is not portable. It might work in bash's implementation of test (sometimes), but you

Re: Home made backup system

2019-12-19 Thread tomas
On Wed, Dec 18, 2019 at 10:38:26PM -0500, songbird wrote: > rhkra...@gmail.com wrote: > ... > >> if test -z "$home" -o \! -d "$home" ; then > > > > What does the -o \! do -- hmm, I guess \! is a bash "refeence" to the owner > > -- > no, -o is logical or in that context. Yes, exactly: it's no

Re: Home made backup system

2019-12-19 Thread tomas
On Wed, Dec 18, 2019 at 09:42:21PM -0500, rhkra...@gmail.com wrote: > Thanks to all who replied! > > This script (or elements of it) looks useful to me, but I don't fully > understand it -- I plan to work my way through it -- I have a few questions > now, I'm sure I will have more after I get pa

Re: Home made backup system

2019-12-19 Thread Andrei POPESCU
On Mi, 18 dec 19, 21:42:21, rhkra...@gmail.com wrote: > On Wednesday, December 18, 2019 12:26:04 PM to...@tuxteam.de wrote: > > > #!/bin/bash > > home=${HOME:-~} > > What does that line do, or more specifically, what does the :-~ do -- note > the > following: It will set the variable 'home

Re: Home made backup system

2019-12-18 Thread David Christensen
On 2019-12-18 09:02, rhkra...@gmail.com wrote: Aside / Admission: I don't backup all that I should and as often as I should, so I'm looking for ways to improve. One thought I have is to write my own backup "system" and use it, and I've thought about that a little, and provide some of my thoughts

Re: Home made backup system

2019-12-18 Thread songbird
rhkra...@gmail.com wrote: ... >> if test -z "$home" -o \! -d "$home" ; then > > What does the -o \! do -- hmm, I guess \! is a bash "refeence" to the owner > -- no, -o is logical or in that context. the backslash is just protecting the ! operator which is the not operator on what follows.

Re: Home made backup system

2019-12-18 Thread Charles Curley
On Wed, 18 Dec 2019 12:02:56 -0500 rhkra...@gmail.com wrote: > Aside / Admission: I don't backup all that I should and as often as I > should, so I'm looking for ways to improve. One thought I have is to > write my own backup "system" and use it, and I've thought about that > a little, and provid

Re: Home made backup system

2019-12-18 Thread rhkramer
Thanks to all who replied! This script (or elements of it) looks useful to me, but I don't fully understand it -- I plan to work my way through it -- I have a few questions now, I'm sure I will have more after I get past the first 3 (or more encouraging to me, first 6) lines. Questions below:

Re: Home made backup system

2019-12-18 Thread elvis
If you don't to reinvent the wheel, and have more than one computer to backup... try Bacula  www.bacula.org does everything you want On 19/12/19 3:02 am, rhkra...@gmail.com wrote: Aside / Admission: I don't backup all that I should and as often as I should, so I'm looking for ways to improve

Re: Home made backup system

2019-12-18 Thread tomas
On Wed, Dec 18, 2019 at 12:02:56PM -0500, rhkra...@gmail.com wrote: > Aside / Admission: I don't backup all that I should and as often as I should, > so I'm looking for ways to improve [...] > Part of the reason for doing my own is that I don't want to be trapped into > using a system that might

Re: Home made backup system

2019-12-18 Thread billium
On 18/12/2019 17:02, rhkra...@gmail.com wrote: Aside / Admission: I don't backup all that I should and as often as I should, so I'm looking for ways to improve. One thought I have is to write my own backup "system" and use it, and I've thought about that a little, and provide some of my thoughts

Re: Home made backup system

2019-12-18 Thread Levente
It depends what do you want to backup. If that is code, or text files, use git. If they are photos videos or mostly binary, use some script and magnetic tapes. Levente On Wed, Dec 18, 2019, 18:03 wrote: > Aside / Admission: I don't backup all that I should and as often as I > should, > so I'm

Home made backup system

2019-12-18 Thread rhkramer
Aside / Admission: I don't backup all that I should and as often as I should, so I'm looking for ways to improve. One thought I have is to write my own backup "system" and use it, and I've thought about that a little, and provide some of my thoughts below. A purpose of sending this to the mail