Error when copying files from /etc

English Support for Syncovery on Linux etc.
Post Reply
Hecate
Posts: 9
Joined: Tue Apr 09, 2024 12:27 pm

Error when copying files from /etc

Post by Hecate »

When trying to backup my /etc folder on linux (Rocky Linux 9.4) with SyncoveryRS service enabled, I have some of the following errors:

Code: Select all

\pcp\pmsearch\pmsearch.conf (Transfer error, dest size=3687, src size=37 at 0000000001F957DC.CP: BTFOutX)
\pcp\pmseries\pmseries.conf (Transfer error, dest size=3687, src size=37 at 0000000001F957DC.CP: BTFOutX)
\systemd\system\graphical.target.wants\rtkit-daemon.service (Transfer error, dest size=1053, src size=44 at 0000000001F957DC.CP: BTFOutX)
\systemd\system\graphical.target.wants\udisks2.service (Transfer error, dest size=207, src size=39 at 0000000001F957DC.CP: BTFOutX)
\systemd\system\graphical.target.wants\upower.service (Transfer error, dest size=994, src size=38 at 0000000001F957DC.CP: BTFOutX)
\systemd\system\local-fs.target.wants\ostree-remount.service (Transfer error, dest size=1481, src size=46 at 0000000001F957DC.CP: BTFOutX)
I also have SElinux enabled
I don't understand why it's failling

tobias
Posts: 1861
Joined: Tue Mar 31, 2020 7:37 pm

Re: Error when copying files from /etc

Post by tobias »

Hi,
maybe these are links?

Which of the reported sizes is correct, for example for the first file:
\pcp\pmsearch\pmsearch.conf

You can disable the size check on the second tab sheet of the FTP dialog.

Apparently the file system reports a different size from what is actually read and copied, possibly because they are links.

Hecate
Posts: 9
Joined: Tue Apr 09, 2024 12:27 pm

Re: Error when copying files from /etc

Post by Hecate »

You are right, these are symbolic links !

tobias
Posts: 1861
Joined: Tue Mar 31, 2020 7:37 pm

Re: Error when copying files from /etc

Post by tobias »

Hi,
OK, I need to fix the size checking for those.

You can choose if symlinks should be followed under Masks & Filters -> General Filters.

Hecate
Posts: 9
Joined: Tue Apr 09, 2024 12:27 pm

Re: Error when copying files from /etc

Post by Hecate »

I've checked both the "Follow symbolic link to"

tobias
Posts: 1861
Joined: Tue Mar 31, 2020 7:37 pm

Re: Error when copying files from /etc

Post by tobias »

Hello,
this problem should be fixed in version 10.16.9 now.

Hecate
Posts: 9
Joined: Tue Apr 09, 2024 12:27 pm

Re: Error when copying files from /etc

Post by Hecate »

Updated today (I know I'm late and I'm sorry) to version 10.16.11

one error:

Code: Select all

***** Left Side: : SFTP CONNECTION STARTS *****
Left Side: : Established SFTP connection with user name root. Total number of SFTP connections: 3
08:59:16.278 Transfer error, dest size=551, src size=39
E:\backups\main\etc\systemd\system\multi-user.target.wants\amavisd.service.d20240305-u175204.s39.$syncovery
Exception Transfer error, dest size=551, src size=39 at 0000000001C312FA.
Filename: sftp://main.neurozone.fr/etc/systemd/system/multi-user.target.wants/amavisd.service
Checkpoints: TGGetOrPutEX:Transfer error, dest size=551, src size=39
Incomplete file deleted from destination: E:\backups\main\etc\systemd\system\multi-user.target.wants\amavisd.service.d20240305-u175204.s39.$syncovery
Double-checking source file size for ostree-remount.service
Size confirmed: 46
08:59:14.776 Copied file too big on dest (1481>46) - deleting:
E:\backups\main\etc\systemd\system\local-fs.target.wants\ostree-remount.service.d20241018-u190622.s46.$syncovery
08:59:14.776 Disconnecting from server in order to reconnect. Reason: DestFileSize>SourceSize in TGGetOrPut
Left Side: : Closing SFTP connection with user name root. Total number of SFTP connections remaining: 1
08:59:14.777 Reconnecting to server
root@neurozone.fr: [/root] 08:54:23$ ls -hl /etc/systemd/system/multi-user.target.wants/amavisd.service
lrwxrwxrwx. 1 root root 39 Mar 5 2024 /etc/systemd/system/multi-user.target.wants/amavisd.service -> /usr/lib/systemd/system/amavisd.service

It's a symlink on the source (rocky linux 9.4) and the file exist on the destination (my personal computer, windows 11 pro)
The file also exist on the source as the real file: /usr/lib/systemd/system/amavisd.service
and it also exist on the usr backup folder (another job) on the target (personal computer)

Also, it's configured as exact mirror from source (linux to target (windows), maybe using smart tracking may be better ?

Hecate
Posts: 9
Joined: Tue Apr 09, 2024 12:27 pm

Re: Error when copying files from /etc

Post by Hecate »

If you need, I can send you screenshots and the profile file by email

tobias
Posts: 1861
Joined: Tue Mar 31, 2020 7:37 pm

Re: Error when copying files from /etc

Post by tobias »

Hi,
Exact Mirror is fine, you just need to disable the size check on the second tab sheet of the FTP dialog.

I will also look into it further.

Post Reply