toafez / autopilot Goto Github PK
View Code? Open in Web Editor NEWAutoPilot for external USB/SATA drives
License: Other
AutoPilot for external USB/SATA drives
License: Other
AutoPilot v1.1-100
In some rare situations it could happen that the triggered Hyper Backup task could stuck.
It seems to be a problem when firing HB tasks from the command line directly after a device has been mounted and the target is not ready.
After the while loop to determine the mount point, the script is immediately invoked to start either a custom job or a predefined Hyper Backup task.
If the script starts a Hyper Backup task there is no check if the target is ready.
If this issue occurs, the following message will show in Hyper Backup task config from the GUI. But AutoPilot will finish successfully.
The intermediate solution is to set an explicit wait time after the mount point has been determined to ensure the target is ready to start a Hyper Backup task.
Proposal is available on local branch and PR for this issue will follow soon.
Hallo Tommes,
vielen Dank für deine Arbeit!
Ich habe leider Probleme, vllt. kannst du helfen. AutoPilot wird nicht fertig und wirft die externe USB Festplatte nicht aus.
Folgendes ist im Log zu sehen (nach Bereinigung läuft, geht es nicht weiter):
Sicherung wurde gestartet
Warte 30 Sekunden um sicherzugehen, dass das Sicherungsziel zur Verfügung steht
Suche maximal 30 Sekunden nach der Prozesskennung (PID) der Sicherung
Die Prozesskennung (PID) der Sicherung lautet: 12711
Sicherung abgeschlossen
Dauer der Sicherung: 0h:9m:21s
Suche maximal 30 Sekunden nach der Prozesskennung (PID) der Bereinigung
Die Prozesskennung (PID) der Bereinigung lautet: 24472
24492
Bereinigung läuft
AutoPilot v1.1-100
Possibility to display the unit for Terrabyte. Show "TB" instead of "T" in log.
AutoPilot v1.1-100
There is a configuration option in Hyper Backup for USB devices to eject the disk after task has successfully finished.
If this is checked, it could happen that the evaluation of the disk space will fail and report wrong information in the log.
e.g. In this case the expected report should be:
Speicherplatznutzung: 8.3 TB von 11 TB frei.
when device has been removed already from Hyper Backup the result is:
Speicherplatznutzung: 586 MB von 2.3 GB frei.
If the disk has been already unmounted the command $(df -h "${mountpoint}")
will fetch the informatin of the mountpoint without active mount on this.
The idea is to determine the disk space only if the mount point still exists after script execution.
Proposal is available on local branch and PR for this issue will follow soon.
AutoPilot v1.1-000
After a successful script execution detected from AtuoPilot, the connected USB device is not unmounted properly and also remains available in the GUI.
The preview of the script in the UI for a Hyper Backup task is missing the correct escaping of apostrophes:
awk '{print $2}'
is shown as awk {print $2}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.