Hi,
I'm New here and on OpenMediaVault.
Just for the record, I created my own NAS out of an old laptop that was laying around in the closet. I tried Nass4Free, FreeNas and Debian installation to convert it as a NAS. I'm glad I found OMV as it is definitely the best of all.
Anyways, so now that I have my NAS up and running with OMV on it, everything works fine until I tried to create a sheduled task that does a backup of the whole content of an FTP to my local HDD.
I followed up a few tutorials but I ran up to several different errors.
(Just so you know, I was able to succesfully dowload to whole FTP content into a Home Directory. The thing is that it seems that I can't have any rights on the files. So I can't do anything with them)
So actually I have two tasks that are pretty close to work (I think) but still doesn't :
- COMMAND LINE of the task : bash ~/../../sauvegardes/run.sh wich is calling this file wget -m -P /web/****/`date +"%d%m%Y"` ftp://****:****@ftp.******.net
I get a permission denied after the successful login to the FTP. Seems like it cannot create any folders to store the files? (All the rights are good in the shared folder I believe)
- COMMAND LINE of the second task : (this one is not calling any Shell files to run the script) wget -m -P /sauvegardes/web/*****/`date +"%d%m%Y"` ftp://******:******@ftp.******.net
It apparently dowloads the whole content successfully but not inside the sauvegarde shared folder I created.
I already tried putting /../../ before /sauve... but doesn't change anything.
That would be awesome if you guys can help me out on this !