Snapshot only if source exists/user-callback to interrupt
Asked by
mtu
I have two cases where I can't quite figure out how to configure backintime, and they boil down to the same problem.
1) Network backup
I mount a folder via SSHFS for taking a snapshot of it, but _only_ if I am on my local network (verifiable by ping or so).
2) USB stick backup
I take a snapshot of a USB stick, but only if it is plugged in (verifiable by mount table or so).
In both cases, backintime will still make an empty snapshot of the empty moint point.
I would like to use user-callback to check if the conditions are right (stick is there, network is there). But what if they fail? Can I put some commmand or condition in user-callback that makes backintime stop its snapshot?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- mtu
- Solved:
- Last query:
- Last reply:
To post a message you must log in.