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

Anusha R commented on SOLR-17059:
---------------------------------

We could see this error in logs while running backup api
2023-11-01 13:36:48.842 INFO  (OverseerThreadFactory-32-thread-5) 
[c:document2y] o.a.s.c.a.c.BackupCmd Starting backup of collection=document2y 
with backupName=doc2ysnapshot_2211.2023.11.01-13.36.48 at 
location=file:///opt/epricer-solr-backup/DR/doc2ysnapshot_2211.2023.11.01-13.36.48/document2y
2023-11-01 13:36:48.855 INFO  (qtp89821352-36033) [c:document2y s:shard1 
r:core_node4 x:document2y_shard1_replica_n2] o.a.s.h.IncrementalShardBackup 
Creating backup snapshot at 
file:///opt/epricer-solr-backup/DR/doc2ysnapshot_2211.2023.11.01-13.36.48/document2y
 shardBackupMetadataFile:org.apache.solr.core.backup.ShardBackupId@e16ed851
2023-11-01 13:46:48.845 ERROR (OverseerThreadFactory-32-thread-5) 
[c:document2y] o.a.s.c.a.c.BackupCmd Error happened during incremental backup 
for collection: document2y => org.apache.solr.common.SolrException: Could not 
backup all shards
org.apache.solr.common.SolrException: Could not backup all shards
        at 
org.apache.solr.cloud.api.collections.BackupCmd.incrementalCopyIndexFiles(BackupCmd.java:339)
 ~[?:?]
        at 
org.apache.solr.cloud.api.collections.BackupCmd.call(BackupCmd.java:119) ~[?:?]
2023-11-01 13:46:48.846 ERROR (OverseerThreadFactory-32-thread-5) 
[c:document2y] o.a.s.c.a.c.OverseerCollectionMessageHandler Collection: 
document2y operation: backup failed => java.nio.file.NoSuchFileException: 
/opt/epricer-solr-backup/DR/doc2ysnapshot_2211.2023.11.01-13.36.48/document2y/zk_backup_0
java.nio.file.NoSuchFileException: 
/opt/epricer-solr-backup/DR/doc2ysnapshot_2211.2023.11.01-13.36.48/document2y/zk_backup_0
        at 
org.apache.solr.core.backup.repository.LocalFileSystemRepository.deleteDirectory(LocalFileSystemRepository.java:105)
 ~[?:?]
        at 
org.apache.solr.cloud.api.collections.DeleteBackupCmd.deleteBackupIds(DeleteBackupCmd.java:212)
 ~[?:?]
        at 
org.apache.solr.cloud.api.collections.CollectionHandlingUtils.cleanBackup(CollectionHandlingUtils.java:351)
 ~[?:?]
        at 
org.apache.solr.cloud.api.collections.BackupCmd.call(BackupCmd.java:126) ~[?:?]

> 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
>      Security Level: Public(Default Security Level. Issues are Public) 
>          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/tmp/DR



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to