[thelist] backups / disk space
patrick
pms at stoutstreet.com
Sun Mar 11 21:47:49 CDT 2012
On 3/11/2012 11:15 am, Bob Meetin wrote:
> I have heard of private key but how to set it up and/or use with SSH
> and rsync is beyond my expertise. How about a little pointer?
>
> Starting with:
>
> % rsync -avz /home/$this_account/folder_to_backup/
> $remote_account@$remote_domain.com:/home/$remote_account/backups/
> --password-file=/home/$this_account/password_file
>
> My plan is to first get this working from one HG account to another,
> then look into some of the other recommended options for storage,
> backup, other VPS services etc.
>
> On 03/05/2012 01:32 PM, patrick wrote:
>> On 3/5/2012 3:25 pm, Bob Meetin wrote:
>>> So ... How do you feed rsync the username and password?
>>>
>>>
>>
>>
>> Use SSH and private key
It should read the key before prompting for a password, so you do not
need to explicitly call for it in the rsync/ssh command string.
You might also look at
--bwlimit=1000
with rsync if you're concerned with your backups being too bandwidth
intensive.
--
patrick sanders
http://www.stoutstreet.com
web sites that fit
More information about the thelist
mailing list