Problems and solutions encountered when using dump for backup in ubuntu (record)

Because I need to uninstall Clion and I am worried about problems after uninstalling, I consider using dump for backup just in case.

1. Determine whether there is a dump

If there is, it will be as shown in the figure below

 if there is not

sudo apt install dump

2. Start backup

问题一:DUMP: You can't update the dumpdates file when dumping a subdirectory

 Solution: remove u

dump -0j -f 想要备份到的位置.bz2 想要备份的文件

Question 2: DUMP: Cannot open /dev/nvme0n1p9

 Solution: add sudo

sudo dump -0j -f 想要备份到的位置.bz2 想要备份的文件

3. Final effect

 

Guess you like

Origin blog.csdn.net/m0_72522488/article/details/130045502