I am running the following for javaapp to replicate files between two servers behind AWS ELB:
# /usr/bin/rsync --dry-run -v -az -H --delete --numeric-ids --exclude=cache/staic --exclude=.well-known/ /var/snap/lxd/common/mntns/var/snap/lxd/common/lxd/storage-pools/zfs/containers/prod/rootfs/app/ email@example.com:/var/snap/lxd/common/mntns/var/snap/lxd/common/lxd/storage-pools/zfs/containers/prod/rootfs/app
But keep getting:
rsync: getcwd(): No such file or directory (2) rsync error: errors selecting input/output files, dirs (code 3) at util.c(1221) [Receiver=3.1.3]
What does it means? How do I fix it? Both are Ubuntu servers.