What is the best way to backup my fresh Deepin insall ?
Tofloor
poster avatar
mike235
deepin
2017-11-22 03:02
Author
Hi,

So I have freshly installed Deepin, updated all the packets, installed my drivers and configured my apps, etc.

Now that everything is nicely setup, I would like to create a backup of the whole partition, so I can restore back to this point in case I need it.

What would be the best approach to this ? I have tried the Deepin clone tool, but it doesn't let me clone a partition that is being used.
Reply Favorite View the author
All Replies
137******33
deepin
2017-11-22 05:50
#1
Try to clone your system, using: sudo dd if="your system partition" of="your output file name and location",
like sudo dd if=/dev/sda3 of=/dev/sdb2/Deepin.iso

And then, you can use "sudo dd if=/dev/sdb2/Deepin.iso of=/dev/sda3" to restore. But maybe you should create a live system to do this.
Reply View the author
melodyzou
deepin
2017-11-23 00:05
#2
What would be the best approach to this ? I have tried the Deepin clone tool, but it doesn't let me clone a partition that is being used.

Do you mean that you want to backup disk on the device you sre using now?
You can only choose these three options.
Reply View the author
mike235
deepin
2017-11-23 01:10
#3
Edited by mike235 at 2017-11-22 17:14
https://bbs.deepin.org/post/148713
Try to clone your system, using: sudo dd if="your system partition" of="your output file name and lo ...

Thanks, yes I guess this must be restored from a live system.
Do you know any live small linux distributions that are dedicated to backup / restore ?
Reply View the author
mike235
deepin
2017-11-23 01:13
#4
Edited by mike235 at 2017-11-22 17:19
https://bbs.deepin.org/post/148713
Do you mean that you want to backup disk on the device you sre using now?
You can only choose these ...

I mean when I choose to backup a partition, it doesn't let me backup the root partition (=the one being used). See here (right-click "Open image in new tab" to see it bigger) :

This is the error message at the end :


Reply View the author
137******33
deepin
2017-11-27 20:32
#5
https://bbs.deepin.org/post/148713
Edited by mike235 at 2017-11-22 17:14

Hmm... Deepin live?
I don't know weather the Archlinux install system(basic system) can use "dd" or not...
Or Puppy linux.
Reply View the author
打击越
deepin
2017-11-27 21:01
#6
https://bbs.deepin.org/post/148713
Edited by mike235 at 2017-11-22 17:19

Try to install live-filesystem
  1. rhett@rhett-pc:~$ apt policy live-filesystem
  2. live-filesystem:
  3.   Installed: 1.0.1+201711081733
  4.   Candidate: 1.0.1+201711081733
  5.   Version table:
  6. *** 1.0.1+201711081733 500
  7.         500 http://packages.deepin.com/deepin panda/main amd64 Packages
  8.         500 http://packages.deepin.com/deepin panda/main i386 Packages
  9.         500 http://proposed.packages.deepin.com/deepin panda/main amd64 Packages
  10.         500 http://proposed.packages.deepin.com/deepin panda/main i386 Packages
  11.         100 /var/lib/dpkg/status
Copy the Code

  1. sudo apt install live-filesystem
Copy the Code


When installed, restart your pc, In boot menu you will see 'Deepin Recovery' menu, boot into this system, then you can backup your system
Reply View the author
mike235
deepin
2017-11-28 04:53
#7
The live-filesystem solution worked, thanks.
Reply View the author
iblis
deepin
2017-11-28 16:30
#8
https://bbs.deepin.org/post/148713
Edited by mike235 at 2017-11-22 17:19

For me, live-filesystem doesn't work. So I'd simply use my deepin installation disk(15.5 Beta or later). When you enter the installation interface, press Ctrl-Alt-F2 to enter terminal. Simply input "startx" command to enter live CD mode. Then you can backup whatever you want including your root directory on hard disk.
Reply View the author