05-27-2013 06:51 AM - edited 07-04-2021 12:08 AM
Dear all,
I try to create a reposiroty for FTP Backup but it is not working with directories.
Isn't it possible to create FTP repositories with directories?
I need to ad this URL e.g.:
This is not working.
% Error reading directory on remote server
It works only when I add only the server. ftp://server/
Is there any way to add directories to the URL? Or what is wrong in my thought?
I think to use NFS but I'm not sure if that way is better as FTP, because FTP is default I guess so maybe the best idea?
regards,
Sebastian
Solved! Go to Solution.
05-27-2013 07:08 AM
Yes it's configured in the FTP server. The issue is that the FTP is not allowing PI to access the root and this not allowed any access to the Backup folder. I again have just defined the folder for the user in the FTP.
Sent from Cisco Technical Support iPhone App
05-27-2013 06:54 AM
I have never used a full path, but I have specified what folder the login account will use. Maybe that's what you should do.
NCS-User folder:
ftp://server/IT/Wi-Fi/Backup
This way you don't have to out a full path in the URL for the repository.
Sent from Cisco Technical Support iPhone App
05-27-2013 07:04 AM
wehere do I configure that? aaahhh on the FTP right? I don't adminster it, I'll contact my colleauges..
I configred exactly that as URL ins the reposiroty and it didn't work.
05-27-2013 07:08 AM
Yes it's configured in the FTP server. The issue is that the FTP is not allowing PI to access the root and this not allowed any access to the Backup folder. I again have just defined the folder for the user in the FTP.
Sent from Cisco Technical Support iPhone App
05-27-2013 10:07 PM
Scott is right PI is not able to get full access of FTP server. You need to create a folder first in FTP and create a user with admin right for PI so that when PI try to access the folder it can have full right.
09-24-2023 08:58 AM - last edited on 09-24-2023 10:47 AM by rupeshah
After I updated the version to 3.10, I had problems reading remote repositories.
The scenario I had is similar, as I have to provide the full path to access the folder intended for backup.
In my case I managed to get around it by deleting the old configuration from the repository.
Symptom:
show repository XPTO
% Error reading directory on remote server
Displaying the failed configuration:
show run
... omitted...
XPTO repository
url ftp://xpto.test.com/Backups/Prime
user xpto password xxxx
... omitted...
Deleting repository configuration with error message.
conf t
in the XPTO repository
end
Recreating the repository with new url syntax (notice that there is a space between ftp: and the full path).
conf t
XPTO repository
url ftp: xpto.test.com/Backups/Prime
user xpto password xxx
end
After changing the repository configuration:
show repository XPTO
abcdef__VER3.10.0.1055.28_BKSZ103G_CPU8_MEM3G_RAM15G_SWAP15G_SYS_CK0000000001.tar.gpg
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide