Skip to content

Full system backup

Is there anyway to backup my arch install with all my packages, my settings, wm, my whole UI setup?

Something that i can restore later to make a clone of my UI and everything else when I freshly install arch again

13 points14 comments
Open on Reddit
About this post
Posted
Archived
Score
13 · 88% up
Kind
Text
ID
115iktp

Author

2
posts
4
comments
0
media
View profile

15 comments

Rescuezilla/clonezilla would likely be the easiest.

6 points

There are many ways to do that. You can use the "dd" command to create an image of your entire disk and then use it again to flash it to another disk.

5 points

Is there any guide for this. How do I create an image and flash it. I'm new to linux

1 points

There is a section for disk cloning in the archwiki

It is very simple, when use dd you choose an input file (if) and an output file (of, the output file doesn't need to exist because it will be created if it doesn't). All the content of the input file will be cloned to the output file. So basically you can use your original disk as input file and your new disk as the output file and everything will be cloned. Or you could use your original disk as input file and a regular file as the output file then get your new disk and use the file you created and stored somewhere as input and the new disk as output file.

Your disks are represented as a file in Linux in the /dev directory usually as /dev/sda, /dev/sdb, /dev/sdc and so on. The partitions are /dev/sda1, /dev/sda2, /dev/sdb1 and so on. Ignore the partitions and clone the entire disk if you want all the contents of the disk cloned.

8 points

I've used dd through 3 laptops, 2 analog hard drives and now on my 2nd SSD - with the same system.

It's a little advanced but very powerful.

Please note ; I've also accidentally wiped out the entire system. Be careful.

2 points

How did you wipe it. Asking to avoid

1 points

If memory serves me correctly, I had cleaned the old drive of data using dd... I fat fingered - even though I have small hands for a guy - my bash history recall and well that's not the command from history I meant to run....

Now..... DD.....at the prompt means.... Slow the f**k down.

1 points

use Timeshift for / (systemfiles) and BackInTime for /home. After a new install use the applications to "update" to the saved settings.

2 points
unknown author

Deleted before we saved it.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.