Skip to content
Open
Changes from 2 commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
a2c5207
docs(cookbook): add method to restore backup from another instance wi…
jremy42 Oct 31, 2025
214ec28
Merge branch 'master' into feat/cookbook-restore-backup-cross-instance
jremy42 Nov 3, 2025
c88a28f
Merge branch 'master' into feat/cookbook-restore-backup-cross-instance
jremy42 Nov 19, 2025
cea4f42
Merge branch 'master' into feat/cookbook-restore-backup-cross-instance
jremy42 Nov 26, 2025
c9b46e0
Merge branch 'master' into feat/cookbook-restore-backup-cross-instance
jremy42 Dec 10, 2025
d34c2a6
fix(vpc): handle IPAM errors gracefully in private-network get (#5224)
yfodil Dec 11, 2025
6578831
chore(k8s): remove legacy endpoint + refresh autoscaler docs (#5223)
scaleway-bot Dec 11, 2025
16cca3a
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.93.1…
dependabot[bot] Dec 11, 2025
6006d58
chore(deps): bump golang.org/x/crypto from 0.45.0 to 0.46.0 (#5221)
dependabot[bot] Dec 11, 2025
3dc0014
feat(s2s_vpn): enable v1alpha1 (#5226)
scaleway-bot Dec 11, 2025
9b43dc3
chore(deps): bump github.com/buildpacks/pack from 0.39.0 to 0.39.1 (#…
dependabot[bot] Dec 15, 2025
7fb0dc9
feat(s2s_vpn): add support for v1alpha1 (#5225)
scaleway-bot Dec 15, 2025
7d224c2
fix(instance): add support for ProjectID in instance server list (#5228)
remyleone Dec 15, 2025
85a84b8
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.93.2…
dependabot[bot] Dec 16, 2025
1d634ac
feat(serverless): make run image configurable in container deploy com…
cyclimse Dec 16, 2025
95db07a
chore(deps): bump github.com/moby/buildkit from 0.26.2 to 0.26.3 (#5232)
dependabot[bot] Dec 17, 2025
b797b47
fix(k8s): remove list cluster types validation (#5231)
jtherin Dec 17, 2025
1c64977
docs(rdb): add database migration method across regions (#5103)
jremy42 Dec 18, 2025
607c6aa
feat(redis): add cluster connect command (#5211)
jremy42 Dec 18, 2025
bfca51d
feat(audit_trail): add resource types for VPC (#5235)
scaleway-bot Dec 18, 2025
4adcc7a
fix(instance/v1): revert "remove field export_uri on the Instance API…
scaleway-bot Dec 19, 2025
85e6fb0
chore: migrate goreleaser docker manifest to v2 (#5236)
remyleone Dec 19, 2025
169fbc5
chore(k8s): remove deprecated features from the cli (#5241)
scaleway-bot Dec 19, 2025
75e987e
chore: bump sdk (#5243)
scaleway-bot Dec 22, 2025
7f68e70
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.94.0…
dependabot[bot] Dec 24, 2025
5e43af1
feat(edge_services): add serverless function backend (#5246)
scaleway-bot Jan 2, 2026
20efdd0
feat(apple_silicon): enabled kext (#5247)
scaleway-bot Jan 2, 2026
1971dec
chore(deps): bump crate-ci/typos from 1.40.0 to 1.41.0 (#5248)
dependabot[bot] Jan 2, 2026
3258fc0
chore(deps): bump alpine from 3.22 to 3.23 (#5249)
dependabot[bot] Jan 2, 2026
4beb0a8
chore(deps-dev): bump vitest and @vitest/browser in /wasm (#5250)
dependabot[bot] Jan 2, 2026
24e2567
chore(deps-dev): bump prettier from 3.7.3 to 3.7.4 in /wasm (#5251)
dependabot[bot] Jan 2, 2026
970e251
chore(cockpit): change documentation order + required field + data-ex…
scaleway-bot Jan 7, 2026
dea39ef
chore(k8s): add MigratePoolsToNewImagesRequest (#5261)
scaleway-bot Jan 7, 2026
f05dcaa
fix(instance): fix image listing zone handling (#5262)
remyleone Jan 8, 2026
f58c481
chore: fix lint (#5263)
remyleone Jan 8, 2026
61c43b6
feat(edge_services): add doc and cli for head stage (#5264)
scaleway-bot Jan 8, 2026
1ed8561
chore(deps): bump golang.org/x/text from 0.32.0 to 0.33.0 (#5265)
dependabot[bot] Jan 12, 2026
d059779
chore(deps): bump golang.org/x/term from 0.38.0 to 0.39.0 (#5266)
dependabot[bot] Jan 12, 2026
e92e472
chore(deps): bump github.com/aws/aws-sdk-go-v2 from 1.41.0 to 1.41.1 …
dependabot[bot] Jan 12, 2026
5b4358f
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.95.0…
dependabot[bot] Jan 12, 2026
bbc142d
feat(audit_trail): add vpc-gw resources info (#5270)
scaleway-bot Jan 12, 2026
7e1ed6c
chore(deps): bump golang.org/x/crypto from 0.46.0 to 0.47.0 (#5273)
dependabot[bot] Jan 13, 2026
10cc874
fix(instance): change scratch volume logic (#5276)
remyleone Jan 14, 2026
2690d47
chore: add support for setup buildx (#5277)
remyleone Jan 14, 2026
ed020f7
feat(k8s): allow patching security_group_id on existing pools (#5281)
scaleway-bot Jan 14, 2026
bcf9bdf
fix(baremetal): handle errors in offer list command (#5280)
Andarius Jan 15, 2026
6739bc8
feat(resource_private): add s2s_vpn in resource count (#5282)
scaleway-bot Jan 15, 2026
74efe15
feat(datawarehouse): enable data warehouse cli (#5283)
scaleway-bot Jan 15, 2026
89e2750
chore(deps): bump github.com/getsentry/sentry-go from 0.40.0 to 0.41.…
dependabot[bot] Jan 16, 2026
1ae2f8e
feat(searchdb): add support for v1alpha1 (#5285)
scaleway-bot Jan 16, 2026
475ab8a
feat: add support for listing all sub-commands of a command (#5289)
remyleone Jan 19, 2026
5cf21fb
feat(datawarehouse): add datawarehouse support (#5294)
remyleone Jan 23, 2026
e92173d
chore(searchdb): update documentation phrasing (#5290)
scaleway-bot Jan 26, 2026
6d93075
chore(container): deprecate `redeploy` (#5291)
scaleway-bot Jan 27, 2026
6d862bd
feat(datawarehouse): add support for `get-certificate` (#5292)
scaleway-bot Jan 27, 2026
1973a22
chore: add support for modernize (#5272)
remyleone Jan 27, 2026
99548e8
chore(deps): bump github.com/getsentry/sentry-go from 0.41.0 to 0.42.…
dependabot[bot] Jan 28, 2026
b35a7b9
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.95.1…
dependabot[bot] Jan 29, 2026
701b750
chore: bump sdk (#5299)
scaleway-bot Jan 29, 2026
2f0469e
chore(deps): bump crate-ci/typos from 1.41.0 to 1.42.3 (#5308)
dependabot[bot] Feb 2, 2026
19b84bb
chore(deps-dev): bump vitest and @vitest/browser in /wasm (#5309)
dependabot[bot] Feb 2, 2026
f4caf3b
chore(deps-dev): bump prettier from 3.7.4 to 3.8.1 in /wasm (#5310)
dependabot[bot] Feb 2, 2026
9d9dc70
feat(datawarehouse): add the CreateEndpoint and DeleteEndpoint metho…
scaleway-bot Feb 3, 2026
08b7046
feat(edge_services): add plan backend limit (#5312)
scaleway-bot Feb 3, 2026
3c3f002
feat(audit_trail): add resource types for RDB (#5313)
scaleway-bot Feb 3, 2026
d3cbffe
feat(datalab): enable support for the CLI (#5314)
scaleway-bot Feb 3, 2026
0bf4231
feat(datalab): enable v1beta1 (#5318)
yfodil Feb 4, 2026
fd861ee
docs(datalab): improve the API documentation wording (#5317)
scaleway-bot Feb 4, 2026
1070e9b
feat(edge_services) add edit mode for route rules (#5316)
yfodil Feb 4, 2026
59539d7
feat(vpc): add l3vni to route (#5320)
scaleway-bot Feb 6, 2026
dd6c52f
feat(s2s_vpn): support single tunnel ip auto-alloc (#5321)
scaleway-bot Feb 9, 2026
4e1e200
chore(deps): bump github.com/moby/buildkit from 0.26.3 to 0.27.1 (#5307)
dependabot[bot] Feb 9, 2026
eda5066
chore: migrate to pinned actions (#5322)
remyleone Feb 9, 2026
247f74f
chore(deps): bump github.com/go-git/go-git/v5 from 5.16.4 to 5.16.5 (…
dependabot[bot] Feb 10, 2026
c085960
chore(deps): bump golang.org/x/text from 0.33.0 to 0.34.0 (#5324)
dependabot[bot] Feb 10, 2026
90d05e8
chore(deps): bump golang.org/x/term from 0.39.0 to 0.40.0 (#5325)
dependabot[bot] Feb 10, 2026
bfdc47b
chore(deps): bump golang.org/x/crypto from 0.47.0 to 0.48.0 (#5326)
dependabot[bot] Feb 10, 2026
e0e098b
feat(serverless_jobs): activate CLI generation for v1alpha2 (#5329)
scaleway-bot Feb 10, 2026
82eb2cd
feat(serverless_jobs): migrate to v1alpha2 (#5328)
Mia-Cross Feb 11, 2026
d011329
feat(docker): Make scw resolvable in container (#5330)
agarov Feb 16, 2026
d74615e
feat(serverless_jobs): add retry policy (#5333)
scaleway-bot Feb 17, 2026
3336ad4
chore: migrate to go1.26 (#5332)
remyleone Feb 17, 2026
6c9c80c
feat(k8s): add pools labels, taints and startup_taints (#5336)
scaleway-bot Feb 20, 2026
837f8da
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.96.0…
dependabot[bot] Feb 24, 2026
0d2960a
chore: bump sdk (#5342)
remyleone Feb 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions docs/cookbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,34 @@ scw instance server list zone=all -o template="{{.ID}} zone={{.Zone}}" | xargs -
scw rdb backup list -ojson | jq --arg d "$(date -d "7 days ago" --utc --iso-8601=ns)" '.[] | select (.created_at < $d)'
```

### Restore a backup from another Database Instance (even with different version)

You can restore a backup from one Database Instance to another, even if they have different PostgreSQL/MySQL versions (e.g., PostgreSQL-15 to PostgreSQL-16). The restore operation works within the same region.

```bash
# Step 1: Create a backup from the source instance
scw rdb backup create instance-id=<source-instance-id> database-name=<db-name> name=cross-instance-backup region=<region> -w

# Step 2: Get the backup ID
BACKUP_ID=$(scw rdb backup list instance-id=<source-instance-id> region=<region> -ojson | jq -r '.[0].id')

# Step 3: Create the target database on the destination instance (if it doesn't exist)
scw rdb database create instance-id=<target-instance-id> name=<db-name> region=<region>

# Step 4: Restore the backup to the target instance
scw rdb backup restore $BACKUP_ID instance-id=<target-instance-id> region=<region> -w

# Example: Restore from PostgreSQL-15 to PostgreSQL-16
SOURCE_ID="325fd68a-a286-4f5c-b56b-3b8d66fcd13d" # PG-15 instance
TARGET_ID="70644724-60c9-411c-a3e2-5276f1cefff1" # PG-16 instance
scw rdb backup create instance-id=$SOURCE_ID database-name=mydb name=upgrade-backup region=fr-par -w
BACKUP_ID=$(scw rdb backup list instance-id=$SOURCE_ID region=fr-par -ojson | jq -r '.[0].id')
scw rdb database create instance-id=$TARGET_ID name=mydb region=fr-par
scw rdb backup restore $BACKUP_ID instance-id=$TARGET_ID region=fr-par -w
```

**Note:** This method only works within the same region. For cross-region migrations, see the "Migrate a managed database to another region" section.

## IPAM

### Find resource ipv4 with exact name using jq
Expand Down
Loading