-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I have an appvault:
tridentctl-protect -n trident-protect get appvault
+---------------+----------+-----------+------+-------+
| NAME | PROVIDER | STATE | AGE | ERROR |
+---------------+----------+-----------+------+-------+
| c1-svm0-s3-av | OntapS3 | Available | 1d1h | |
+---------------+----------+-----------+------+-------+
I have a backup:
tridentctl-protect get backup
+-----------------------+----------------+-----------+--------+-------+
| NAME | APP REF | STATE | AGE | ERROR |
+-----------------------+----------------+-----------+--------+-------+
| mywordpressapp-bkup-1 | mywordpressapp | Completed | 52m13s | |
+-----------------------+----------------+-----------+--------+-------+
I detect the path of backup:
tridentctl-protect get appvaultcontent c1-svm0-s3-av --show-paths --app mywordpressapp -n trident-protect
+---------+----------------+--------+-----------------------+---------------------------+------------------------------------------------------------------------------------------------------------------------+
| CLUSTER | APP | TYPE | NAME | TIMESTAMP | PATH |
+---------+----------------+--------+-----------------------+---------------------------+------------------------------------------------------------------------------------------------------------------------+
| | mywordpressapp | backup | mywordpressapp-bkup-1 | 2024-11-22 19:51:57 (UTC) | mywordpressapp_e2e6d6d0-00ac-4f36-b63e-b4288556eefb/backups/mywordpressapp-bkup-1_3102ced9-1dbb-4705-9d08-d1715f585f96 |
+---------+----------------+--------+-----------------------+---------------------------+------------------------------------------------------------------------------------------------------------------------+
I used the backup path to restore to a new namespace and I get the following error:
tridentctl-protect create backuprestore mywordpressapp-bkupr2 --namespace-mapping mywordpressapp:mywordpressapp2 --appvault c1-svm0-s3-av --path mywordpressapp_e2e6d6d0-00ac-4f36-b63e-b4288556eefb/backups/mywordpressapp-bkup-1_3102ced9-1dbb-4705-9d08-d1715f585f9
2024/11/22 20:30:41 admission webhook "vrestore-creation.protect.trident.netapp.io" denied the request: The specified key does not exist.
I must be doing something wrong but can't seem to get this to work... Thoughts?
Metadata
Metadata
Assignees
Labels
No labels