The Samba-Bugzilla – Bug 8682
Skip current transfer keyboard function
Last modified: 2018-03-21 00:51:46 UTC
rsync should stop transferring the active file upon press of a specific key.
There is already extensive file exclusion functionality, but the ability to skip the current file (the one visible when using --progress) would be really quite handy to have.
A hack is to save the file on the backedu up host, and overwrite the inode, e.g. "echo > file". This will then cause BackupPC to move on and log an error.
But indeed, having the information about
- which file is being processed
- some metadata, e.g. size
- when processing started
available in the web interface would be great. Ideally, this would then be augmented with the ability to cancel/skip this file and optionally to add the file or the containing directory to the global or host exclude list.
(the hack is courtesy of Ronny Aasen)
that would be a quite useful feature.
i`d recommend that this feature should be activated with a commandline option for safety purpose. and skipping should then be repeated while the key is pressed down, so one could skip multiple files at once or an entire directory structure (e.g. when accidentally syncing /proc etc)