Re: [BackupPC-users] Exchanging keys

2017-05-14 Thread Adam Goryachev
On 15/05/17 10:56, Bob Katz wrote: Les wrote: "Normally the key goes in root's home directory under .ssh/authorized_keys. That 'ssh-copy-id' command is a shell script if you want to see what it does. Maybe you find wherever root's home directory is in the sandbox environment and make a

Re: [BackupPC-users] Recommend add to manual

2017-05-14 Thread Bob Katz
On Sun, May 14, 2017 at 9:37 PM, Kenneth Porter wrote: > > What if you have TWO drives you want to mount to /var/lib/backuppc? With > BackupPC 4, it's not unreasonable to swap your backup media every week > to an offsite location. > Is there a way to configure

Re: [BackupPC-users] Recommend add to manual

2017-05-14 Thread Kenneth Porter
On 5/14/2017 6:55 AM, Les Mikesell wrote: > I always thought the best approach was to mount your media in the > place where backuppc expects it_before_ installing the package so > that ownership and selinux contexts are set correctly during the > package install. Does that work through

Re: [BackupPC-users] Exchanging keys

2017-05-14 Thread Bob Katz
Les wrote: "Normally the key goes in root's home directory under .ssh/authorized_keys. That 'ssh-copy-id' command is a shell script if you want to see what it does. Maybe you find wherever root's home directory is in the sandbox environment and make a copy there." I see that script does

Re: [BackupPC-users] Exchanging keys

2017-05-14 Thread Les Mikesell
On Sun, May 14, 2017 at 4:43 PM, Bob Katz wrote: > > Again, you're a godsend. I can root ssh to the Thecus! > > But I wish exchanging keys were that simple with the Thecus NAS. The Thecus > has a sandboxed operating system. Anything below /raid will be eaten up on > reboot. To

[BackupPC-users] Exchanging keys

2017-05-14 Thread Bob Katz
Dear Richard: Again, you're a godsend. I can root ssh to the Thecus! But I wish exchanging keys were that simple with the Thecus NAS. The Thecus has a sandboxed operating system. Anything below /raid will be eaten up on reboot. To do keys you have to use a module called FajoSSHD that's

Re: [BackupPC-users] Conquering Thecus access as a client with rsync

2017-05-14 Thread Richard Shaw
The easy way to exchange keys on Fedora to use rsync over ssh assuming you're using root to do the backup on the clien: (as root) # su -s /bin/bash -l backuppc # ssh-keygen (don't add a passphrase, it would defeat the purpose) # ssh-copy-id root@ After that you should be able to "ssh root@" and

[BackupPC-users] Conquering Thecus access as a client with rsync

2017-05-14 Thread Robert Katz
Public/private keys are tough enough for me to understand. I'm hoping there is a way to set up rsync on the server to use a tough client without a password using tasks defined in rsyncd.conf. The tough client is a Thecus NAS which is pretty sandboxed. I love it, though, cause it requires minimal

Re: [BackupPC-users] Recommend add to manual

2017-05-14 Thread Robert Katz
On Sun, May 14, 2017 11:10 am, Richard Shaw wrote: > > I think if you installed the package, mounted the volume and then ran > restorecon -r /var/lib/backuppc would have the same effect. > > Thanks, > Richard > > Not being familiar with the command restorecon and being a linux baby I just bit

Re: [BackupPC-users] Recommend add to manual

2017-05-14 Thread Richard Shaw
On Sun, May 14, 2017 at 8:55 AM, Les Mikesell wrote: > On Sun, May 14, 2017 at 7:26 AM, Robert Katz wrote: > > Hi guys. I was about to bind a second mount for my convenience in fstab > > for topdir. I then read man bind and learned about the danger of

Re: [BackupPC-users] Apache user...

2017-05-14 Thread Ray Frush
Bob- I found the instructions to run httpd (apache) as the backupPC user (backuppc) to be a graceful way to get BackupPC to play well with all the required file ownership. -- Ray Frush On Sat, May 13, 2017 at 5:50 PM, Robert Katz wrote: > Guys: > > Can the apache user

Re: [BackupPC-users] Recommend add to manual

2017-05-14 Thread Les Mikesell
On Sun, May 14, 2017 at 7:26 AM, Robert Katz wrote: > Hi guys. I was about to bind a second mount for my convenience in fstab > for topdir. I then read man bind and learned about the danger of using > bind because backup programs that access directories by name would >

[BackupPC-users] Recommend add to manual

2017-05-14 Thread Robert Katz
Hi guys. I was about to bind a second mount for my convenience in fstab for topdir. I then read man bind and learned about the danger of using bind because backup programs that access directories by name would therefore backup the same material twice! Unless you put an exclude in the rsync