Cannot pull backup to server with different architecture
Have you checked borgbackup docs, FAQ, and open Github issues?
Yes
Is this a BUG / ISSUE report or a QUESTION?
Question
System information. For client/server mode post info for both machines.
Your borg version (borg -V).
any
Operating system (distribution) and version.
Raspbian / Ubuntu
Hardware / network configuration, and filesystems used.
How much data is handled by borg?
Full borg commandline that lead to the problem (leave away excludes and passwords)
Describe the problem you're observing.
Hello. I tried to configure pulling the backup from remote client to local backup server. The problem is that local backup server have ARM architecture, while remote client is AMD64. When I follow the documentation I get in troubles when I map remote folders dev proc sys to local and try chroot, I get ‘/bin/bash’: Exec format error, most likely because remapped folders are for different architecture.
This part of documentation won't work. Is there any workaround for pulling backup from different architecture? I can create ssh tunnel from local to remote, but not vice versa.
# Mount important system directories and enter chroot.
cd /tmp/sshfs
for i in dev proc sys; do mount --bind /$i $i; done
chroot /tmp/sshfs
Can you reproduce the problem? If so, describe how. If not, describe troubleshooting steps you took before opening the issue.
Include any warning/errors/backtraces from the system logs
IIRC there was a different approach with socat/netcat or so, check docs / issue tracker.
@jbrepogmailcom would #7488 solve this?