Practicality of backing up huge hard drives (was
Re: [mythtv-users] Dieing Hard Drive)
Brian J. Murrell
brian at interlinx.bc.ca
Tue Mar 15 16:15:45 UTC 2005
On Tue, 2005-03-15 at 10:59 -0500, Neil Watson wrote:
> On Tue, Mar 15, 2005 at 10:43:47AM -0500, Brian J. Murrell wrote:
> >IMHO, the right way to do this is to use the "forced command" option in
> >the authorized_keys file. See the manpage for sshd under the
> >"AUTHORIZED_KEYS FILE FORMAT" section and create a key on the backup
> >server that is forced to run only one command and then use the private
> >portion of that key without a passphrase on your client.
>
> That is very interesting. Does that mean I could have a key pair
> without a passphrase?
Sure.
> The account on the public server could have no
> shell access?
I believe so.
> A connection would automatically execute a command
> without a shell?
Hrm. I don't recall if the command in the authorized_keys file is
executed directly (as in execve()) or through a shell (as in system()).
> Do you have an example of how a remote rsync or other
> type of backup would use this feature?
I'm afraid I don't. If this is what you want to do, look at Bill
Stearns' rsync-backup-server/rsync-backup-client tool(s).
b.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20050315/001f4c4b/attachment.pgp
More information about the mythtv-users
mailing list