<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" id="owaParaStyle" style="display: none;">P {margin-top:0;margin-bottom:0;}</style><style type="text/css" id="owaParaStyle" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
</head>
<body dir="ltr" fpstyle="1" aria-label="Message body" tabindex="0" style="">
<div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family: Calibri,Arial,Helvetica,sans-serif;font-size: 12pt;color: #000000;margin: 0;">
<div>
<div name="divtagdefaultwrapper" style="font-family:Calibri; font-size:12pt"><span lang="en-AU">
<div style="margin:14pt 0 10pt 0"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">You need to use -r to recursively copy.</span></div>
</span></div>
</div>
<div dir="ltr" style="color: rgb(40, 40, 40);">
<div>
<div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:#000000; margin:0">
<div><br>
<div name="divtagdefaultwrapper"><span lang="en-AU"><font face="Tahoma, sans-serif" size="2"><b>
<div style="margin:14pt 0px 10pt">cheers, P</div>
</b></font></span></div>
</div>
<div style="color:rgb(40,40,40)">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Xymon on behalf of Kris Springer<br>
<b>Sent:</b> Wednesday, 27 August 2014 1:41 PM<br>
<b>To:</b> Stef Coene; xymon@xymon.com<br>
<b>Subject:</b> Re: [Xymon] how to migrate historical data</font>
<div> </div>
</div>
<div>
<div class="moz-cite-prefix">I tried using scp to copy the following directories over to the new server.<br>
/var/lib/xymon/hist/<br>
/var/lib/xymon/histlogs/<br>
/var/lib/xymon/rrd/<br>
<br>
But I keep getting 'not a regular file' errors on the rrd and histlogs files.  I need the rrd data.  The graphs are really all I care about.<br>
<div class="moz-signature"><style type="text/css">
<!--
ol
        {margin:0;
        padding:0}
.c0
        {color:#990000;
        font-size:10pt;
        background-color:#ffffff;
        font-family:"Calibri";
        font-weight:bold}
.c5
        {color:#990000;
        font-size:8pt;
        background-color:#ffffff;
        font-family:"Calibri"}
.c1
        {color:#990000;
        font-size:10pt;
        background-color:#ffffff;
        font-family:"Calibri"}
.c2
        {max-width:468pt;
        background-color:#ffffff;
        padding:72pt 72pt 72pt 72pt}
.c4
        {text-decoration:underline}
.c3
        {direction:ltr}
.title
        {widows:2;
        padding-top:0pt;
        line-height:1.15;
        orphans:2;
        text-align:left;
        color:#000000;
        font-size:21pt;
        font-family:"Trebuchet MS";
        padding-bottom:0pt;
        page-break-after:avoid}
li
        {color:#000000;
        font-size:11pt;
        font-family:"Arial"}
h1
        {widows:2;
        padding-top:10pt;
        line-height:1.15;
        orphans:2;
        text-align:left;
        color:#000000;
        font-size:16pt;
        font-family:"Trebuchet MS";
        padding-bottom:0pt;
        page-break-after:avoid}
h2
        {widows:2;
        padding-top:10pt;
        line-height:1.15;
        orphans:2;
        text-align:left;
        color:#000000;
        font-size:13pt;
        font-family:"Trebuchet MS";
        font-weight:bold;
        padding-bottom:0pt;
        page-break-after:avoid}
h3
        {widows:2;
        padding-top:8pt;
        line-height:1.15;
        orphans:2;
        text-align:left;
        color:#666666;
        font-size:12pt;
        font-family:"Trebuchet MS";
        font-weight:bold;
        padding-bottom:0pt;
        page-break-after:avoid}
h4
        {widows:2;
        padding-top:8pt;
        line-height:1.15;
        orphans:2;
        text-align:left;
        color:#666666;
        font-size:11pt;
        text-decoration:underline;
        font-family:"Trebuchet MS";
        padding-bottom:0pt;
        page-break-after:avoid}
h6
        {widows:2;
        padding-top:8pt;
        line-height:1.15;
        orphans:2;
        text-align:left;
        color:#666666;
        font-style:italic;
        font-size:11pt;
        font-family:"Trebuchet MS";
        padding-bottom:0pt;
        page-break-after:avoid}
-->
</style><br>
<p class="c3"><span class="c1">Thank you.</span></p>
<p class="c3"><span class="c1">------------------------------------------------</span></p>
<p class="c3"><span class="c0">Kris Springer<br>
</span></p>
<p class="c3"><span class="c0"><br>
</span></p>
</div>
<br>
On 8/26/2014 12:12 PM, Stef Coene wrote:<br>
</div>
<blockquote type="cite">
<pre>On Tuesday 26 August 2014 09:33:18 Kris Springer wrote:
</pre>
<blockquote type="cite">
<pre>I've built a second Xymon server that I plan to use as my primary, but I
need to pull all the historical data from the old one.  What's a quick
way to do that?  Can I just add the new server's IP into a config file
and have the old one just pump all the data over?
</pre>
</blockquote>
<pre>Just copy the data directory.
If the rrd's are not compatibel (32 bit -> 64 bit) you can export the rrd to 
xml on the old server, transfer the xml file and import the xml to an rrd.  I 
juist did that for one of our customers :)


Stef
_______________________________________________
Xymon mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xymon@xymon.com">Xymon@xymon.com</a>
<a class="moz-txt-link-freetext" href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>