File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,29 @@ $ sudo -i
49
49
# /backup/gsutil/gsutil config -o /backup/serverbackup/boto.cfg
50
50
```
51
51
52
+ The above method is that the token refresh does not work.
53
+ It is permanently set up in the following way.
54
+
55
+ 1 . Create a service account at your Google cloud console.
56
+ 2 . Select to furnish a new private key whose type is _ P12_ .
57
+ 3 . Put created .p12 file at ` /backup/serverbackup/<secret key file.p12> `
58
+ 4 . Write ` /backup/serverbackup/boto.cfg ` with the content of the following
59
+
60
+ ```
61
+ [Credentials]
62
+ gs_service_client_id = <service account email address>
63
+ gs_service_key_file = /backup/serverbackup/<secret key file.p12>
64
+ gs_service_key_file_password = <pass phrase for key file>
65
+
66
+ [Boto]
67
+ https_validate_certificates = True
68
+
69
+ [GSUtil]
70
+ content_language = en
71
+ default_api_version = 2
72
+ default_project_id = <Google Developer Project ID>
73
+ ```
74
+
52
75
#### backup.conf
53
76
54
77
Edit following entries.
You can’t perform that action at this time.
0 commit comments