PSCP Backup failed
Posted: Wed Sep 27, 2023 1:26 pm
Hi,
I have been using eve for a couple of years now and yesterday I did a fresh install of version 5.0.1-19.
I was previously on version 2.0.3-112 and migrated all the backups files to the new installation before creating a new lab like the procedure recommends.
My labs are working fine but I just realized that my daily backup fails.
I have a powershell script that backups pretty much all the folder listed in the FAQ with PSCP.
The issue seems to be that since version 5, eve-ng uses (I think) a container solution that creates symbolic links.
When PSCP, WINSCP or filezilla try to copy these links, the transfer crash.
As an example, the following folders are not in the backup and I believe that they are the reason why pscp crashes.
opt/unetlab/tmp/0/LABID/7/lib
opt/unetlab/tmp/0/LABID/7/usr
opt/unetlab/tmp/0/LABID/7/dev/net/tun
opt/unetlab/tmp/0/LABID/7/lib64
opt/unetlab/tmp/0/LABID/7/dev/kvm
Anyone have this issue, how do you deal with backups with version 5?
winscp Error message :
Bad message (badly formatted packet or protocol incompatibility).
Error code: 5
Error message from server: Bad message
FileZilla error message :
https://imgur.com/YVTjX9D
Content on the folder :
https://imgur.com/a/UWmfB1o
Thank you!
I have been using eve for a couple of years now and yesterday I did a fresh install of version 5.0.1-19.
I was previously on version 2.0.3-112 and migrated all the backups files to the new installation before creating a new lab like the procedure recommends.
My labs are working fine but I just realized that my daily backup fails.
I have a powershell script that backups pretty much all the folder listed in the FAQ with PSCP.
The issue seems to be that since version 5, eve-ng uses (I think) a container solution that creates symbolic links.
When PSCP, WINSCP or filezilla try to copy these links, the transfer crash.
As an example, the following folders are not in the backup and I believe that they are the reason why pscp crashes.
opt/unetlab/tmp/0/LABID/7/lib
opt/unetlab/tmp/0/LABID/7/usr
opt/unetlab/tmp/0/LABID/7/dev/net/tun
opt/unetlab/tmp/0/LABID/7/lib64
opt/unetlab/tmp/0/LABID/7/dev/kvm
Anyone have this issue, how do you deal with backups with version 5?
winscp Error message :
Bad message (badly formatted packet or protocol incompatibility).
Error code: 5
Error message from server: Bad message
FileZilla error message :
https://imgur.com/YVTjX9D
Content on the folder :
https://imgur.com/a/UWmfB1o
Thank you!