Re: [OCLUG-Tech] does anyone still use "dump" for backups these days?

2018-02-23 Thread Brett Delmage

On Thu, 22 Feb 2018, Vic Gedris wrote:


I've been using http://rsnapshot.org for many years. Yes, it's an rsync
wrapper.  Should be available most distro package libraries.


Likewise.
___
Linux mailing list
Linux@lists.oclug.on.ca
http://oclug.on.ca/mailman/listinfo/linux


Re: [OCLUG-Tech] what the heck is the rationale for 'X' in chmod command?

2018-02-23 Thread Dianne Skoll
On Fri, 23 Feb 2018 02:51:52 -0500 (EST)
"Robert P. J. Day"  wrote:

>   i can't believe i've never noticed the 'X' (upper case) permission
> setting for the chmod command, explained thusly in the man page:
> 
> "The letters rwxXst select file mode bits for the affected users: read
> (r), write (w), execute (or search for directories) (x),
> execute/search only if the file is a directory or already has execute
> permission for some user (X), set user or group ID on execution (s),
> restricted deletion flag or sticky bit (t)..."

>   what is the rationale for that particular setting? what problem is
> it trying to solve? i'm just a bit puzzled.

Let's say you have an entire directory tree that's only user-readable.
You want to make it group- and other-readable and also make the
directories therein group- and other-executable.  You'd use:

chmod -R og+rX /root/of/tree

This turns on execute permissions for directories (and any files that
are executable), but not for normal non-executable files.

Regards,

Dianne.

___
Linux mailing list
Linux@lists.oclug.on.ca
http://oclug.on.ca/mailman/listinfo/linux


Re: [OCLUG-Tech] does anyone still use "dump" for backups these days?

2018-02-23 Thread Rick Leir
Robert
Amanda is built on some bash scripts so you can understand and modify it to 
your needs. We used it at Cirrus.

Bacula might be a strong contender.
Cheers -- Rick

On February 22, 2018 10:33:24 AM EST, "Robert P. J. Day" 
 wrote:
>
>  i'm prepping to teach 5 days of compTIA linux+ next week, after
>which the students will have the option to write exams based on that
>content for their LPI certification, so i'm working my way through the
>course manual and just hit the section on backups, which opens with
>explaining how to use "dump". argh.
>
>  i understand that dump is ubiquitous, and that it integrates with
>entries in /etc/fstab but, beyond that, does anyone seriously use dump
>for official backups these days?
>
>  i suspect i'll have to cover that utility to some extent, just
>because it could conceivably be on the exam, so even if i consider
>some of the course content utterly archaic, i still have to cover it.
>
>  but what are folks out there using for their backups these days?
>tar? rsync? amanda? the possibilities are endless, of course, but i'll
>still cover dump, even as i strongly discourage people from using it.
>
>rday
>
>-- 
>
>
>Robert P. J. Day Ottawa, Ontario,
>CANADA
>http://crashcourse.ca
>
>Twitter:  
>http://twitter.com/rpjday
>LinkedIn:  
>http://ca.linkedin.com/in/rpjday
>
>___
>Linux mailing list
>Linux@lists.oclug.on.ca
>http://oclug.on.ca/mailman/listinfo/linux

-- 
Sorry for being brief. Alternate email is rickleir at yahoo dot com 
___
Linux mailing list
Linux@lists.oclug.on.ca
http://oclug.on.ca/mailman/listinfo/linux


Re: [OCLUG-Tech] does anyone still use "dump" for backups these days?

2018-02-23 Thread Scott Murphy
I suspect that the answer to that depends on what you are using as a backup 
medium.

I have a tape robot and more tapes than I can ever possibly use, so it gets 
some use. Mostly for archives. Amanda is a pain, as it wants to fill tapes, so 
lots of tape changes to get as much on a tape as possible. Bacula is somewhat 
better, as long as you like config files. rsync to a NAS is my usual backup 
strategy and synching the NAS to another is my redundancy. The occasional dd to 
an external HDD from my laptop is also a hedge against disaster.

In defence of dump, I used it relatively recently to virtualize a system that 
was on old hardware and not readily accessible. Other methods I tried failed. 
Restoring dump files to correctly sized virtual disks & LVMs on a new VM from a 
live distro made it an easy task. I suspect I could even turn that into a short 
topic talk for a future meeting if there is interest.

> On Feb 22, 2018, at 10:33 AM, Robert P. J. Day  wrote:
> 
> 
>  i'm prepping to teach 5 days of compTIA linux+ next week, after
> which the students will have the option to write exams based on that
> content for their LPI certification, so i'm working my way through the
> course manual and just hit the section on backups, which opens with
> explaining how to use "dump". argh.
> 
>  i understand that dump is ubiquitous, and that it integrates with
> entries in /etc/fstab but, beyond that, does anyone seriously use dump
> for official backups these days?
> 
>  i suspect i'll have to cover that utility to some extent, just
> because it could conceivably be on the exam, so even if i consider
> some of the course content utterly archaic, i still have to cover it.
> 
>  but what are folks out there using for their backups these days?
> tar? rsync? amanda? the possibilities are endless, of course, but i'll
> still cover dump, even as i strongly discourage people from using it.
> 
> rday
> 
> -- 
> 
> 
> Robert P. J. Day Ottawa, Ontario, CANADA
>http://crashcourse.ca
> 
> Twitter:   http://twitter.com/rpjday
> LinkedIn:   http://ca.linkedin.com/in/rpjday
> 
> ___
> Linux mailing list
> Linux@lists.oclug.on.ca
> http://oclug.on.ca/mailman/listinfo/linux
___
Linux mailing list
Linux@lists.oclug.on.ca
http://oclug.on.ca/mailman/listinfo/linux


Re: [OCLUG-Tech] does anyone still use "dump" for backups these days?

2018-02-23 Thread James

I just use rsync.


On February 22, 2018 10:33:48 AM "Robert P. J. Day"  
wrote:




  i'm prepping to teach 5 days of compTIA linux+ next week, after
which the students will have the option to write exams based on that
content for their LPI certification, so i'm working my way through the
course manual and just hit the section on backups, which opens with
explaining how to use "dump". argh.

  i understand that dump is ubiquitous, and that it integrates with
entries in /etc/fstab but, beyond that, does anyone seriously use dump
for official backups these days?

  i suspect i'll have to cover that utility to some extent, just
because it could conceivably be on the exam, so even if i consider
some of the course content utterly archaic, i still have to cover it.

  but what are folks out there using for their backups these days?
tar? rsync? amanda? the possibilities are endless, of course, but i'll
still cover dump, even as i strongly discourage people from using it.

rday

--


Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday

___
Linux mailing list
Linux@lists.oclug.on.ca
http://oclug.on.ca/mailman/listinfo/linux


___
Linux mailing list
Linux@lists.oclug.on.ca
http://oclug.on.ca/mailman/listinfo/linux


Re: [OCLUG-Tech] does anyone still use "dump" for backups these days?

2018-02-23 Thread J C Nash
I gave a little talk at OCLUG on how I put rsync into a script and then link 
that
to Double Commander so I have a "button" that rsync's left window to the right 
one.

Also buttons for my "remove from A (left) if in B (right)" directory tree.

I'm finding these aids helpful

I also have special backup scripts that backup selected directories via rsync 
to a Synology disk station.

As noted, rsync isn't user friendly, so I find it worth the effort to provide 
the friendliness to the
user (me!)

JN

On 2018-02-22 11:01 AM, Richard Guy Briggs wrote:
> On 2018-02-22 10:46, Robert P. J. Day wrote:
>> On Thu, 22 Feb 2018, Dianne Skoll wrote:
>>
>>> On Thu, 22 Feb 2018 10:33:24 -0500 (EST)
>>> "Robert P. J. Day"  wrote:
>>>
   but what are folks out there using for their backups these days?
 tar? rsync? amanda?
>>>
>>> I use rsync.
>>
>>   i'll keep track of the responses i get just to pass them on to the
>> class. regarding rsync, now that i went looking for backup solutions,
>> i just ran across dirvish:
>>
>>   http://dirvish.org/
>>
>> which is apparently a user-friendly wrapper around rsync:
>>
>>   http://dirvish.org/docs.html
> 
> rsync isn't user friendly?  ;-)
> 
> I love rsync for getting things across the pond and even comparing things. I
> really wish there was an "rdiff" that did what I expected, using the rsync
> protocol to just list the differences between two network entities.
> 
>> anyway, i'll keep an ongoing list of suggestions.
>>
>> rday
> 
>   slainte mhath, RGB
> 
> --
> Richard Guy Briggs   --  ~\-- ~\ 
> 
>  --  \___   o \@  @Ride yer 
> bike!
> Ottawa, ON, CANADA  --  Lo_>__M__\\/\%__\\/\%
> Vote! -- 
> _GTVS6#790__(*)__(*)(*)(*)_
> ___
> Linux mailing list
> Linux@lists.oclug.on.ca
> http://oclug.on.ca/mailman/listinfo/linux
> 
___
Linux mailing list
Linux@lists.oclug.on.ca
http://oclug.on.ca/mailman/listinfo/linux


Re: [OCLUG-Tech] does anyone still use "dump" for backups these days?

2018-02-23 Thread Vic Gedris
I've been using http://rsnapshot.org for many years. Yes, it's an rsync
wrapper.  Should be available most distro package libraries.

-Vic



On Feb 22, 2018 17:02, "Paul Hays"  wrote:

I use a gui frontend for rsync called luckyBackup (
https://en.wikipedia.org/wiki/LuckyBackup ). It is in the Ubuntu repo.

My home setup stores three checkpoint states of user files in a LUKS
encrypted container on a separate machine.

--

Dump's multi-level backup support seems designed to minimize tape
mounts, which I suppose might still be important for some sysadmins. Is
there a gui tool for dump and restore?

On 2018-02-22 10:33 AM, Robert P. J. Day wrote:
>
>   i'm prepping to teach 5 days of compTIA linux+ next week, after
> which the students will have the option to write exams based on that
> content for their LPI certification, so i'm working my way through the
> course manual and just hit the section on backups, which opens with
> explaining how to use "dump". argh.
>
>   i understand that dump is ubiquitous, and that it integrates with
> entries in /etc/fstab but, beyond that, does anyone seriously use dump
> for official backups these days?
>
>   i suspect i'll have to cover that utility to some extent, just
> because it could conceivably be on the exam, so even if i consider
> some of the course content utterly archaic, i still have to cover it.
>
>   but what are folks out there using for their backups these days?
> tar? rsync? amanda? the possibilities are endless, of course, but i'll
> still cover dump, even as i strongly discourage people from using it.
>
> rday
>
___
Linux mailing list
Linux@lists.oclug.on.ca
http://oclug.on.ca/mailman/listinfo/linux
___
Linux mailing list
Linux@lists.oclug.on.ca
http://oclug.on.ca/mailman/listinfo/linux


Re: [OCLUG-Tech] what the heck is the rationale for 'X' in chmod command?

2018-02-23 Thread Robert P. J. Day
On Fri, 23 Feb 2018, Stephen M. Webb wrote:

> On 2018-02-23 02:51 AM, Robert P. J. Day wrote:
> >
> >   i can't believe i've never noticed the 'X' (upper case) permission
> > setting for the chmod command, explained thusly in the man page:
> >
> > "The letters rwxXst select file mode bits for the affected users: read
> > (r), write (w), execute (or search for directories) (x),
> > execute/search only if the file is a directory or already has execute
> > permission for some user (X), set user or group ID on execution (s),
> > restricted deletion flag or sticky bit (t)..."
> >
> >   what is the rationale for that particular setting? what problem is
> > it trying to solve? i'm just a bit puzzled.
>
> It lets you fix broken permissions easily.  Imagine a quick "chmod
> -R a+X ." on a home directory in which you unzipped some DOS files
> which lack any POSIX permission to traverse the contained folders,
> because DOS.

  ah, quite so, thanks.

rday
___
Linux mailing list
Linux@lists.oclug.on.ca
http://oclug.on.ca/mailman/listinfo/linux


Re: [OCLUG-Tech] what the heck is the rationale for 'X' in chmod command?

2018-02-23 Thread Stephen M. Webb
On 2018-02-23 02:51 AM, Robert P. J. Day wrote:
> 
>   i can't believe i've never noticed the 'X' (upper case) permission
> setting for the chmod command, explained thusly in the man page:
> 
> "The letters rwxXst select file mode bits for the affected users: read
> (r), write (w), execute (or search for directories) (x),
> execute/search only if the file is a directory or already has execute
> permission for some user (X), set user or group ID on execution (s),
> restricted deletion flag or sticky bit (t)..."
> 
>   what is the rationale for that particular setting? what problem is
> it trying to solve? i'm just a bit puzzled.

It lets you fix broken permissions easily.  Imagine a quick "chmod -R a+X ." on 
a home directory in which you unzipped
some DOS files which lack any POSIX permission to traverse the contained 
folders, because DOS.


-- 
Stephen M. Webb  
___
Linux mailing list
Linux@lists.oclug.on.ca
http://oclug.on.ca/mailman/listinfo/linux