![](https://seccdn.libravatar.org/avatar/88710aea1902fe935eb6524013e4b42c.jpg?s=120&d=mm&r=g)
On 13/01/11 10:43, C. Brouerius van Nidek wrote:
Hope to find an answer on a problem with luckyBackup. Like the program and have instructed to backup the contents every night from my home on a usb stick.via cron. That works like a charm. Yesterday I forgot to put the stick in and this morning I found that luckyBackup had made a new directory on / filling that partition up to 100%. Is there a method to avoid such things from happening? Something like: if there is no USB stick inserted, do not backup.
You could change the cron job to be something like: grep -q "/media/usb" /proc/mounts && backup or mount | grep -q "/media/usb" && backup Substituting the backup command/mount folder as necessary ofc A few tests should quickly show what works on your system. Regards, Tejas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org