Systemback 1.9.4 — 系统复制期间出现 Errno:22

Systemback 1.9.4 — 系统复制期间出现 Errno:22

将我的系统(包括用户数据副本)复制到内部高清时,systemback 因错误 22 而停止并中止复制。

在此处输入图片描述

尝试追踪 DBGLEV=3 系统恢复-sustart得到以下结果:

p_metheny99@jarvis:~$ DBGLEV=3 systemback-sustart
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'

 Systemback

 Version: 1.9.4_05.02.2020_Qt5.12.8_GCC9.3.0_amd64
 Compilation date and time: Apr 15 2018 12:44:46
 Installed files: /etc/xdg/autostart/sbschedule-kde.desktop
                  /etc/xdg/autostart/sbschedule.desktop
                  /usr/bin/systemback
                  /usr/bin/systemback-cli
                  /usr/bin/systemback-sustart
                  /usr/lib/systemback/libsystemback.so
                  /usr/lib/systemback/libsystemback.so.1
                  /usr/lib/systemback/libsystemback.so.1.0
                  /usr/lib/systemback/libsystemback.so.1.0.0
                  /usr/lib/systemback/sbscheduler
                  /usr/lib/systemback/sbsustart
                  /usr/lib/systemback/sbsysupgrade
                  /usr/share/applications/systemback-kde.desktop
                  /usr/share/applications/systemback.desktop
                  /usr/share/systemback/efi-amd64.bootfiles
                  /usr/share/systemback/lang/systemback_ar_EG.qm
                  /usr/share/systemback/lang/systemback_ca_ES.qm
                  /usr/share/systemback/lang/systemback_cs.qm
                  /usr/share/systemback/lang/systemback_da_DK.qm
                  /usr/share/systemback/lang/systemback_de.qm
                  /usr/share/systemback/lang/systemback_en_GB.qm
                  /usr/share/systemback/lang/systemback_es.qm
                  /usr/share/systemback/lang/systemback_fi.qm
                  /usr/share/systemback/lang/systemback_fr.qm
                  /usr/share/systemback/lang/systemback_gl_ES.qm
                  /usr/share/systemback/lang/systemback_hu.qm
                  /usr/share/systemback/lang/systemback_id.qm
                  /usr/share/systemback/lang/systemback_pt_BR.qm
                  /usr/share/systemback/lang/systemback_ro.qm
                  /usr/share/systemback/lang/systemback_ru.qm
                  /usr/share/systemback/lang/systemback_tr.qm
                  /usr/share/systemback/lang/systemback_uk.qm
                  /usr/share/systemback/lang/systemback_zh_CN.qm
 Operating system: Ubuntu 20.04.1 LTS
 Mounted filesystems: /dev/sdc4 / ext4 rw,relatime,errors=remount-ro 0 0
                      /dev/sdc1 /boot/efi vfat rw,relatime,fmask=0077,dmask=007
                      7,codepage=437,iocharset=iso8859-1,shortname=mixed,errors
                      =remount-ro 0 0
                      /dev/sdc3 /home ext4 rw,relatime 0 0
 System language: it_IT
 Translation: -

mke2fs 1.45.5 (07-Jan-2020)
/dev/sdb5 contiene un file system ext4 con etichetta "SB@"
    last mounted on /.sbsystemcopy on Wed Oct 21 17:04:04 2020
Discarding device blocks: fatto                            
Creazione del file system con 12875520 4k blocchi e 3219456 inode
Etichetta del file system=21cfa7dc-0de7-485f-a111-a56c71c67c6f
Backup del superblocco salvati nei blocchi: 
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
    4096000, 7962624, 11239424

Allocating group tables: fatto                            
Scrittura delle tavole degli inode: fatto                            
Creating journal (65536 blocks): fatto
Scrittura delle informazioni dei super-blocchi e dell'accounting del file system: fatto  


 An error occurred while cloning the following file:

 
 /home/p_metheny99/Documenti/PC_ASUS_VivoBook_Pro_15_N580GD_NVIDIA_problemi_vari/EDIT_GRUB_E_INSTALLA_DRIVER_NVIDIA

 Target file:

 
 /.sbsystemcopy/home/p_metheny99/Documenti/PC_ASUS_VivoBook_Pro_15_N580GD_NVIDIA_problemi_vari/EDIT_GRUB_E_INSTALLA_DRIVER_NVIDIA


 /home/p_metheny99/Documenti/PC_ASUS_VivoBook_Pro_15_N580GD_NVIDIA_problemi_vari/EDIT_GRUB_E_INSTALLA_DRIVER_NVIDIA
  d rwx------ - 1000 1000 2083 -

 /home/p_metheny99/Documenti/PC_ASUS_VivoBook_Pro_15_N580GD_NVIDIA_problemi_vari
  d rwx------ - 1000 1000 2083 -
 /home/p_metheny99/Documenti
  d rwx------ - 1000 1000 2083 -
 /home/p_metheny99
  d rwxr-xr-x - 1000 1000 2083 -
 /home
  d rwxr-xr-x - 0 0 2083 -


 /.sbsystemcopy/home/p_metheny99/Documenti/PC_ASUS_VivoBook_Pro_15_N580GD_NVIDIA_problemi_vari/EDIT_GRUB_E_INSTALLA_DRIVER_NVIDIA
  f rwx------ 1 0 0 2069 0B

 /.sbsystemcopy/home/p_metheny99/Documenti/PC_ASUS_VivoBook_Pro_15_N580GD_NVIDIA_problemi_vari
  d rwxr-xr-x - 0 0 2069 -
 /.sbsystemcopy/home/p_metheny99/Documenti
  d rwxr-xr-x - 0 0 2069 -
 /.sbsystemcopy/home/p_metheny99
  d rwxr-xr-x - 1000 1000 2069 -
 /.sbsystemcopy/home
  d rwxr-xr-x - 0 0 2069 -
 /.sbsystemcopy
  d rwxr-xr-x - 0 0 2069 -

 Errno: 22

可以使用文件管理器的常规复制/粘贴来复制 /home 目录中的所有文件,但不能使用包含用户数据的 systemback 复制选项。

答案1

问题只发生在你想复制你的系统+家庭数据到新媒体。在这种情况下,即使您拥有正确的权限来允许复制所有目录和文件,系统复制仍会因 Errno: 22 而中止。

可以通过取消标记该选项来绕过该问题: 复制用户数据文件

在此处输入图片描述

通过这种方式,您就可以正确地将没有主数据的系统复制到新媒体中,而不会出现 Errno: 22。

只有在使用 systemback 复制系统之后,您才可以使用文件管理器将 /home 的全部内容复制到新复制的系统中。

相关内容