I use APM and it works very good for me except one thing. I use hubic to perform cloud backup. Now I'm looking for a rule to set up, which suspends the shut down process as long the backup job is active.
I tried it with ports (54000-54999) because I found out in my router, that ports in this range are used, while backing up to hubic, but this does not work.
Please help me about this. Thanks a lot.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We need to know the ports used remotely, or at least some IP address you are contacting for hubic backup.
While a backup is running, please take some netstat -tanp and provide output.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Renaud,
Thanks for this awesome tool! I also would like to configure the connections plug-in to wait for my Duplicaty backup to finish. However, I'm unable to do this by IP address as the IP is changing and I'm connecting to the server with a DynDNS address.
So with no hostname or remote port option, I'm unable to target the connection for my backup. Is there any chance you could still add the remote port option you mentioned in your previous comment or a way to enter a host name to check for instead of an IP?
Thanks,
Rain
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After a few days of testing I can say, that it works most of the time. DiskStation only shuts down, if there is no connection to 147.135.143.143.
But from time to time it seems, like the connection to this IP is not active even while the backup job is working. If the connection check happens exactly in this moment, APM shuts down DS and the backup job is aborted.
I tried to test some different "Messintervall in Minuten" and "Reihe von Massnahmen pro Intervall" settings (Don't know the english texts, but you can find on the attached screenshot what I mean).
But I don't understand if these settings give the possibility to define, that the check has to be done 5 times in 5 minutes and only if all 5 checks are ok the DS shuts down.
If you set Messintervall in Minuten to 10
and Reihe von Massnahmen pro Intervall to 10, then there will be 1 check every minute (10 / 10 = 1).
If, for the whole 10 checks, all checks said "there was no connection", then the DS will shut down.
Otherwise it will wait for 10 successive checks that say "there was no connection"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
I use APM and it works very good for me except one thing. I use hubic to perform cloud backup. Now I'm looking for a rule to set up, which suspends the shut down process as long the backup job is active.
I tried it with ports (54000-54999) because I found out in my router, that ports in this range are used, while backing up to hubic, but this does not work.
Please help me about this. Thanks a lot.
We need to know the ports used remotely, or at least some IP address you are contacting for hubic backup.
While a backup is running, please take some
netstat -tanp
and provide output.Hi. Thank you for your help. I created a netstat whil backup running. You find it attached.
I think it must be:
192.168.9.20:45244 147.135.143.143:443 ESTABLISHED -
192.168.9.20:45247 147.135.143.143:443 CLOSE_WAIT -
On the other hand, if it is this, the rule I set up in APM (Shutdown-Connection: 192.168.9.20 10000-65535) should work, but it doesn't...
Your configuration in the
Connections
plugin should be:or for clarity
This makes me realize that with the plugin, it is not possible to filter on the remote port (here 443). I should add this.
Hi Renaud,
Thanks for this awesome tool! I also would like to configure the connections plug-in to wait for my Duplicaty backup to finish. However, I'm unable to do this by IP address as the IP is changing and I'm connecting to the server with a DynDNS address.
So with no hostname or remote port option, I'm unable to target the connection for my backup. Is there any chance you could still add the remote port option you mentioned in your previous comment or a way to enter a host name to check for instead of an IP?
Thanks,
Rain
thank you. will try it over night.
what means clarity in this context?
Hi again.
After a few days of testing I can say, that it works most of the time. DiskStation only shuts down, if there is no connection to 147.135.143.143.
But from time to time it seems, like the connection to this IP is not active even while the backup job is working. If the connection check happens exactly in this moment, APM shuts down DS and the backup job is aborted.
I tried to test some different "Messintervall in Minuten" and "Reihe von Massnahmen pro Intervall" settings (Don't know the english texts, but you can find on the attached screenshot what I mean).
But I don't understand if these settings give the possibility to define, that the check has to be done 5 times in 5 minutes and only if all 5 checks are ok the DS shuts down.
If you set Messintervall in Minuten to 10
and Reihe von Massnahmen pro Intervall to 10, then there will be 1 check every minute (10 / 10 = 1).
If, for the whole 10 checks, all checks said "there was no connection", then the DS will shut down.
Otherwise it will wait for 10 successive checks that say "there was no connection"
Thank you. I try this...