Skip to content

Commit 174a2cf

Browse files
committed
Add example of GCS permissions
1 parent dda6c21 commit 174a2cf

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,22 @@ with DELETE permissions can be used if that's not available.
2323
* Can perform both full backups and incremental backups
2424
* Can restore from both full backups and incremental backups
2525

26+
# Example of permissions in Google Cloud Storage
27+
28+
First a service account should be created with the following permissions:
29+
30+
* storage.objects.create
31+
* storage.objects.get
32+
* storage.objects.list
33+
34+
Give this service account access to the buckets you'll backup to.
35+
36+
If you are considering using different retention periods (eg monthly backups for 12 months, weekly backups for
37+
4 weeks, daily backups for 7 days, etc) then create different buckets for each and apply the retention periods
38+
to enforce the immutability, with lifecycle operations to cleanup once the retention period expires. Incremental
39+
backups should not be cleaned up ever, otherwise you'll lose data, but retention periods are still a good idea
40+
to give that extra immutability guarantee.
41+
2642
# Requirements
2743

2844
rclone must be installed and the remotes must be already configured.

0 commit comments

Comments
 (0)