I’m working on a script that will mount an external share. I have a USB NTFS drive plugged into one of my routers. This router is a little hidden in house and I wanted to use this drive as a backup. I know that you should have an offsite backup. But I’m too cheap to do that, and I like to be in control of my stuff.
This is what I’m doing:
mkdir /mnt/RabbitHDD – Only did this once to initial create the directory.
My script does this:
mount_smbfs –E UTF-8:UTF-8 –I Rabbit //Rabbit/RabbitHDD /mnt/RabbitHDD
Then I’m doing an rsync command to mirror my files to /mnt/RabbitHDD
The issue that I’m running into is that the /mnt/RabbitHDD is disappearing. What is removing it? Should I not be mounting to /mnt?
This is what I’m doing:
mkdir /mnt/RabbitHDD – Only did this once to initial create the directory.
My script does this:
mount_smbfs –E UTF-8:UTF-8 –I Rabbit //Rabbit/RabbitHDD /mnt/RabbitHDD
Then I’m doing an rsync command to mirror my files to /mnt/RabbitHDD
The issue that I’m running into is that the /mnt/RabbitHDD is disappearing. What is removing it? Should I not be mounting to /mnt?