Hi,
i use the Autoshutdown plugin, normally the NAS turns down at 10pm. But some evenings I make a backup via usb-backup.
However, the NAS then shuts down while the backup is still running
How can I prevent this ?
Thanks !
Hi,
i use the Autoshutdown plugin, normally the NAS turns down at 10pm. But some evenings I make a backup via usb-backup.
However, the NAS then shuts down while the backup is still running
How can I prevent this ?
Thanks !
trafki i think this is best done with a autoshutdown plugin, something like this:
# Autoshutdown plugin-file for openmediavault-usbbackup
# This plugin assumes there have been no default overrides.
# In which folder is the file to look for.
folder="/run"
# Enable or disable this plugin.
enabled="true"
# Filename regexes.
file="openmediavault-usbbackup-[a-f0-9]{32}$"
Alles anzeigen
This will need placing in '/etc/autoshutdown.d/' and call it 'openmediavault-usbbackup'. you will most lightly what to disable the examples in the same directory being: 'autounrarstatus, clamav', to disable them simple edit the files and set enabled='false'. Make sure it the Autoshutdown plugin GUI you enable 'users defined plugins'.
Hopefully that should do it. Let me know if it work for you. Note the filename Regex is a bit of a guess as i had to make it up from reading the code so it may need a teak.
Let me know if it work and if it does i will include it autoshutdown plugin directly.
Hope this help
Alles anzeigentrafki i think this is best done with a autoshutdown plugin, something like this:
CodeAlles anzeigen# Autoshutdown plugin-file for openmediavault-usbbackup # This plugin assumes there have been no default overrides. # In which folder is the file to look for. folder="/run" # Enable or disable this plugin. enabled="true" # Filename regexes. file="openmediavault-usbbackup-[a-f0-9]{32}$"
This will need placing in '/etc/autoshutdown.d/' and call it 'openmediavault-usbbackup'. you will most lightly what to disable the examples in the same directory being: 'autounrarstatus, clamav', to disable them simple edit the files and set enabled='false'. Make sure it the Autoshutdown plugin GUI you enable 'users defined plugins'.
Hopefully that should do it. Let me know if it work for you. Note the filename Regex is a bit of a guess as i had to make it up from reading the code so it may need a teak.
Let me know if it work and if it does i will include it autoshutdown plugin directly.
Hope this help
I had the same issue, the thin guide really helps.
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!