-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rsync error 23 #1555
Comments
Since BiT Version 1.4.0 (2023-09-14) the Could you please check the snapshot log for more details about the reason for the partial file transfer and show it here? I can then decide if we treat exit code 23 like an error or perhaps only as Edit: Exit code 24 is similar and already treated as INFO only (but for a well-known reason): backintime/common/snapshots.py Lines 1245 to 1250 in bda3a0c
|
No information in the log :
Just the error 23. |
OK, I have browsed the Which file systems are you using on the source and target side (and which mount options - use Edit:
Could you please double check the snapshot log in the GUI with the "All" filter to find any hint on a non-copied file or folder? The log is very long and may not use the word "error" but "failed" or similar to indicate the missing file so it is best to scroll through the list manually... Also: You could add "--stats -P" in the profile (Expert Options > Paste additional options to rsync) to get more details when re-running the snapshot. Edit 2: Internal note @aryoda : the used expert options "Preserve ACL" ( |
Which file systems are you using on the source and target side (and which mount options - use mount to find out the actual mount options)? Could you please double check the snapshot log in the GUI with the "All" filter to find any hint on a non-copied file or folder? The log is very long and may not use the word "error" but "failed" or similar to indicate the missing file so it is best to scroll through the list manually... Thanks EDIT:
It says "see previous errors" but I don't see another errors... I have deleted all saves with errors and relaunch a new save, it seems that everything is OK, it has saved a few gigs. |
The mount seems OK and more surprisingly the source and target are on the same mount so that I would not expect permission problems. Could you please uncheck the expert options "Preserve ACL" ( I suspect a file or folder with root or special execution rights to be inaccessible (even though If error 23 still occurs then please try to also uncheck the "Copy links (dereference symbolic links)" ( I want to find out which option provokes error 23 and ask for guidance at the BTW: BiT < v.1.4.0 silently ignores the error so you did not even know that some files are not backed-up but BiT should show you a warning then instead of an error IMHO (but I still need to understand the underlying reason for this). PS: When I create a file with root-only access in the backup source folder (
|
I have many disks with many symbolic links
My home:
Without --copy-links option, no error but I need this option.
I tried, no change, same error.
You right, I see same error in old saves
Yes, that true (I tried) but not in my case... |
I understand, without them, no more error messages. Thank you ! |
Great to hear you found the reason for exit code 23! It looks like there are some files in use... How did you find out which files/folders are causing this? And do ACLs still make a difference? Perhaps I can improve the logging to make reason for this problem more obvious... PS: I thought about running the logged |
Using my own The reason for the problem is shown only as info (without any further hint by
THX a lot for testing and your feed-back here! Edit: I could find an info in the snapshot log that could indicate the file causing the problem:
This lock file is a strange symbolic link to localhost (inodes can point to mounted network devices):
If I add this |
I made many attempts to launch rsync by deleting includes one by one
No.
Yes ! I confirm :) For Discord: |
I would like to keep this issue open until I have fixed the following TODOs:
|
I am not into details here. I discovered three tests where the 23-warning appears in the verbose output. The tests them selfs are passing. Is this expected or points it to problem?
The other two tests seem to test error cases. So it might be OK that a 23 warning is raised?
|
FAQ and dev doc: Closes #1166, #1582. Contributes to #1555 and #1587 - Add FAQ entry: Snapshot "WITH ERRORS": [E] 'rsync' ended with exit code 23 - Add FAQ entry: Does BiT support full system backups? - Add FAQ entry: Does BiT support backups on cloud storage like OneDrive or Google Drive? - Corrects some other typos in code comments - Add details about global locking to dev doc of control files usage
* rsync exit code 23 is now in the ignore list * Add experimental "rsync transfer failures" filter to snapshot log view * Exclude 'SingletonLock' and 'SingletonCookie' (Discord) and 'lock' (Mozilla Firefox) files by default (part of bit-team#1555)
…napshot log filter (#1621) * Work around for rsync exit code 23: Is no longer an error by adding it to the rsync exit code ignore list (#1587) * Add experimental "rsync transfer failures" filter to snapshot log view * Add links to rsync source code for rsync transfer failure filter * Exclude 'SingletonLock' and 'SingletonCookie' (Discord) and 'lock' (Mozilla Firefox) files by default (part of #1555) * Travis CI config file adjustments since coverage does fail with absolute path to Python for unknown reason (only relative path works) * CI: Remove sudo because travis says so ("no effect anymore") --------- Co-authored-by: aryoda <11374410+aryoda@users.noreply.github.com> Co-authored-by: Christian Buhtz <c.buhtz@posteo.jp>
FYI: The new BiT release v1.4.3 does |
Hi,
since the 1.4.1-1 update, all my backups end up with error 23.
The backup crashes very quickly and never on the same files.
I was supposedly in version 1.3.3-3 before the update via the ppa https://launchpad.net/~bit-team/+archive/ubuntu/stable.
I have backups on an external hard disk that work.
I tried to run the command backintime backup :
If I launch this same command into /home/hizoka/Sauvegarde/backintime/HizoNeon/hizoka/SavePrincipale/test that's work.
I have 1.5TB free on this disk.
Any Idea ?
Thank you
The text was updated successfully, but these errors were encountered: