cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2799
Views
3
Helpful
5
Replies

Prime Infrastructure 1.3 FTP Backup

Sebastian Helmer
Contributor
Contributor

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.:

ftp://server/IT/Wi-Fi/Backup           

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

1 Accepted Solution

Accepted Solutions

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

-Scott
*** Please rate helpful posts ***

View solution in original post

5 Replies 5

Scott Fella
Hall of Fame
Hall of Fame

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

-Scott
*** Please rate helpful posts ***

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.

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

-Scott
*** Please rate helpful posts ***

Ravi Singh
Rising star
Rising star

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.

andreluizsh
Beginner
Beginner

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: