Lines Matching full:repository
29 * Register a snapshot repository.
31 * @param string $name the name of the repository
32 * @param string $type the repository type ("fs" for file system)
33 …* @param array $settings Additional repository settings. If type "fs" is used, the "location" set…
52 * Retrieve a repository record by name.
54 * @param string $name the name of the desired repository
69 throw new NotFoundException("Repository '".$name."' does not exist.");
79 * Retrieve all repository records.
95 …* @param string $repository the name of the repository in which this snapshot should be sto…
106 public function createSnapshot($repository, $name, $options = [], $waitForCompletion = false) argument
108 …return $this->request($repository.'/'.$name, Request::PUT, $options, ['wait_for_completion' => $wa…
114 * @param string $repository the name of the repository from which to retrieve the snapshot
124 public function getSnapshot($repository, $name) argument
127 $response = $this->request($repository.'/'.$name);
130 …hrow new NotFoundException("Snapshot '".$name."' does not exist in repository '".$repository."'.");
140 * Retrieve data regarding all snapshots in the given repository.
142 * @param string $repository the repository name
150 public function getAllSnapshots($repository) argument
152 return $this->request($repository.'/_all')->getData();
158 * @param string $repository the repository in which the snapshot resides
167 public function deleteSnapshot($repository, $name) argument
169 return $this->request($repository.'/'.$name, Request::DELETE);
175 * @param string $repository the name of the repository
186 public function restoreSnapshot($repository, $name, $options = [], $waitForCompletion = false) argument
189 ->setRepository($repository)