Skip Navigation

how to move to a new computer?

I just bought a new computer. I'll install fedora silverblue. Do I just need to copy the home directory? And crontab. What else do I need to move?

25 comments
  • Consider using tar to create an archive of your home directory, and then unpacking that on the new machine. This will help to capture all the links as well as regular files, and their permissions.

    Take a minute to think what else you have changed on the old machine, and then take another minute to think how tricky it would be to replicate on a new machine. Downloading the apps again is gloriously easy. Replacing configs, or keys and certificates, is not!

    I normally archive /etc as well, and then I can copy out the specific files I need.

    Did you install databases? You'll want to follow specific instructions for those.

    Have you set up web sites? You'll want to archive /var/www as well.

  • I just made the move to another computer, using the same distro and DE setup as the old one. So far I managed by backing up ~/ and /usr/ so I could drop in system and programming settings.

    I don't know how that will work if you're going for a new distro but it's always good to have your old configs for reference!

  • tl;dr:

     
        
    dnf list installed > $anydir/meow
    
      

    On new computer, with fedora installed and the meow file;

     
        
    dnf install $(cat $anydir/meow)
    
    
      
    • Well doesnt work on Silverblue but

       
          
      flatpak list --app
      
        

      If you have configured Flatpaks, you may want to copy the ~/.var/app/ directories.

  • Depending upon how much you have customized it, you could just copy the entire OS, adjust various config files for the new partition UUID's.

25 comments