Thanks Eric. Indeed, I'm waiting for them.Ericnepean wrote:Hi Serge, I guess that the volumes with your data are not mounted and will have to be mounted manually.
I'd wait until QNAP support is available to help you directly.
Cheers
Thanks Eric. Indeed, I'm waiting for them.Ericnepean wrote:Hi Serge, I guess that the volumes with your data are not mounted and will have to be mounted manually.
I'd wait until QNAP support is available to help you directly.
Many thanks for your post MrVideo but I'm not sure I fully understand your example and the little comprehension I have makes me think it is not strictly relevant to my situation.MrVideo wrote: It is a little more narrow minded than that. Take for example the following script:When the 2nd rsync is being done in the for loop, after the 1st rsnc in the for loop doesn't have its data deleted, because none of the files in the first path are in the 2nd path.Code: Select all
#!/bin/sh for d in /share/Public/FourSeasonsTheatre /share/Public/W2K-SATA-F do rsync -av --delete $d /share/Backup-HDD-01 done for d in /share/Public/videos/B[o-z]* do rsync -av --delete $d /share/Backup-HDD-01/videos done
When the 2nd rsync is being done, all of the files from the 1st rsync for loop are not deleted. In the 2nd rsync, only files that fit within the range of B[o-z]* that are no longer in the source are removed from the target. I really didn't need a 2nd for loop, as there was only one path being worked on. Copy-n-paste habit.
Code: Select all
#!/bin/sh
for d in /share/Public/FourSeasonsTheatre /share/Public/W2K-SATA-F
do
rsync -av --delete $d /share/Backup-HDD-01
done
for d in /share/Public/FourSeasonsTheatre /share/Public/W2K-SATA-F
do
rsync -av --delete $d /share/videos
done
I was just tyring to show that the --delete option is not broad reaching.SergeGardien wrote:Many thanks for your post MrVideo but I'm not sure I fully understand your example and the little comprehension I have makes me think it is not strictly relevant to my situation.
No. Why would you want to have a 2nd copy on the NAS itself, eating up space? Rsync is meant of external backing up.I think that something like:would have been a touch more relevant. In this case I would have said that /share/Backup-HDD-01 doesn't get deleted by the 2nd rsync and at the end of the bash script execution I have a double copy of both, /share/Public/FourSeasonsTheatre and /share/Public/W2K-SATA-F, in /share/Backup-HDD-01 and /share/videos.Code: Select all
#!/bin/sh for d in /share/Public/FourSeasonsTheatre /share/Public/W2K-SATA-F do rsync -av --delete $d /share/Backup-HDD-01 done for d in /share/Public/FourSeasonsTheatre /share/Public/W2K-SATA-F do rsync -av --delete $d /share/videos done
This outcome would be a nice-to-have for my particular situation and indeed is what I'm expecting to see soon as I can access my NAS file-system.
Do you agree?
I see. That seems a good thing for my situationMrVideo wrote:I was just tyring to show that the --delete option is not broad reaching.
I wasn't suggesting to have a 2nd copy on the hard disk. I put forward the example to conjecture that /share/Backup-HDD-01 doesn't get deleted by the 2nd rsync, a situation which would have been perfectly equal to mine one. I was asking your opinion on that specific hypothesis, not on the double copy.MrVideo wrote:Why would you want to have a 2nd copy on the NAS itself, eating up space? Rsync is meant of external backing up.
GoodMrVideo wrote:Ah, hypothesis correct.
That domain was hacked, all page referrals other than search endings forward to spam sitesSergeGardien wrote: http://unofficialqnapsupport.net/teknik ... kurtarmak/
Actually the URL I've posted earlier has been modified by the forum. I didn't post the address unofficialqnapsupport.net but qnap[REMOVE_THIS]support.net.dolbyman wrote:That domain was hacked, all page referrals other than search endings forward to spam sitesSergeGardien wrote: http://unofficialqnapsupport.net/teknik ... kurtarmak/
Yes, this forum performs that address mod automatically. The other site can be a little hit-and-miss with the accuracy of their info and I guess QNAP want to distance themselves from it. Well, except for the odd QNAP support tech.SergeGardien wrote:Actually the URL I've posted earlier has been modified by the forum. I didn't post the address unofficialqnapsupport.net but qnap[REMOVE_THIS]support.net.
It seems that if I attach the two words [qnap] and [support.net] the forum doesn't like it.
Thanks OneCD. You have strikethrough my doubtOneCD wrote:Yes, this forum performs that address mod automatically. The other site can be a little hit-and-miss with the accuracy of their info and I guess QNAP want to distance themselves from it. Well, except for the odd QNAP support tech.SergeGardien wrote:Actually the URL I've posted earlier has been modified by the forum. I didn't post the address unofficialqnapsupport.net but qnap[REMOVE_THIS]support.net.
It seems that if I attach the two words [qnap] and [support.net] the forum doesn't like it.