I have an existing repository on an NFS share. I wanted to rename it.
Name ID Location Type Backup server
Repository_1 {0151548b-7f4e-40f1-b6cf-8eb102a912ec} XXX://tank/veeam nfs
so per the documentation, I tried:
veeamconfig repository edit --name Repository for --name Repository_1
Error: Unable to edit repository of type "on share". Please use UI.
So now what? Is there a way to delete, recreate and scan the current contents to do the same thing?
-
- Veteran
- Posts: 266
- Liked: 30 times
- Joined: Apr 26, 2013 4:53 pm
- Full Name: Dan Swartzendruber
- Contact:
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Unable to rename repository?
Hi,
That's a current limitation: names for repositories of "shared" type are created automatically and cannot be edited. There is currently no distinction between "local" and 'shared" target if you use CLI to create a repo.
That is, if you want give share repository a different name, you should follow these steps:
1. Mount NFS folder locally on some /nfsmount mountpoint
2. Create a repository atop of it via CLI:
3. Edit the backup job so that it is pointed to the new repository:
4. Delete old repository:
Thanks
That's a current limitation: names for repositories of "shared" type are created automatically and cannot be edited. There is currently no distinction between "local" and 'shared" target if you use CLI to create a repo.
That is, if you want give share repository a different name, you should follow these steps:
1. Mount NFS folder locally on some /nfsmount mountpoint
2. Create a repository atop of it via CLI:
Code: Select all
veeamconfig repository create --name MyNFS --location /nfsmount
Code: Select all
veeamconfig job edit --repoName myNFS for --name BackupJob1
Code: Select all
veeamconfig repository delete --name Repository_1
-
- Veteran
- Posts: 266
- Liked: 30 times
- Joined: Apr 26, 2013 4:53 pm
- Full Name: Dan Swartzendruber
- Contact:
Re: Unable to rename repository?
Okay, thanks!
Who is online
Users browsing this forum: No registered users and 22 guests