tar jcf - /path/to/backup|ssh user@otherbox 'tar xf -'
will not cause any intermediate file to be created.
ET
Michael Havens writes:
> I think the problem with using a pipe is that it puts te results of the
> first command into the input of the second command. My problem is that I
> don't have enough space for the output of the first command.
>
> On Thu, Feb 16, 2012 at 11:15 AM, Mike Bydalek <mike.bydalek@gmail.com>wrote:
>
>> I'm not familiar with fsarchiver, but perhaps this will help you out.
>>
>> http://www.cyberciti.biz/faq/**howto-use-tar-command-through-**
>> network-over-ssh-session/<http://www.cyberciti.biz/faq/howto-use-tar-command-through-network-over-ssh-session/>
>>
>> -Mike
>>
>>
>> On 2/16/12 11:12 AM, Michael Havens wrote:
>>
>>> I'm using fsarchiver to backup a computer. I don't have enough diskspace
>>> for the archive. I can ssh to another computer. I know which directory I
>>> want to save it in but I don't know how to write the file directly to
>>> it. I tried it with a pipe and I tried it with a greater-than sign.
>>> Pray-tell! how is it done?
>>>
>>> --
>>> :-)~MIKE~(-:
>>>
>>>
>>> ------------------------------**---------------------
>>> PLUG-discuss mailing list - PLUG-discuss@lists.plug.**phoenix.az.us<PLUG-discuss@lists.plug.phoenix.az.us>
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.PLUG.phoenix.az.**us/mailman/listinfo/plug-**discuss<http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss>
>>>
>>
>> ------------------------------**---------------------
>> PLUG-discuss mailing list - PLUG-discuss@lists.plug.**phoenix.az.us<PLUG-discuss@lists.plug.phoenix.az.us>
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.**us/mailman/listinfo/plug-**discuss<http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss>
>>
>
>
>
> --
> :-)~MIKE~(-:
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss