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
| name | Name to identify this snapshot (to be used with the --name CLI option) | "" | "myid" |
283
-
| sources | Array of source directories or file(s) to back up. |[]|["/dir1", "/dir2"]|
284
-
| hooks | Hooks to run before and after backing up the defined sources. | Not set | { run-before = [], run-after = [], run-failed = [], run-finally = [] } |
280
+
| Attribute | Description | Default Value | Example Value |
| name | Name to identify this snapshot (to be used with the --name CLI option) | "" | "myid" |
283
+
| sources | Array of source directories or file(s) to back up. Allows "opendal:" for a remote source if only a single source is used |[]|["/dir1", "/dir2"], ["opendal:s3"]|
284
+
| hooks | Hooks to run before and after backing up the defined sources. | Not set | { run-before = [], run-after = [], run-failed = [], run-finally = [] } |
285
285
286
286
Source-specific hooks are called additionally to global, repository and backup
287
287
hooks when backing up the defined sources into a snapshot.
0 commit comments