Ask Your Question
2

How can I back up my Fedora system's /home + whole configuration + everything installed by user?

asked 2017-01-14 09:02:18 -0500

xd10 gravatar image

updated 2017-01-14 19:24:50 -0500

mattdm gravatar image

I want to backup my whole configuration, everything I installed on my Fedora system and of course my home-folder onto an external hard disk drive. Does anyone know a tool which is simple to use and does exactly this???

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted
1

answered 2017-01-14 19:48:11 -0500

mrkenhill gravatar image

You should probably not worry about the entire OS... Just make sure you get a backup of your installed packages:

rpm -qa > ~/mystorage/my.system.stuff

(You can do a re-install better and faster from any media than you can fiddling with backups of the ENTIRE filesystem)

THEN:

You have many options (any of these will do):

  1. tar -cf /mystorage/funkychicken.home.tar /home/funkychicken
  2. cp -rp /home/funkychicken /mystorage/funkychicken.backup
  3. rsync -au /home/funkychicken /mystorage/funkychicken.backup . . .
edit flag offensive delete link more

Comments

is it possible to get the depending config.files with rpm too?

kaestchen gravatar imagekaestchen ( 2017-04-06 02:55:00 -0500 )edit
0

answered 2017-04-05 17:22:41 -0500

ahhhreccek2710 gravatar image

...or create BTRFS with Snapper support :) Can you also use dd

dd if=/dev/mydatadiskorpartition | gzip -9 > backupofmydatadiskorpartition.backup
edit flag offensive delete link more
0

answered 2017-04-05 18:41:18 -0500

adr1an gravatar image

You could use rsync:

$ rsync --recursive --times --links --delete --numeric-ids --compress --verbose --progress --itemize-changes --protect-args ~/ /PATHWHERETOSAVEBACKUP/

If you don't feel confortable with command line interface, and since rsync has lots of options, you could try using grsync (which is a GUI for rsync and has lots of tooltips explaining every option).

edit flag offensive delete link more

Comments

i know rsync is a powerful tool for the task, but for me as a beginner your command is really intimidating.

kaestchen gravatar imagekaestchen ( 2017-04-06 03:00:11 -0500 )edit

Take a look at Déjà Dup Backup Tool or Grsync.

adr1an gravatar imageadr1an ( 2017-04-06 14:57:00 -0500 )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

1 follower

Stats

Asked: 2017-01-14 09:02:18 -0500

Seen: 847 times

Last updated: Apr 05 '17