One-step tarring/scp (was Re: [ale] hardware to back up a Dell laptop)
Jeff Hubbs
hbbs at comcast.net
Fri Jan 11 14:01:28 EST 2008
Tried that; it didn't seem to work. it worked as-is, though.
James P. Kinney III wrote:
> add the -f to the ssh command. It will background the other stuff and
> foreground the password prompt.
> On Fri, 2008-01-11 at 12:48 -0500, Jeff Hubbs wrote:
>
>> And if ssh on the target end needs a password...?
>>
>> Geoffrey wrote:
>>
>>> If I understand what you're asking:
>>>
>>> cd to the directory you want to backup.
>>>
>>> tar -cvzf - . | ssh id at machine "cat > file.tgz"
>>>
>>>
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://www.ale.org/mailman/listinfo/ale
>>
>>
More information about the Ale
mailing list