Jacopx
Patron
- Joined
- Feb 19, 2016
- Messages
- 367
Hi, i have just update to the latest version (FreeNAS-9.10-STABLE-201603252134 (412fb1c)) when i'm running (cronjob) my script for backing up my .db configuration isn't working and reporting to me this:
"cp: (412fb1c).db is not a directory"
I can understand what it means, but I still can not solve it!
My script:
Someone can help me?
"cp: (412fb1c).db is not a directory"
I can understand what it means, but I still can not solve it!
My script:
Code:
cp /data/freenas-v1.db /mnt/WDVolume_A/Data/Config_Backups/backups/`date +%Y%m%d`_`cat /etc/version | cut -d'-' -f2`_`cat /etc/version | cut -d'-' -f4`.db
Someone can help me?