Ask Your Question
2

Backup Fedora as ISO to boot up to another PC

asked 2017-11-12 03:52:37 -0600

Cyber Linux gravatar image

Hi,

I am looking for Backup Fedora as ISO to boot up to another PC? With all configurations and files, hidden files, and etc... (everything)

Thanks in advance**

edit retag flag offensive close merge delete

Comments

Would be issues, as the new machine would not use the same device id for mounting your drives, and fstab would have to be updated. Install fedora, and just copy /home and all subfolders, then reinstall any software you had on old machine.

steveebey73742 gravatar imagesteveebey73742 ( 2017-11-12 22:53:36 -0600 )edit

Many thanks, but I would like to restore at least my HOME + all apps= could I?

Cyber Linux gravatar imageCyber Linux ( 2017-11-12 23:26:07 -0600 )edit

3 Answers

Sort by » oldest newest most voted
2

answered 2017-11-13 08:09:30 -0600

I believe that Clonezilla(it's free) will do what you want

edit flag offensive delete link more

Comments

Many thanks~ Clonezilla: it takes too much of disk as the image + not perfect with 2 machines when restore!

Cyber Linux gravatar imageCyber Linux ( 2017-11-17 05:34:35 -0600 )edit

Clonezilla clones your entire OS which is only advisable if hardware of the two machines is identical. I think it's way too much pain compared to a fresh install of Fedora and further restoring personal data and settings from the first machine.

gobigobi66 gravatar imagegobigobi66 ( 2017-12-14 10:47:10 -0600 )edit

not just an image backup program, will also backup directories

rothauserch gravatar imagerothauserch ( 2017-12-14 15:36:54 -0600 )edit
1

answered 2017-11-13 15:43:56 -0600

florian gravatar image

updated 2017-12-13 23:48:06 -0600

Just backup a list of user installed packages (sudo dnf history userinstalled or better sudo dnf history userinstalled > my-packages.txt) in addition to a backup of your entire home directory (simply copy, or rsync, or use some backup software available in Fedora).

Then perform a fresh install of Fedora (same release version as the backup) onto the other machine, and restore the user-installed packages as well as the content in your home directory.

Optionally, you can also backup and restore /etc

edit flag offensive delete link more

Comments

Many thanks~ So, what else I could back up with /etc + /home, and the packages.

what about the configurations that I did in gnome-shell etc?

Cyber Linux gravatar imageCyber Linux ( 2017-11-17 05:36:46 -0600 )edit

depends where you changed the settings for gnome-shell. If you changed user files and not global settings they are all in your home dir. (for example extensions are in ~/.local/share/gnome-shell/extensions/)

florian gravatar imageflorian ( 2017-11-17 09:51:17 -0600 )edit
1

Many thanks~ So when I want to back up the files: /etc + /home from Fedora 27 and restore them to another machine on Fedora 27, I will get everything back to my settings, configurations etc? No need to customization my system aging of gnome-shell and apps, etc?

Cyber Linux gravatar imageCyber Linux ( 2017-11-29 13:48:08 -0600 )edit

Yes, you will. Everything is saved in a hidden directory called .config inside your home (~). So that is ~/.config/.

If your customization relies on packages you have installed manually, make sure you install those packages on the other machine as well. (that's where dnf history userinstalled is handy)

florian gravatar imageflorian ( 2017-12-01 10:22:18 -0600 )edit

When you backup your /home/user make sure you copy the entire directory - do not just mark, copy and paste the directories you are seeing in a filemanager, unless you have changed the settings to display hidden files and folders (Ctrl + h in Gnome Files (nautilus)).

florian gravatar imageflorian ( 2017-12-01 10:23:56 -0600 )edit
0

answered 2017-12-13 23:15:19 -0600

Cyber Linux gravatar image

What about dir of /usr /root /lib Could backup them? with /home /etc

edit flag offensive delete link more

Comments

please put additional question as comments to your question, or answer.

I don't backup neither /usr, nor /lib since this will be filled during a fresh install (unless you compile software yourself that you store in /usr, and you want to backup the compiled binaries)

/root - if you have anything in there, back it up. (In regular use cases, this dir should be pretty much empty)

florian gravatar imageflorian ( 2017-12-13 23:42:53 -0600 )edit

okay, I've files in /root

so, what about backup my packages as command then restore them?

Also, Déjà Dup Backup Tool will backup every file and dir as well as hidden files and dir?

for the /usr: I need my icons and themes since I don't have them in my /home/user/.local thnaks

Cyber Linux gravatar imageCyber Linux ( 2017-12-14 07:02:39 -0600 )edit

I'd advise you to copy themes and icons to your home user dir before backing up. Most backup software has all sort of settings that you can adjust to your needs. I use Back in time (backintime), and yes of course, it includes all hidden .files and .folders.

florian gravatar imageflorian ( 2017-12-14 11:00:06 -0600 )edit

So what about dir /usr can I backup that in Déjà Dup Backup Tool because of all my apps, settings, themes, and icons there! Finally, it's possible when restoring: /usr /home /root /etc To another machine that runs on the same OS of Fedora 27.

Cyber Linux gravatar imageCyber Linux ( 2017-12-19 00:02:39 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2017-11-12 03:52:37 -0600

Seen: 582 times

Last updated: Dec 13 '17