[hobbit] transfer host data

Josh Luthman josh at imaginenetworksllc.com
Sat Nov 24 16:34:10 CET 2007


What I mean is something like..

cp ~hobbituser/data/hist/oldhost ~hobbituser/data/hist/new host
cp ~hobbituser/data/histlogs/oldhost ~hobbituser/data/histlogs/new host
cp ~hobbituser/data/logs/oldhost ~hobbituser/data/logs/new host

Notice you're using cp - not mv!

On 11/24/07, Ryan Jay B. Lapuz <rlapuz at fcpp.fujitsu.com> wrote:
>
>  Yeah, but the file names are associated with the current hostname, and I
> want to copy it to different hostname. Maybe I'll make backup first, then
> I'll move the host data to another host. Then restore the hostdata to its
> original host.
> Is this correct?
>
> ----- Original Message -----
> *From:* Josh Luthman <josh at imaginenetworksllc.com>
> *To:* hobbit at hswn.dk
> *Sent:* Saturday, November 24, 2007 1:34 PM
> *Subject:* Re: [hobbit] transfer host data
>
> I believe that if you go into ~hobbituser/data and copy the data in hist,
> histlogs, and logs you'll get what you need.
>
> On 11/24/07, Ryan Jay B. Lapuz <rlapuz at fcpp.fujitsu.com> wrote:
> >
> >  I'm sorry, it is not to be moved, I just want copy the host data to
> > another host.
> > Is this possible?
> >
> > ----- Original Message -----
> > *From:* Josh Luthman <josh at imaginenetworksllc.com>
> > *To:* hobbit at hswn.dk
> > *Sent:* Saturday, November 24, 2007 1:03 PM
> > *Subject:* Re: [hobbit] transfer host data
> >
> > There is no difference in those two commands.  Your question is answered
> > by the third line you have.
> >
> > The only thing that takes place when this command is issued is a rename
> > of the historical information for one host.  This can be used, for example,
> > if you typo a name.  IE: you have mommie.domain.tld and it should be
> > mommy.domain.tld and for the past week mommie.domain.tld has been
> > collecting information and you'd like to keep it.
> >
> > On 11/23/07, Ryan Jay B. Lapuz <rlapuz at fcpp.fujitsu.com> wrote:
> > >
> > >   Hii all!
> > >
> > > This is regarding to this command:
> > >
> > > ~/server/bin/bb
> > >
> > > 127.0.0.1 "rename OLDHOSTNAME NEWHOSTNAME"
> > >
> > > Description: move your historical data over to the new name
> > >
> > > Is this also possible if I will just move only the host data to another host? Like this one,
> > >
> > > ~/server/bin/bb 127.0.0.1 "rename HOSTNAME TARGETHOSTNAME"
> > >
> > > The target host has no client but is defined in the bb-hosts file.
> > >
> > >
> > >
> > >
> > >
> > > *-----------------------------------------------
> > > RYAN JAY B. LAPUZ *
> > > Client-Server Group
> > > Information System Support <http://system.fcpp.fujitsu.com/>
> > > Management Information System *
> > > Fujitsu Comp. Prod. Corp. of the Phil. *
> > > Email: rlapuz at fcpp.fujitsu.com <rlapuz at fcpp.fujitsu.com+>
> > > +63 2 843 2002 / +63 49 549 1501
> > > Local No.: 2724/2723
> > > *-----------------------------------------------*
> > >
> >
> >
> >
> > --
> > Josh Luthman
> > Office: 937-552-2340
> > Direct: 937-552-2343
> > 1100 Wayne St
> > Suite 1337
> > Troy, OH 45373
> >
> > Those who don't understand UNIX are condemned to reinvent it, poorly.
> > --- Henry Spencer
> >
> >
>
>
> --
> Josh Luthman
> Office: 937-552-2340
> Direct: 937-552-2343
> 1100 Wayne St
> Suite 1337
> Troy, OH 45373
>
> Those who don't understand UNIX are condemned to reinvent it, poorly.
> --- Henry Spencer
>
>


-- 
Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20071124/e8b4c7fb/attachment.html>


More information about the Xymon mailing list