I intend to copy files from one Kubuntu PC to the Samba share of a second PC as a backup. For this purpose I am using a backup GUI tool.
I would like to mount the samba share to a mount point on the source system (e.g. using /etc/fstab or eventually using a command line). This is not too difficult.
However what happens if the other PC isn't available? The mount point then would be a plain folder and I would flood my small local disk with backup files instead of copying to the remote share.
This once happened to me with an unavailable local disk. However with a second system this accident is much more likely.
How can I prevent that disaster?