Hi Folks,
I want to backup my files from my Ubuntu 17.10 Machine to freenas. Via smb is not that great --> I can't backup symlinks, permissions and user and group iformation.
I tried this:
and get the following error:
I have no Idea, what's wrong there. The Directory:
/mnt/ZFS_POOL/BackupOliver
DOES EXIST.
If I try
does work!
does also work.
So I have the problem, that I can't tell rsync, in which directory to backup my files on freenas.
Perhaps someone can help?
Additional Info:
I want to backup my files from my Ubuntu 17.10 Machine to freenas. Via smb is not that great --> I can't backup symlinks, permissions and user and group iformation.
I tried this:
Code:
rsync --delete --stats --exclude-from=/home/obri/BACKUP/BackupRsync/RsyncExcludesObri -aevn ssh /home/obri/ root@192.168.178.33:/mnt/ZFS_POOL/BackupOliver/
and get the following error:
rsync: Failed to exec vn: No such file or directory (2)
rsync error: error in IPC code (code 14) at pipe.c(85) [sender=3.1.2]
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in IPC code (code 14) at io.c(235) [sender=3.1.2]
I have no Idea, what's wrong there. The Directory:
/mnt/ZFS_POOL/BackupOliver
DOES EXIST.
If I try
Code:
rsync --delete --stats --exclude-from=/home/obri/BACKUP/BackupRsync/RsyncExcludesObri -aevn ssh /home/obri/ root@192.168.178.33
does work!
Code:
ssh /home/obri/ root@192.168.178.33
does also work.
So I have the problem, that I can't tell rsync, in which directory to backup my files on freenas.
Perhaps someone can help?
Additional Info:
- FreeNAS-11.1-U4
- Ubuntu 17.10 openssh-client is installed
- I found: rsync -e "ssh -P PORT -i /absolute/pathto/.ssh/privatekey" USER@SERVER:/remotepath/to/source /localpath/to/destination
in https://forums.freenas.org/index.ph...y-with-rsync-over-ssh-sftp.55380/#post-386672
but the pattern "USER@SERVER:/remotepath/to/source" doesn't seem to work.