[ 
https://issues.apache.org/jira/browse/SOLR-17059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17810055#comment-17810055
 ] 

Jason Gerlowski commented on SOLR-17059:
----------------------------------------

Hi Anusha - starting in Solr 8.9, the default backup format has been changed to 
be "incremental".  Solr no longer creates a file called "backup.properties", 
but a series of similarly named files with an additional numeric component: 
"backup_0.properties", backup_1.properties, etc.  Maybe that's what you meant 
in your issue title, but I wanted to clarify just in case.

Judging from the very bottom of this stack trace, what I'd guess is happening 
is that this error occurs when Solr attempts to cleanup a partially completed 
backup after some earlier error has occurred.  Solr should handle this more 
gracefully if the files it's deleting don't exist - there's definitely some 
improvement we can make there.  But from what I can tell, the stack trace you 
posted is a downstream effect and not the real cause.  Are there any other 
stacktraces or messages of note in the logs?

(Or maybe, in the intervening months - were you able to solve or workaround 
this problem?  If so, I'd love to hear the root cause!)

> When ran Backup API, it doesn't create backup.properties file in backup path
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-17059
>                 URL: https://issues.apache.org/jira/browse/SOLR-17059
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 9.0
>         Environment: Production
>            Reporter: Anusha R
>            Priority: Blocker
>
>  
> We are trying to backup indexes in Prod. It created snapshots in mentioned 
> location. But it didn't create backup.properties, zk_backup files in that 
> location.
> So when we use restore api, we are not able to restore, It failed with 
> exception that "No backup.properties file"
> We need help to know why backup.properties file is not created. Below is the 
> api we are using for backup.
> [http://username:pass|http://solr/]word@hostname:port/solr/admin/collections?action=BACKUP&name=$newBackupName&collection=$myCollectionName&location=/opt/epricer-solr-backup/DR



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to