备份生成的TXT文件(怀疑内容已被加粗):
v0.1.1-3a9c1f75
2026-04-04 23:54:12 - INFO - [backup] Get current user email: [Redacted]
Total backup size: 8.78GB (Chrome profile size: 3.18GB, Android data size: 5.60GB)
Available space: 76.53GB
Backup the file to /home/chronos/u-ca7bdc25a1cca51abbbf3778ff551442ac9108f4/MyFiles/Backup/fydeos_[Redacted]_20260404_2353.bak
Backing up files /home/.shadow/ca7bdc25a1cca51abbbf3778ff551442ac9108f4/mount/user and /home/.shadow/ca7bdc25a1cca51abbbf3778ff551442ac9108f4/mount/root/android-data No terminal found for user interaction. All questions will be assumed a negative answer (less destructive choice), which most of the time will abort the program.
Final memory cleanup… Aborting program. User refused to continue while asking: Found negative date (mtime, data modification time) for inode /home/.shadow/ca7bdc25a1cca51abbbf3778ff551442ac9108f4/mount/root/android-data/data/misc/bootstat/time_since_last_boot . Can we read it as if it was zero (1st January 1970 at 00:00:00 UTC)?
我通过root权限手动执行脚本,发现这个脚本很可能存在问题
Backing up files /home/.shadow/ca7bdc25a1cca51abbbf3778ff551442ac9108f4/mount/user and /home/.shadow/ca7bdc25a1cca51abbbf3778ff551442ac9108f4/mount/root/android-data
mv: cannot move ‘/tmp/fydeos_backup_UDvwzzNh’ to ‘home/.shadow/ca7bdc25a1cca51abbbf3778ff551442ac9108f4/mount/.temp_fydeos_backup_extra’: No such file or directory
其中的home很可能少了个斜杠,这该如何修复
我手动创建了.temp_fydeos_backup_extra文件夹,但是无用
不过我觉得你那边根本的问题是下面这个报错导致的,你需要查看一下这个文件的mtime为何会是负数,导致 dar 程序退出了。
使用 stat 命令查看文件的mtime,使用touch命令可以更新mtime
Aborting program. User refused to continue while asking: Found negative date (mtime, data modification time) for inode
/home/.shadow/ca7bdc25a1cca51abbbf3778ff551442ac9108f4/mount/root/android-data/data/misc/bootstat/time_since_last_boot . Can we read it as if it was zero (1st January 1970 at 00:00:00 UTC)?