Skip to content

Commit

Permalink
Merge pull request #46 from skysqlinc/DEV-806-Restore-from-Your-Own-B…
Browse files Browse the repository at this point in the history
…ucket

restore exaples link fix, formatting
  • Loading branch information
NedPK committed Aug 20, 2024
2 parents 7fc84d3 + 213efd7 commit db667df
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/Backup and Restore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ SkySQL Users can fetch their already existing database restore schedules using t

#### Restore List Examples

- [Examples](Restore List Examples.md)
- [Examples](Restore Listing Examples.md)

### **Create a Restore**

Expand Down
12 changes: 11 additions & 1 deletion docs/Backup and Restore/Restore From Your Own Bucket.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,18 @@ curl --location 'https://api-test.skysql.com/skybackup/v1/restores' \
You can fetch your service ID from the Fully qualified domain name(FQDN) of your service.
E.g: in dbpgf17106534.sysp0000.db2.skysql.com, 'dbpgf17106534' is the service ID. You will find the FQDN in the [Connect window](https://app.skysql.com/dashboard)
- ID : the backup data file reference, available in your GCS bucket.

!!! Note
Gzip compressed file expected.

Example:
```bash
gzip <backup file> -c > <backup file>.gz
```

- GCS_URI : the GCS bucket URI where the backup file is stored, format gs://BUCKET_NAME/
<b>!!! Note: </b> Make sure the BUCKET_NAME has a trailing slash.
!!! Note
Make sure the BUCKET_NAME contains a trailing slash.

- BACKUP_METHOD : the backup method used to create the backup file.
<br>Available options: ```mariabackup, mysqldump`` </br>
Expand Down

0 comments on commit db667df

Please sign in to comment.