This commit is contained in:
mwiegand 2021-06-19 12:50:27 +02:00
parent 638932b1ee
commit ed34d44b2b
3 changed files with 7 additions and 2 deletions

View file

@ -1,2 +1,5 @@
# gcloud projects add-iam-policy-binding sublimity-182017 --member 'serviceAccount:backup@sublimity-182017.iam.gserviceaccount.com' --role 'roles/storage.objectViewer'
# gcloud projects add-iam-policy-binding sublimity-182017 --member 'serviceAccount:backup@sublimity-182017.iam.gserviceaccount.com' --role 'roles/storage.objectCreator'
```
gcloud projects add-iam-policy-binding sublimity-182017 --member 'serviceAccount:backup@sublimity-182017.iam.gserviceaccount.com' --role 'roles/storage.objectViewer'
gcloud projects add-iam-policy-binding sublimity-182017 --member 'serviceAccount:backup@sublimity-182017.iam.gserviceaccount.com' --role 'roles/storage.objectCreator'
gsutil -o "GSUtil:parallel_process_count=3" -o GSUtil:parallel_thread_count=4 -m rsync -r -d -e /var/vmail gs://sublimity-backup/mailserver
```

View file

@ -5,6 +5,7 @@ defaults = {
'ca-certificates': {},
'gnupg': {},
'google-cloud-sdk': {},
'python3-crcmod': {},
},
'sources': {
'gcloud': 'deb https://packages.cloud.google.com/apt cloud-sdk main',

View file

@ -7,6 +7,7 @@
'gitea',
'postgresql',
'wireguard',
'gcloud',
],
'metadata': {
'network': {