project icon indicating copy to clipboard operation
project copied to clipboard

Solr: Add support for Backup

Open raihankhan opened this issue 1 year ago • 0 comments

  • GCS:

    • backup api: curl -XPOST -k -u "admin:Xy3ZjyU)~(9IO8_n" "http://localhost:8983/solr/admin/collections?action=BACKUP&collection=kubedb-collection&location=/&name=kubedb-backup&repository=kubedb-gcs" --verbose it can override backup
  • S3:

    • backup api: curl -XPOST -k -u "admin:Xy3ZjyU)~(9IO8_n" "http://localhost:8983/solr/admin/collections?action=BACKUP&collection=kubedb-collection&location=s3:/pritam&name=kubedb-backup&repository=kubedb-s3" --verbose
  • S3 compatible storage: linode:

    • backup api: curl -XPOST -k -u "admin:Xy3ZjyU)~(9IO8_n" "http://localhost:8983/solr/admin/collections?action=BACKUP&collection=kubedb-collection&location=s3:/&name=kubedb-backup2&repository=kubedb-linode" --verbose
    • issue: Here we can't take another backup with the same name. We can have to change backup name. Repository name can be same.

Backup can not be taken in minio. Reason:

raihankhan avatar May 02 '24 11:05 raihankhan