Results 1 to 6 of 6

Thread: Posiblity on migrating Installed RPM from one RH to another RH Server

  1. #1
    Junior Member
    Join Date
    Jun 2013
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default Posiblity on migrating Installed RPM from one RH to another RH Server

    Hi Linux Masters,

    Background : I have two RH server. One is fully installed with the required rpm packages file. And another RH server which is freshly install.

    Issue : Assuming I do not have the RPM files. Is there anyway to migrate the installed RPM from one server to another fresh server ?

    Many Thanks,

    Regards,
    Tan

  2. #2
    Junior Member
    Join Date
    Jun 2013
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Quote Originally Posted by tan88122 View Post
    Hi Linux Masters,

    Background : I have two RH server. One is fully installed with the required rpm packages file. And another RH server which is freshly install.

    Issue : Assuming I do not have the RPM files. Is there anyway to migrate the installed RPM from one server to another fresh server ?

    Many Thanks,

    Regards,
    Tan
    Got news from my network admin. He says it's not possible. He instruct me to compile a list and as we move to new server we also move the packages along.Sad news for me = more work for me.Still , I was hoping there's other method though

    Regards
    Tan

  3. #3
    Senior Member ananth_ak's Avatar
    Join Date
    May 2010
    Location
    Vault 101
    Posts
    192
    Thanks
    23
    Thanked 19 Times in 17 Posts
    Rep Power
    7

    Default

    This is possible,

    if its just a few rpms then you can use rpmrebuild,

    Just issue the command: rpmrebuild <packagename>
    this will store package in: /usr/src/redhat/RPMS, then you just copy rpm to destination machine.

    The other option is to image the system using rsnapshot and restore over the fresh installation.

  4. #4
    Junior Member
    Join Date
    Jun 2013
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Quote Originally Posted by ananth_ak View Post
    This is possible,

    if its just a few rpms then you can use rpmrebuild,

    Just issue the command: rpmrebuild <packagename>
    this will store package in: /usr/src/redhat/RPMS, then you just copy rpm to destination machine.

    The other option is to image the system using rsnapshot and restore over the fresh installation.
    rpmrebuild seems interesting.
    Curiously, lets say there's an dependent library require for this particular rpm. if I would used it, would it include the dependent library too ?

  5. #5
    Senior Member ananth_ak's Avatar
    Join Date
    May 2010
    Location
    Vault 101
    Posts
    192
    Thanks
    23
    Thanked 19 Times in 17 Posts
    Rep Power
    7

    Default

    No, you will need to use rpm --whatrequires option to find dependencies for the rebuild rpms for these too.

  6. The Following User Says Thank You to ananth_ak For This Useful Post:

    tan88122 (26th June 2013)

  7. #6
    Junior Member
    Join Date
    Jun 2013
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Quote Originally Posted by ananth_ak View Post
    No, you will need to use rpm --whatrequires option to find dependencies for the rebuild rpms for these too.
    Many thanks. Will try it during my weekends.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Migrating from Arch Linux to... what?
    By Artur in forum The Hangout
    Replies: 4
    Last Post: 13th December 2012, 05:34 PM
  2. Migrating existing Mysql to Mysql cluster
    By flipmode in forum Databases servers
    Replies: 4
    Last Post: 9th August 2011, 02:46 PM
  3. [Solved] Where did the file get installed?
    By pine in forum CentOS / RHEL / Fedora
    Replies: 3
    Last Post: 15th October 2009, 08:08 AM
  4. I have installed Linux.. What next?
    By rockdalinux in forum Getting started tutorials
    Replies: 11
    Last Post: 20th May 2008, 07:55 PM
  5. rpm installed log
    By in forum Linux software
    Replies: 0
    Last Post: 9th January 2006, 08:57 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •