Hi Team,
I am trying to use QNAP to RSYNC files to another directory on another NAS.
For Example.
Sync files in /VM to /VM on the other NAS.
In my case, it creates another VM directory on the remote NAS under /VM so files look like /VM/VM - files.
How can I keep the directories the same?
RSYNC and Directories
-
- Getting the hang of things
- Posts: 58
- Joined: Sun Jun 21, 2009 5:26 am
-
- Experience counts
- Posts: 1706
- Joined: Thu Mar 03, 2016 1:11 am
Re: RSYNC and Directories
Did you use HBS3 for replication?
Or did you use CLI commands?
Please give some more details.
Regards
Or did you use CLI commands?
Please give some more details.
Regards
A raid is never a substitute for backup! Never!
Deadbolt - READ 1st post!!!
Deadbolt - information
Deadbolt - find your OP_RETURN!
VPN=VPN? No!
How to clean up your NAS after malware attack
Deadbolt - READ 1st post!!!
Deadbolt - information
Deadbolt - find your OP_RETURN!
VPN=VPN? No!
How to clean up your NAS after malware attack
-
- Experience counts
- Posts: 1122
- Joined: Tue May 29, 2018 3:02 am
Re: RSYNC and Directories
Rsync is very picky about the syntax and you need to be very careful about using a trailing slash or not. Also, in general without knowing a lot more information, copying /VM to /VM is generally wrong as what you want to do is copy /VM to / (as VM will be created/updated as it is part of the source).
QNAP TS-563-16G 5x10TB Seagate Ironwolf HDD Raid-5 NIC: 2x1GB 1x10GbE
QNAP TS-231P-US 2x18TB Seagate Exos HDD Raid-1
[Deadbolt - Updated Information on Detection, Prevention, Recovery & MORE]
[Deadbolt - How to Reset your NAS]
[Deadbolt - Read your OP_RETURN key YOURSELF]
QNAP TS-231P-US 2x18TB Seagate Exos HDD Raid-1
[Deadbolt - Updated Information on Detection, Prevention, Recovery & MORE]
[Deadbolt - How to Reset your NAS]
[Deadbolt - Read your OP_RETURN key YOURSELF]
-
- Getting the hang of things
- Posts: 58
- Joined: Sun Jun 21, 2009 5:26 am
Re: RSYNC and Directories
Hi dosborne,
It seems copying /VM to / would take a share called "/". I have not been able to make one. Is it not possible?
It seems copying /VM to / would take a share called "/". I have not been able to make one. Is it not possible?