Find the answer to your Linux question:
Results 1 to 6 of 6
hi everybody!! could it be possible? I have a Fedora 7 system on server (old server) but I need change it to new one (new server, different hardware) how I ...
  1. #1
    Just Joined!
    Join Date
    Oct 2010
    Posts
    4

    Question [SOLVED] Backup and Restore

    hi everybody!!

    could it be possible?

    I have a Fedora 7 system on server (old server) but I need change it to new one (new server, different hardware)

    how I can change everything and my system can run well on my new server.

    I made a hard disk clone with clonezilla and restore it on the new server and it did not work =( (different error messages like boot did not found, kernel panic). I did changes in grub file, fstab file. No good results yet

    someone knows other way to do it?

    thanks!

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,097
    Assuming, the imaging process was done properly,
    then this system still cant boot because this *ancient* kernel doesnt know about the newer hardware.
    Probably in particular harddisc controller.

    Imho, it doesnt make sense to invest time to somehow make fedora 7 run on newer hardware.
    I would
    - save data
    - save server config (DBs, apache, cronjobs, homedirs, user credentials, whatever)
    - install a fedora 13
    - migrate data
    - migrate server config (this might need some work, as the daemons have evolved since then)
    Last edited by Irithori; 10-06-2010 at 02:28 PM.
    You must always face the curtain with a bow.

  3. #3
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,096
    Quote Originally Posted by mrbs21 View Post
    could it be possible?
    Hello and welcome to the forums!

    Yes, it could be possible, but I agree with Irithori, especially considering that support for Fedora 7 ended back in June of 2008.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  4. #4
    Just Joined!
    Join Date
    Oct 2010
    Posts
    4
    Quote Originally Posted by Irithori View Post
    Assuming, the imaging process was done properly,
    then this system still cant boot because this *ancient* kernel doesnt know about the newer hardware.
    Probably in particular harddisc controller.

    Imho, it doesnt make sense to invest time to somehow make fedora 7 run on newer hardware.
    I would
    - save data
    - save server config (DBs, apache, cronjobs, homedirs, user credentials, whatever)
    - install a fedora 13
    - migrate data
    - migrate server config (this might need some work, as the daemons have evolved since then)
    Thanks all 4 your reply.

    Irithori: Sorry for the OT but have you made a similar restoring process?? how you did it? could you recommend how/where I could start to read about this kind of process. I have 100% of information, and my server is running and work very well. but i do not know how get my actual services and then move them to new one server and everything can run on Fedora 13/CentOS because I imagine that software version are different.

    And yes the errors were on my HD controller.

  5. #5
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,097
    The procedures depend very much on how the machine was setup,
    and also on the processes/applications there.
    So it will probably be a individual workflow, and only very general tipps can be given.

    The very first would be:
    - Make sure, you have a working backup of all valueable data.
    Second is:
    - Make sure, you have a working backup of all valueable data.

    - Ask the guys, who built the machine
    - Read the documentation, that your OPS team (hopefully) created about that server.
    - If that is not available, then you need to analyze that box and document your findings.

    * Running processes:
    Code:
    ps auwx
    * Open ports:
    Code:
    netstat -tunlp
    * Check the cronjobs in
    Code:
    /etc/crontab
    /etc/cron.*
    /var/spool/cron
    * Look at the users
    Code:
    /etc/passwd
    /ets/shadow
    * Look at the homedirectories
    Code:
    /home
    * Look at the configuration of the various (running) daemons and especially look out for datadirectories


    Other things to consider:
    * daemon config will most likely need modification on a fedora13 (or centos5)
    Understand, what the intention of the old config was and recreate it from scratch on fedora13 (or centos 5)
    * There is a chance, that database dumps cannot be imported so easily.
    Be sure you have someone to understand your databases.
    * Especially encoding might be tricky (everything is utf-8 nowadays)
    * if there is code (php/perl/whatever) involved, then most likely you need developers to migrate that code to a newer environment
    You must always face the curtain with a bow.

  6. #6
    Just Joined!
    Join Date
    Oct 2010
    Posts
    4

    [solved] backup and restore

    Well after to do a lot of tests to solved it. my server works!!

    frist is to important a full backup with clonezilla.

    after boot with centos DVD and menu write "linux rescue"

    after #chroot /mnt/sysimage

    after change /boot

    backup file the with #mv newest initd-2.6.15.fc7.img initd.bckup

    now rebuild your inidtrd

    #mkinitrd /boot/initd-2.6.15.fc7.img 2.6.15.fc7

    after reboot

    and works! really works. a new system at new box

    i hope this help to someone.

    thanks to all

Posting Permissions

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