You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: internal/cmd/backup.go
+38-1Lines changed: 38 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,9 @@ const (
39
39
backupServiceDrive="drive"
40
40
backupServiceGmail="gmail"
41
41
backupServiceGmailSettings="gmail-settings"
42
+
backupServiceGroups="groups"
43
+
backupServiceAdmin="admin"
44
+
backupServiceKeep="keep"
42
45
backupServiceTasks="tasks"
43
46
backupServiceWorkspace="workspace"
44
47
)
@@ -115,8 +118,11 @@ type BackupPushCmd struct {
115
118
DriveContentsbool`name:"drive-contents" help:"Download/export Drive file contents into encrypted shards" default:"true" negatable:""`
116
119
DriveBinaryContentsbool`name:"drive-binary-contents" help:"Include non-Google Drive binary file bytes in encrypted shards"`
117
120
DriveContentMaxBytesint64`name:"drive-content-max-bytes" help:"Skip individual Drive content exports larger than this many bytes; 0 means unlimited" default:"0"`
121
+
DriveCollaborationbool`name:"drive-collaboration" help:"Back up Drive permissions, comments, and revision metadata" default:"true" negatable:""`
118
122
WorkspaceNativebool`name:"workspace-native" help:"Fetch full native Docs/Sheets/Slides API JSON in addition to Drive exports"`
119
123
WorkspaceMaxFilesint`name:"workspace-max-files" help:"Max Docs/Sheets/Slides files per type for native Workspace metadata; 0 means all" default:"0"`
124
+
GmailCachebool`name:"gmail-cache" help:"Cache fetched Gmail raw messages locally so interrupted full backups can resume" default:"true" negatable:""`
125
+
GmailRefreshCachebool`name:"gmail-refresh-cache" help:"Refetch Gmail messages even when a local backup cache entry exists"`
120
126
BestEffortbool`name:"best-effort" help:"Record optional service errors as backup rows and continue" default:"true" negatable:""`
0 commit comments