<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">I have implemented this. And yes, it
      might be useful. I might support it in my java interface to rrd.<br>
      <br>
      My implementation can be found in branch pipe-restore in my repo
      at <a class="moz-txt-link-freetext" href="https://github.com/stamfest/rrdtool-1.x#">https://github.com/stamfest/rrdtool-1.x#</a><br>
      <br>
      Note that I haven't rebased/merged the stuff into master. If I
      should do this, just say so.<br>
      <br>
      peter<br>
      <br>
      <br>
      <br>
      Am 2014-02-16 10:00, schrieb Tobi Oetiker:<br>
    </div>
    <blockquote
      cite="mid:A32F822F-5ED8-4EA7-8564-147BE287A59A@oetiker.ch"
      type="cite">
      <meta http-equiv="Context-Type" content="text/html; charset=utf-8">
      <div>I think it should be possible to get this to work since I am
        using the pull parser in rrdtool restore</div>
      <div><br>
      </div>
      <div>cheers<br>
        <br>
        Tobias Oetiker
        <div><a moz-do-not-send="true" href="mailto:tobi@oetiker.ch">tobi@oetiker.ch</a></div>
        <div>062 775 9902</div>
      </div>
      <div><br>
        On 16.02.2014, at 03:21, Stanislav Sinyagin &lt;<a
          moz-do-not-send="true" href="mailto:ssinyagin@yahoo.com">ssinyagin@yahoo.com</a>&gt;
        wrote:<br>
        <br>
      </div>
      <blockquote type="cite">
        <div>
          <div>I don't think it does. Why isn't a usual file good
            enough? You can store it in tmpfs if the i/o speed is the
            concern. But usually rrdtool is slower than disk i/o anyway.<br>
            <br>
            What I typically do, is execute rrdtool dump from an SSH
            command, so that its remote stdout is the ssh's local
            stdout, and save the XML to a local temporary file. Next the
            local rrdtool restore would slurp that file. <br>
            <br>
            If you need the XML to tweak some RRD parameter, you can use
            RRD::Tweak Perl module instead.<br>
            <div><span></span></div>
            <div><br>
            </div>
            <div>
              <div>
                <div dir="ltr">
                  <hr> <b><span>From:</span></b> Peter Stamfest &lt;<a
                    moz-do-not-send="true"
                    href="mailto:peter@stamfest.at">peter@stamfest.at</a>&gt;<br>
                  <b><span>To:</span></b> <a moz-do-not-send="true"
                    href="mailto:rrd-developers@lists.oetiker.ch">rrd-developers@lists.oetiker.ch</a>
                  <br>
                  <b><span>Sent:</span></b> Friday, February 14, 2014
                  9:39 PM<br>
                  <b><span>Subject:</span></b> [rrd-developers]
                  Question: rrdtool pipe interface - restore support?<br>
                </div>
                <div class="y_msg_container"><br>
                  Hi,<br>
                  <br>
                  Does the rrdtool pipe interface somehow support an
                  in-stream xml restore<br>
                  command?<br>
                  <br>
                  "dump" is&nbsp; (mostly) working as expected, although one
                  has to look for<br>
                  the "OK" response line to find out where the xml ends,
                  but this is not a<br>
                  problem. "restore" however has the problem that it
                  does not take input<br>
                  over the pipe interface. Using "-" as XML input seems
                  to *partly* work,<br>
                  but fails with a parser error. Using /dev/stdin works
                  when using the<br>
                  pipe interface on the command line, but can't work
                  when using the pipe<br>
                  over a TCP connection....<br>
                  <br>
                  Any ideas?<br>
                  <br>
                  I admit that I am using a rather old version: 1.4.7...<br>
                  <br>
                  peter<br>
                  <br>
                  _______________________________________________<br>
                  rrd-developers mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:rrd-developers@lists.oetiker.ch">rrd-developers@lists.oetiker.ch</a><br>
                  <a moz-do-not-send="true"
                    href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers"
                    target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers</a><br>
                  <br>
                  <br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </blockquote>
      <blockquote type="cite">
        <div><span>_______________________________________________</span><br>
          <span>rrd-developers mailing list</span><br>
          <span><a moz-do-not-send="true"
              href="mailto:rrd-developers@lists.oetiker.ch">rrd-developers@lists.oetiker.ch</a></span><br>
          <span><a moz-do-not-send="true"
              href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers</a></span><br>
        </div>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
rrd-developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rrd-developers@lists.oetiker.ch">rrd-developers@lists.oetiker.ch</a>
<a class="moz-txt-link-freetext" href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
---------------------------------------------------------------------
Dipl.-Ing. Peter Stamfest     UNIX, Networking &amp; Computing Consultant
Tel: +43/699/10711205         Software Development - Internetservices
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:peter@stamfest.at">peter@stamfest.at</a>     WWW: <a class="moz-txt-link-freetext" href="http://stamfest.at/">http://stamfest.at/</a></pre>
  </body>
</html>