aspera-cli 4.24.2 → 4.25.0.pre
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +1064 -758
- data/CONTRIBUTING.md +43 -100
- data/README.md +671 -419
- data/lib/aspera/api/aoc.rb +71 -43
- data/lib/aspera/api/cos_node.rb +3 -2
- data/lib/aspera/api/faspex.rb +6 -5
- data/lib/aspera/api/node.rb +10 -12
- data/lib/aspera/ascmd.rb +1 -2
- data/lib/aspera/ascp/installation.rb +53 -39
- data/lib/aspera/assert.rb +25 -3
- data/lib/aspera/cli/error.rb +4 -2
- data/lib/aspera/cli/extended_value.rb +84 -60
- data/lib/aspera/cli/formatter.rb +55 -22
- data/lib/aspera/cli/main.rb +21 -14
- data/lib/aspera/cli/manager.rb +348 -247
- data/lib/aspera/cli/plugins/alee.rb +3 -3
- data/lib/aspera/cli/plugins/aoc.rb +70 -14
- data/lib/aspera/cli/plugins/base.rb +57 -49
- data/lib/aspera/cli/plugins/config.rb +69 -84
- data/lib/aspera/cli/plugins/console.rb +13 -8
- data/lib/aspera/cli/plugins/cos.rb +1 -1
- data/lib/aspera/cli/plugins/faspex.rb +32 -26
- data/lib/aspera/cli/plugins/faspex5.rb +45 -43
- data/lib/aspera/cli/plugins/faspio.rb +5 -5
- data/lib/aspera/cli/plugins/httpgw.rb +1 -1
- data/lib/aspera/cli/plugins/node.rb +131 -120
- data/lib/aspera/cli/plugins/oauth.rb +1 -1
- data/lib/aspera/cli/plugins/orchestrator.rb +114 -32
- data/lib/aspera/cli/plugins/preview.rb +26 -46
- data/lib/aspera/cli/plugins/server.rb +6 -8
- data/lib/aspera/cli/plugins/shares.rb +27 -32
- data/lib/aspera/cli/sync_actions.rb +49 -38
- data/lib/aspera/cli/transfer_agent.rb +16 -34
- data/lib/aspera/cli/version.rb +1 -1
- data/lib/aspera/cli/wizard.rb +8 -5
- data/lib/aspera/command_line_builder.rb +20 -17
- data/lib/aspera/coverage.rb +1 -1
- data/lib/aspera/environment.rb +41 -34
- data/lib/aspera/faspex_gw.rb +1 -1
- data/lib/aspera/keychain/factory.rb +1 -2
- data/lib/aspera/markdown.rb +31 -0
- data/lib/aspera/nagios.rb +6 -5
- data/lib/aspera/oauth/base.rb +17 -27
- data/lib/aspera/oauth/factory.rb +1 -1
- data/lib/aspera/oauth/url_json.rb +2 -1
- data/lib/aspera/preview/file_types.rb +23 -37
- data/lib/aspera/products/connect.rb +3 -3
- data/lib/aspera/rest.rb +51 -39
- data/lib/aspera/rest_error_analyzer.rb +4 -4
- data/lib/aspera/ssh.rb +5 -2
- data/lib/aspera/ssl.rb +41 -0
- data/lib/aspera/sync/conf.schema.yaml +182 -34
- data/lib/aspera/sync/database.rb +2 -1
- data/lib/aspera/sync/operations.rb +125 -69
- data/lib/aspera/transfer/parameters.rb +3 -4
- data/lib/aspera/transfer/spec.rb +2 -3
- data/lib/aspera/transfer/spec.schema.yaml +48 -18
- data/lib/aspera/transfer/spec_doc.rb +14 -14
- data/lib/aspera/uri_reader.rb +1 -1
- data/lib/transferd_pb.rb +2 -2
- data.tar.gz.sig +0 -0
- metadata +19 -6
- metadata.gz.sig +3 -2
|
@@ -22,6 +22,7 @@ properties:
|
|
|
22
22
|
type: boolean
|
|
23
23
|
default: false
|
|
24
24
|
x-cli-option: true
|
|
25
|
+
x-cli-switch: true
|
|
25
26
|
checksum:
|
|
26
27
|
description: Use the specified checksum type. Default is none on cloud storage.
|
|
27
28
|
type: string
|
|
@@ -32,20 +33,27 @@ properties:
|
|
|
32
33
|
- md5_sparse
|
|
33
34
|
- none
|
|
34
35
|
default: sha1_sparse
|
|
36
|
+
x-cli-option: true
|
|
37
|
+
x-cli-short: -k
|
|
35
38
|
clean_excluded:
|
|
36
39
|
description:
|
|
37
40
|
Removes any existing entries in the snapshot database for excluded
|
|
38
41
|
paths
|
|
39
42
|
type: boolean
|
|
40
43
|
default: false
|
|
44
|
+
x-cli-option: true
|
|
45
|
+
x-cli-switch: true
|
|
41
46
|
store_metadata_records:
|
|
42
47
|
description: Store the acls or xattrs in the snapshot database.
|
|
43
48
|
type: boolean
|
|
44
49
|
default: false
|
|
50
|
+
x-cli-option: true
|
|
51
|
+
x-cli-switch: true
|
|
45
52
|
cookie:
|
|
46
53
|
description: User-defined identification string.
|
|
47
54
|
type: string
|
|
48
55
|
default: ""
|
|
56
|
+
x-cli-option: true
|
|
49
57
|
cooloff_max_seconds:
|
|
50
58
|
description:
|
|
51
59
|
Wait up to the specified time for a file to stop changing before
|
|
@@ -54,7 +62,8 @@ properties:
|
|
|
54
62
|
default: 0
|
|
55
63
|
x-cli-option: --cooloff-max
|
|
56
64
|
cooloff_seconds:
|
|
57
|
-
description:
|
|
65
|
+
description:
|
|
66
|
+
Delay the start of the transfer to confirm that the content is not changing.
|
|
58
67
|
Value must be between 0 and 60
|
|
59
68
|
type: integer
|
|
60
69
|
default: 3
|
|
@@ -63,6 +72,8 @@ properties:
|
|
|
63
72
|
description: Create the source directory, target directory, or both, if they do not exist.
|
|
64
73
|
type: boolean
|
|
65
74
|
default: false
|
|
75
|
+
x-cli-option: true
|
|
76
|
+
x-cli-switch: true
|
|
66
77
|
db_cache_size:
|
|
67
78
|
description: Specify DB cache size.
|
|
68
79
|
type: integer
|
|
@@ -84,14 +95,19 @@ properties:
|
|
|
84
95
|
- hardlink
|
|
85
96
|
- none
|
|
86
97
|
default: none
|
|
98
|
+
x-cli-option: true
|
|
87
99
|
delete_before:
|
|
88
100
|
description: Schedule deletes before transfers.
|
|
89
101
|
type: boolean
|
|
90
102
|
default: false
|
|
103
|
+
x-cli-option: true
|
|
104
|
+
x-cli-switch: true
|
|
91
105
|
delete_delay:
|
|
92
106
|
description: Delay actual deletes until the end of the synchronization.
|
|
93
107
|
type: boolean
|
|
94
108
|
default: false
|
|
109
|
+
x-cli-option: true
|
|
110
|
+
x-cli-switch: true
|
|
95
111
|
direction:
|
|
96
112
|
description: The direction of replication relative to the local.
|
|
97
113
|
type: string
|
|
@@ -100,7 +116,10 @@ properties:
|
|
|
100
116
|
- pull
|
|
101
117
|
- push
|
|
102
118
|
default: push
|
|
119
|
+
x-cli-option: true
|
|
120
|
+
x-cli-short: -K
|
|
103
121
|
filters:
|
|
122
|
+
$comment: "Options -E --exclude-from --exclude --include -I --include-from"
|
|
104
123
|
description:
|
|
105
124
|
The filters allow to further specify which files have to be excluded
|
|
106
125
|
and included from the transfer list. Each filter is defined by a rule and
|
|
@@ -114,6 +133,7 @@ properties:
|
|
|
114
133
|
properties:
|
|
115
134
|
rule:
|
|
116
135
|
description: The rule for the filter.
|
|
136
|
+
type: string
|
|
117
137
|
enum:
|
|
118
138
|
- include
|
|
119
139
|
- exclude
|
|
@@ -142,11 +162,16 @@ properties:
|
|
|
142
162
|
description: Do not copy removals to the peer.
|
|
143
163
|
type: boolean
|
|
144
164
|
default: false
|
|
165
|
+
x-cli-option: true
|
|
166
|
+
x-cli-switch: true
|
|
145
167
|
ignore_mode:
|
|
146
|
-
description:
|
|
168
|
+
description:
|
|
169
|
+
Source files that have had their mode changed after the initial.
|
|
147
170
|
transfer will not update the destination file mode.
|
|
148
171
|
type: boolean
|
|
149
172
|
default: false
|
|
173
|
+
x-cli-option: true
|
|
174
|
+
x-cli-switch: true
|
|
150
175
|
ignore_remote_host_sync_name:
|
|
151
176
|
description: Do not check that the remote host being used for the current.
|
|
152
177
|
transfer matches the host used when the local database was created
|
|
@@ -171,6 +196,7 @@ properties:
|
|
|
171
196
|
type: boolean
|
|
172
197
|
default: false
|
|
173
198
|
x-cli-option: --apply-local-docroot
|
|
199
|
+
x-cli-switch: true
|
|
174
200
|
local_db_dir:
|
|
175
201
|
description: Use the specified database directory on the local host.
|
|
176
202
|
Default is `.private-asp` at the root level of the synchronized directory.
|
|
@@ -179,38 +205,48 @@ properties:
|
|
|
179
205
|
x-cli-option: true
|
|
180
206
|
x-cli-short: -b
|
|
181
207
|
local_checksum_threads:
|
|
182
|
-
description:
|
|
183
|
-
Maximum number of threads to do checksum on the local host.
|
|
208
|
+
description: Maximum number of threads to do checksum on the local host.
|
|
184
209
|
Value must be between 1 and 99.
|
|
185
210
|
type: integer
|
|
186
211
|
default: 4
|
|
212
|
+
x-cli-option: true
|
|
187
213
|
local_db_store_dir:
|
|
188
|
-
description:
|
|
214
|
+
description:
|
|
215
|
+
Store/Restore the database to/from the specified directory on the local host.
|
|
189
216
|
The value can be an absolute path, an URI or - (use the local sync dir)
|
|
190
217
|
type: string
|
|
191
218
|
default: ""
|
|
219
|
+
x-cli-option: true
|
|
192
220
|
local_force_stat:
|
|
193
221
|
description: Forces the local async to retrieve file information even when no changes are detected by the scanner or monitor.
|
|
194
222
|
type: boolean
|
|
195
223
|
default: false
|
|
224
|
+
x-cli-option: true
|
|
225
|
+
x-cli-switch: true
|
|
196
226
|
local_fs_threads:
|
|
197
|
-
description:
|
|
227
|
+
description:
|
|
228
|
+
Maximum number of threads to do file system operations on the local host.
|
|
198
229
|
Value must be between 1 and 99.
|
|
199
230
|
type: integer
|
|
200
231
|
default: 1
|
|
232
|
+
x-cli-option: true
|
|
201
233
|
local_keep_dir:
|
|
202
234
|
description: Move deleted files into the specified directory on the local host.
|
|
203
235
|
type: string
|
|
204
236
|
default: ""
|
|
237
|
+
x-cli-option: --keep-dir-local
|
|
205
238
|
local_mount_signature:
|
|
206
239
|
description: Verify that the file system is mounted by the existence of this file on the local host.
|
|
207
240
|
type: string
|
|
208
241
|
default: ""
|
|
242
|
+
x-cli-option: true
|
|
209
243
|
local_move_cache_timeout_seconds:
|
|
210
|
-
description:
|
|
244
|
+
description:
|
|
245
|
+
Delay in seconds before aborting moving a file from local cache to final destination.
|
|
211
246
|
`-1` for disabled.
|
|
212
247
|
type: integer
|
|
213
248
|
default: -1
|
|
249
|
+
x-cli-option: --local-move-cache-timeout
|
|
214
250
|
local_preserve_acls:
|
|
215
251
|
description: Preserve access control lists on the local host.
|
|
216
252
|
type: string
|
|
@@ -219,6 +255,7 @@ properties:
|
|
|
219
255
|
- metafile
|
|
220
256
|
- none
|
|
221
257
|
default: none
|
|
258
|
+
x-cli-option: --preserve-acls
|
|
222
259
|
local_preserve_xattrs:
|
|
223
260
|
description: Preserve extended attributes on the local.
|
|
224
261
|
type: string
|
|
@@ -227,17 +264,20 @@ properties:
|
|
|
227
264
|
- metafile
|
|
228
265
|
- none
|
|
229
266
|
default: none
|
|
267
|
+
x-cli-option: --preserve-xattrs
|
|
230
268
|
local_scan_interval_milliseconds:
|
|
231
269
|
description:
|
|
232
270
|
Enable periodic scans on the local host during a continuous sync.
|
|
233
271
|
`-1` for disabled
|
|
234
272
|
type: integer
|
|
235
273
|
default: -1
|
|
274
|
+
x-cli-option: --scan-interval
|
|
236
275
|
local_scan_threads:
|
|
237
276
|
description: Number of directory scanning threads on the local host.
|
|
238
277
|
Value must be between 1 and 99
|
|
239
278
|
type: integer
|
|
240
279
|
default: 1
|
|
280
|
+
x-cli-option: --scan-threads
|
|
241
281
|
local_stat_cache_size:
|
|
242
282
|
description: Set stat cache size on the local host. 0 for disabled.
|
|
243
283
|
type: integer
|
|
@@ -247,20 +287,27 @@ properties:
|
|
|
247
287
|
properties:
|
|
248
288
|
level:
|
|
249
289
|
description: Use the specified log level.
|
|
290
|
+
type: string
|
|
250
291
|
enum:
|
|
251
292
|
- log
|
|
252
293
|
- dbg1
|
|
253
294
|
- dbg2
|
|
254
295
|
default: log
|
|
296
|
+
x-cli-option: -D
|
|
297
|
+
x-cli-special: true
|
|
298
|
+
x-cli-switch: true
|
|
255
299
|
local_dir:
|
|
256
300
|
description: Use the specified logging directory on the local host.
|
|
257
301
|
type: string
|
|
258
302
|
default: ""
|
|
259
303
|
x-cli-option: --alt-logdir
|
|
304
|
+
x-cli-short: -L
|
|
260
305
|
remote_dir:
|
|
261
306
|
description: Use the specified logging directory on the remote host.
|
|
262
307
|
type: string
|
|
263
308
|
default: ""
|
|
309
|
+
x-cli-option: --remote-logdir
|
|
310
|
+
x-cli-short: -R
|
|
264
311
|
manifest_path:
|
|
265
312
|
description:
|
|
266
313
|
A directory path where ascp will create manifest TEXT files (passed
|
|
@@ -278,9 +325,9 @@ properties:
|
|
|
278
325
|
x-cli-option: true
|
|
279
326
|
x-cli-switch: true
|
|
280
327
|
mode:
|
|
281
|
-
description:
|
|
282
|
-
|
|
283
|
-
|
|
328
|
+
description: Specify whether async runs continuously or not.
|
|
329
|
+
In `one_time` mode, async stops after the first full synchronization.
|
|
330
|
+
`continuous` supported only if the source is Windows or Linux.
|
|
284
331
|
type: string
|
|
285
332
|
enum:
|
|
286
333
|
- one_time
|
|
@@ -289,7 +336,7 @@ properties:
|
|
|
289
336
|
x-cli-option: --continuous
|
|
290
337
|
x-cli-short: -C
|
|
291
338
|
x-cli-special: true
|
|
292
|
-
|
|
339
|
+
x-cli-switch: true
|
|
293
340
|
monitor_buffer_size:
|
|
294
341
|
description: Bytes to allocate for the change monitor buffer.
|
|
295
342
|
Applies to any Windows machine on either side.
|
|
@@ -306,14 +353,19 @@ properties:
|
|
|
306
353
|
The only currently supported ITEM is 'stats', which suppresses both STATS and PROG log messages.
|
|
307
354
|
type: string
|
|
308
355
|
default: ""
|
|
356
|
+
x-cli-option: true
|
|
309
357
|
no_preserve_root_attrs:
|
|
310
358
|
description: Disable the preservation of attributes on the Sync root.
|
|
311
359
|
type: boolean
|
|
312
360
|
default: false
|
|
361
|
+
x-cli-option: true
|
|
362
|
+
x-cli-switch: true
|
|
313
363
|
no_scan:
|
|
314
364
|
description: Skip initial scanning.
|
|
315
365
|
type: boolean
|
|
316
366
|
default: false
|
|
367
|
+
x-cli-option: true
|
|
368
|
+
x-cli-switch: true
|
|
317
369
|
notifications_sharing_retry_max:
|
|
318
370
|
description: Retry processing filesystem notifications up to the specified
|
|
319
371
|
maximum number after a sharing violation.
|
|
@@ -322,52 +374,77 @@ properties:
|
|
|
322
374
|
overwrite:
|
|
323
375
|
description: >-
|
|
324
376
|
Overwrite files according to the specified policy.
|
|
325
|
-
Default is determined by the direction: conflict for bidi
|
|
377
|
+
Default is determined by the direction: `conflict` for `bidi`, otherwise `always`.
|
|
326
378
|
type: string
|
|
327
379
|
enum:
|
|
328
380
|
- always
|
|
329
381
|
- older
|
|
330
382
|
- conflict
|
|
383
|
+
x-cli-option: true
|
|
384
|
+
x-cli-short: -o
|
|
331
385
|
pending_max:
|
|
332
386
|
description: Allow the maximum number of files that are pending transfer to be no more than the specified number.
|
|
333
387
|
type: integer
|
|
334
388
|
default: 2000
|
|
389
|
+
x-cli-option: true
|
|
335
390
|
preserve_access_time:
|
|
336
391
|
description: Preserve file access time from the source to the destination.
|
|
337
392
|
type: boolean
|
|
338
393
|
default: false
|
|
394
|
+
x-cli-option: true
|
|
395
|
+
x-cli-switch: true
|
|
339
396
|
preserve_creation_time:
|
|
340
397
|
description: Preserve file creation time from the source to the destination.
|
|
341
398
|
type: boolean
|
|
342
399
|
default: false
|
|
400
|
+
x-cli-option: true
|
|
401
|
+
x-cli-switch: true
|
|
343
402
|
preserve_gid:
|
|
344
403
|
description: Preserve the file owner's GID.
|
|
345
404
|
type: boolean
|
|
346
405
|
default: false
|
|
406
|
+
x-cli-option: true
|
|
407
|
+
x-cli-short: -j
|
|
408
|
+
x-cli-switch: true
|
|
347
409
|
preserve_modification_time:
|
|
410
|
+
$comment: --preserve-time, -t for both preserve_modification_time and preserve_creation_time
|
|
348
411
|
description: Preserve file modification time from the source to the destination.
|
|
349
412
|
type: boolean
|
|
350
413
|
default: false
|
|
414
|
+
x-cli-option: true
|
|
415
|
+
x-cli-switch: true
|
|
351
416
|
preserve_object_lock_legal_hold:
|
|
352
417
|
description: Preserve object lock legal hold status from the source to the destination.
|
|
353
418
|
type: boolean
|
|
354
419
|
default: false
|
|
420
|
+
x-cli-option: true
|
|
421
|
+
x-cli-switch: true
|
|
355
422
|
preserve_object_lock_retention:
|
|
356
423
|
description: Preserve object lock retention from the source to the destination.
|
|
357
424
|
type: boolean
|
|
358
425
|
default: false
|
|
426
|
+
x-cli-option: true
|
|
427
|
+
x-cli-switch: true
|
|
359
428
|
preserve_object_metadata:
|
|
360
429
|
description: Preserve object metadata from the source to the destination.
|
|
361
430
|
type: boolean
|
|
362
431
|
default: false
|
|
432
|
+
x-cli-option: true
|
|
433
|
+
x-cli-switch: true
|
|
363
434
|
preserve_uid:
|
|
364
435
|
description: Preserve the file owner's UID.
|
|
365
436
|
type: boolean
|
|
366
437
|
default: false
|
|
438
|
+
x-cli-option: true
|
|
439
|
+
x-cli-short: -u
|
|
440
|
+
x-cli-switch: true
|
|
367
441
|
quiet:
|
|
368
442
|
description: Disable progress display.
|
|
369
443
|
type: boolean
|
|
370
444
|
default: true
|
|
445
|
+
x-cli-option: true
|
|
446
|
+
x-cli-switch: true
|
|
447
|
+
x-cli-short: -q
|
|
371
448
|
remote:
|
|
372
449
|
type: object
|
|
373
450
|
required:
|
|
@@ -384,42 +461,57 @@ properties:
|
|
|
384
461
|
description: Use the specified host name or address of the remote host.
|
|
385
462
|
type: string
|
|
386
463
|
x-ts-name: remote_host
|
|
464
|
+
x-cli-option: true
|
|
387
465
|
pass:
|
|
388
466
|
description: Authenticate the transfer with the specified password.
|
|
389
467
|
type: string
|
|
390
468
|
default: ""
|
|
391
469
|
x-ts-name: remote_password
|
|
470
|
+
x-cli-option: true
|
|
471
|
+
x-cli-short: -w
|
|
392
472
|
path:
|
|
473
|
+
$comment: This option can use this format [[USER@]HOST:]PATH
|
|
393
474
|
description: Synchronize the specified directory on the remote host.
|
|
394
475
|
type: string
|
|
476
|
+
x-cli-option: --remote-dir
|
|
477
|
+
x-cli-short: -r
|
|
395
478
|
port:
|
|
396
479
|
description: Use the specified TCP port for SSH.
|
|
397
480
|
Used when connect_mode is `ssh`
|
|
398
481
|
type: integer
|
|
399
482
|
default: 22
|
|
400
483
|
x-ts-name: ssh_port
|
|
484
|
+
x-cli-option: --tcp-port
|
|
485
|
+
x-cli-short: -P
|
|
401
486
|
ws_port:
|
|
402
|
-
description:
|
|
403
|
-
Use the specified port for Websocket.
|
|
487
|
+
description: Use the specified port for Websocket.
|
|
404
488
|
Used when connect_mode is `ws`.
|
|
405
489
|
type: integer
|
|
406
490
|
default: 9093
|
|
407
491
|
x-ts-name: wss_port
|
|
408
492
|
connect_mode:
|
|
409
493
|
description: Define how to connect to the remote.
|
|
494
|
+
type: string
|
|
410
495
|
enum:
|
|
411
496
|
- ssh
|
|
412
497
|
- ws
|
|
413
498
|
default: ssh
|
|
499
|
+
x-cli-option: --ws-connect
|
|
500
|
+
x-cli-special: true
|
|
501
|
+
x-cli-switch: true
|
|
414
502
|
private_key_paths:
|
|
415
503
|
description: Authenticate with the specified SSH private key file.
|
|
416
504
|
type: array
|
|
417
505
|
items:
|
|
418
506
|
type: string
|
|
507
|
+
x-cli-option: --private-key-path
|
|
508
|
+
x-cli-short: -i
|
|
419
509
|
proxy:
|
|
420
510
|
description: Specify the address of the Aspera high-speed proxy server.
|
|
421
511
|
type: object
|
|
422
512
|
#x-ts-name: proxy : TODO: conversion
|
|
513
|
+
x-cli-option: true
|
|
514
|
+
x-cli-special: true
|
|
423
515
|
properties:
|
|
424
516
|
host:
|
|
425
517
|
description: Use the specified host name or address of the proxy.
|
|
@@ -435,6 +527,7 @@ properties:
|
|
|
435
527
|
type: integer
|
|
436
528
|
protocol:
|
|
437
529
|
description: The protocol to be used.
|
|
530
|
+
type: string
|
|
438
531
|
enum:
|
|
439
532
|
- none
|
|
440
533
|
- dnat
|
|
@@ -449,6 +542,7 @@ properties:
|
|
|
449
542
|
type: string
|
|
450
543
|
default: ""
|
|
451
544
|
x-ts-name: token
|
|
545
|
+
x-cli-short: -W
|
|
452
546
|
token_node_user:
|
|
453
547
|
description: Node API user identity associated with the token.
|
|
454
548
|
Required for node user bearer tokens
|
|
@@ -458,39 +552,50 @@ properties:
|
|
|
458
552
|
description: Authenticate the transfer with the specified username.
|
|
459
553
|
type: string
|
|
460
554
|
x-ts-name: remote_user
|
|
555
|
+
x-cli-option: true
|
|
461
556
|
remote_checksum_threads:
|
|
462
557
|
description: Maximum number of threads to do checksum on the remote host.
|
|
463
558
|
Value must be between 1 and 99
|
|
464
559
|
type: integer
|
|
465
560
|
default: 4
|
|
561
|
+
x-cli-option: true
|
|
466
562
|
remote_db_dir:
|
|
467
|
-
description:
|
|
468
|
-
Use the specified database directory on the remote host.
|
|
563
|
+
description: Use the specified database directory on the remote host.
|
|
469
564
|
Default is `.private-asp` at the root level of the synchronized directory.
|
|
470
565
|
type: string
|
|
471
566
|
default: ""
|
|
567
|
+
x-cli-option: true
|
|
568
|
+
x-cli-short: -B
|
|
472
569
|
remote_db_store_dir:
|
|
473
|
-
description:
|
|
570
|
+
description:
|
|
571
|
+
Store/Restore the database to/from the specified directory on the remote host.
|
|
474
572
|
The value can be an absolute path, an URI or - (use the remote sync dir).
|
|
475
573
|
type: string
|
|
476
574
|
default: ""
|
|
575
|
+
x-cli-option: true
|
|
477
576
|
remote_force_stat:
|
|
478
577
|
description: Forces the remote async to retrieve file information even when no changes are detected by the scanner or monitor.
|
|
479
578
|
type: boolean
|
|
480
579
|
default: false
|
|
580
|
+
x-cli-option: true
|
|
581
|
+
x-cli-switch: true
|
|
481
582
|
remote_fs_threads:
|
|
482
|
-
description:
|
|
583
|
+
description:
|
|
584
|
+
Maximum number of threads to do file system operations on the remote host.
|
|
483
585
|
Value must be between 1 and 99.
|
|
484
586
|
type: integer
|
|
485
587
|
default: 1
|
|
588
|
+
x-cli-option: true
|
|
486
589
|
remote_keep_dir:
|
|
487
590
|
description: Move deleted files into the specified directory on the remote host.
|
|
488
591
|
type: string
|
|
489
592
|
default: ""
|
|
593
|
+
x-cli-option: --keep-dir-remote
|
|
490
594
|
remote_mount_signature:
|
|
491
595
|
description: Verify that the file system is mounted by the existence of this file on the remote host.
|
|
492
596
|
type: string
|
|
493
597
|
default: ""
|
|
598
|
+
x-cli-option: true
|
|
494
599
|
remote_move_cache_timeout_seconds:
|
|
495
600
|
description:
|
|
496
601
|
Delay in seconds before aborting moving a file from remote cache
|
|
@@ -498,34 +603,38 @@ properties:
|
|
|
498
603
|
`-1` for disabled.
|
|
499
604
|
type: integer
|
|
500
605
|
default: -1
|
|
606
|
+
x-cli-option: --remote-move-cache-timeout
|
|
501
607
|
remote_preserve_acls:
|
|
502
|
-
description:
|
|
503
|
-
Preserve access control lists on the remote host.
|
|
608
|
+
description: Preserve access control lists on the remote host.
|
|
504
609
|
If not specified, the default behavior is to use the same storage mode as specified by `preserve_acls`.
|
|
505
610
|
type: string
|
|
506
611
|
enum:
|
|
507
612
|
- native
|
|
508
613
|
- metafile
|
|
509
614
|
- none
|
|
615
|
+
x-cli-option: true
|
|
510
616
|
remote_preserve_xattrs:
|
|
511
|
-
description:
|
|
512
|
-
Preserve extended attributes on the remote host.
|
|
617
|
+
description: Preserve extended attributes on the remote host.
|
|
513
618
|
If not specified, the default behavior is to use the same storage mode as specified by `preserve_xattrs`.
|
|
514
619
|
type: string
|
|
515
620
|
enum:
|
|
516
621
|
- native
|
|
517
622
|
- metafile
|
|
518
623
|
- none
|
|
624
|
+
x-cli-option: true
|
|
519
625
|
remote_scan_interval_milliseconds:
|
|
520
626
|
description: Enable periodic scans on the remote host.
|
|
521
627
|
`-1` for disabled.
|
|
522
628
|
type: integer
|
|
523
629
|
default: -1
|
|
630
|
+
x-cli-option: --remote-scan-interval
|
|
631
|
+
x-cli-special: true
|
|
524
632
|
remote_scan_threads:
|
|
525
633
|
description: Number of directory scanning threads on the remote host.
|
|
526
634
|
Value must be between 1 and 99.
|
|
527
635
|
type: integer
|
|
528
636
|
default: 1
|
|
637
|
+
x-cli-option: true
|
|
529
638
|
remote_stat_cache_size:
|
|
530
639
|
description: Set stat cache size on the remote host.
|
|
531
640
|
0 for disabled.
|
|
@@ -535,12 +644,17 @@ properties:
|
|
|
535
644
|
description: Remove source files after they are successfully synchronized.
|
|
536
645
|
type: boolean
|
|
537
646
|
default: false
|
|
647
|
+
x-cli-option: true
|
|
648
|
+
x-cli-switch: true
|
|
538
649
|
reset:
|
|
539
650
|
description:
|
|
540
651
|
Clear the snapshot database and rescan the synchronized directories
|
|
541
652
|
and files to create a fresh snapshot
|
|
542
653
|
type: boolean
|
|
543
654
|
default: false
|
|
655
|
+
x-cli-option: true
|
|
656
|
+
x-cli-short: -x
|
|
657
|
+
x-cli-switch: true
|
|
544
658
|
resume:
|
|
545
659
|
description: >-
|
|
546
660
|
Partial transfers may exist if communication disruptions caused the underlying ascp processes to terminate early.
|
|
@@ -550,14 +664,14 @@ properties:
|
|
|
550
664
|
type: object
|
|
551
665
|
properties:
|
|
552
666
|
enabled:
|
|
553
|
-
description:
|
|
554
|
-
Enable the possibility of resuming individual file transfers between async sessions.
|
|
667
|
+
description: Enable the possibility of resuming individual file transfers between async sessions.
|
|
555
668
|
type: boolean
|
|
556
669
|
default: false
|
|
557
670
|
min_size:
|
|
558
671
|
description: This field specifies the minimum size of files that will be allowed to resume.
|
|
559
672
|
type: integer
|
|
560
673
|
default: "1048576"
|
|
674
|
+
x-cli-option: --support-resume
|
|
561
675
|
max_age:
|
|
562
676
|
description: >-
|
|
563
677
|
Sets the age limit in days for temporary files that will be preserved
|
|
@@ -566,22 +680,28 @@ properties:
|
|
|
566
680
|
regardless of whether they might be resumeable.
|
|
567
681
|
type: integer
|
|
568
682
|
default: "5"
|
|
683
|
+
x-cli-option: --resume-age-days
|
|
569
684
|
resume_scan:
|
|
570
685
|
description: Resume the scan from where the previous execution left off.
|
|
571
686
|
type: boolean
|
|
572
687
|
default: false
|
|
688
|
+
x-cli-option: true
|
|
689
|
+
x-cli-switch: true
|
|
573
690
|
scan_dir_rename:
|
|
574
691
|
description: Enable the detection of renamed directories and files compared.
|
|
575
692
|
to the previous scan, based on matching inodes
|
|
576
693
|
type: boolean
|
|
577
694
|
default: false
|
|
695
|
+
x-cli-option: true
|
|
696
|
+
x-cli-switch: true
|
|
578
697
|
scan_file_rename:
|
|
579
698
|
description: Enable the detection of renamed files compared to the previous scan, based on matching inodes.
|
|
580
699
|
type: boolean
|
|
581
700
|
default: false
|
|
701
|
+
x-cli-option: true
|
|
702
|
+
x-cli-switch: true
|
|
582
703
|
scan_intensity:
|
|
583
|
-
description:
|
|
584
|
-
Scan at the set intensity.
|
|
704
|
+
description: Scan at the set intensity.
|
|
585
705
|
`vlow` minimizes system activity.
|
|
586
706
|
`vhigh` maximizes system activity by continuously scanning files without rest.
|
|
587
707
|
type: string
|
|
@@ -592,13 +712,15 @@ properties:
|
|
|
592
712
|
- high
|
|
593
713
|
- vhigh
|
|
594
714
|
default: medium
|
|
715
|
+
x-cli-option: true
|
|
716
|
+
x-cli-short: -H
|
|
595
717
|
sharing_retry_max:
|
|
596
718
|
description: Retry synchronizations up to the specified maximum number after a sharing violation.
|
|
597
719
|
type: integer
|
|
598
720
|
default: 3
|
|
721
|
+
x-cli-option: true
|
|
599
722
|
symbolic_links:
|
|
600
|
-
description:
|
|
601
|
-
Handle symbolic links with the specified method.
|
|
723
|
+
description: Handle symbolic links with the specified method.
|
|
602
724
|
Default is `skip` on windows, `copy` otherwise.
|
|
603
725
|
type: string
|
|
604
726
|
enum:
|
|
@@ -612,11 +734,15 @@ properties:
|
|
|
612
734
|
type: object
|
|
613
735
|
properties: {}
|
|
614
736
|
x-ts-name: tags
|
|
737
|
+
x-cli-option: --tags64
|
|
738
|
+
x-cli-special: true
|
|
615
739
|
transfer_threads:
|
|
616
740
|
description:
|
|
617
741
|
Use the specified number of dedicated transfer threads to process
|
|
618
742
|
files smaller or equal to the specified size
|
|
619
743
|
type: array
|
|
744
|
+
x-cli-option: true
|
|
745
|
+
x-cli-special: true
|
|
620
746
|
items:
|
|
621
747
|
type: object
|
|
622
748
|
required:
|
|
@@ -635,6 +761,7 @@ properties:
|
|
|
635
761
|
properties:
|
|
636
762
|
cipher:
|
|
637
763
|
description: Specify encryption algorithm for file data.
|
|
764
|
+
type: string
|
|
638
765
|
enum:
|
|
639
766
|
- none
|
|
640
767
|
- aes128
|
|
@@ -648,60 +775,78 @@ properties:
|
|
|
648
775
|
- aes256gcm
|
|
649
776
|
default: aes128
|
|
650
777
|
x-cli-option: true
|
|
778
|
+
x-cli-short: -c
|
|
651
779
|
compression:
|
|
652
780
|
description: Compress a file before transfer using the specified MODE.
|
|
781
|
+
type: string
|
|
653
782
|
enum:
|
|
654
783
|
- none
|
|
655
784
|
- zlib
|
|
656
785
|
default: none
|
|
657
786
|
x-cli-option: true
|
|
658
787
|
datagram_size:
|
|
659
|
-
description:
|
|
660
|
-
Specify the datagram size (MTU) for FASP.
|
|
788
|
+
description: Specify the datagram size (MTU) for FASP.
|
|
661
789
|
By default it uses the detected path MTU.
|
|
662
790
|
type: integer
|
|
791
|
+
x-cli-option: true
|
|
792
|
+
x-cli-short: -Z
|
|
663
793
|
min_rate:
|
|
664
794
|
description: Attempt to transfer no slower than the specified rate (in bps).
|
|
665
795
|
type: integer
|
|
666
796
|
default: 0
|
|
797
|
+
x-cli-option: true
|
|
798
|
+
x-cli-short: -m
|
|
667
799
|
rate_policy:
|
|
668
800
|
description: Defines how `ascp` will manage the bandwidth.
|
|
801
|
+
type: string
|
|
669
802
|
enum:
|
|
670
803
|
- fair
|
|
671
804
|
- fixed
|
|
672
805
|
- high
|
|
673
806
|
- low
|
|
674
807
|
default: fair
|
|
808
|
+
x-cli-option: true
|
|
809
|
+
x-cli-short: -a
|
|
675
810
|
raw_options:
|
|
676
811
|
description: Pass arbitrary arguments to `ascp`.
|
|
677
812
|
type: array
|
|
678
813
|
items:
|
|
679
814
|
type: string
|
|
815
|
+
x-cli-option: true
|
|
816
|
+
x-cli-special: true
|
|
680
817
|
read_block_size:
|
|
681
|
-
description:
|
|
682
|
-
Use the specified block size (in bytes) for reading.
|
|
818
|
+
description: Use the specified block size (in bytes) for reading.
|
|
683
819
|
Default is determined by `aspera.conf`.
|
|
684
820
|
type: integer
|
|
821
|
+
x-cli-option: true
|
|
822
|
+
x-cli-short: -g
|
|
685
823
|
rexmsg_size:
|
|
686
824
|
description:
|
|
687
825
|
Use the specified size (in bytes) for a retransmission request.
|
|
688
826
|
Default is determined by `aspera.conf`.
|
|
689
827
|
type: integer
|
|
828
|
+
x-cli-option: true
|
|
829
|
+
x-cli-short: -X
|
|
690
830
|
target_rate:
|
|
691
831
|
description: Transfer no faster than the specified rate (in bps).
|
|
692
832
|
type: integer
|
|
693
833
|
default: 10000000
|
|
694
834
|
x-ts-name: target_rate_kbps
|
|
695
835
|
x-ts-convert: kbps_to_bps
|
|
836
|
+
x-cli-option: true
|
|
837
|
+
x-cli-short: -l
|
|
696
838
|
write_block_size:
|
|
697
|
-
description:
|
|
698
|
-
Use the specified block size (in bytes) for writing.
|
|
839
|
+
description: Use the specified block size (in bytes) for writing.
|
|
699
840
|
Default is determined by `aspera.conf`.
|
|
700
841
|
type: integer
|
|
842
|
+
x-cli-option: true
|
|
843
|
+
x-cli-short: -G
|
|
701
844
|
udp_port:
|
|
702
845
|
description: Use the specified UDP port for FASP data transfer.
|
|
703
846
|
type: integer
|
|
704
847
|
default: 33001
|
|
848
|
+
x-cli-option: true
|
|
849
|
+
x-cli-short: -O
|
|
705
850
|
watchd:
|
|
706
851
|
description: When connection is configured, `asperawatchd` is used to detect the changes on the source directory.
|
|
707
852
|
type: object
|
|
@@ -710,6 +855,7 @@ properties:
|
|
|
710
855
|
properties:
|
|
711
856
|
datastore:
|
|
712
857
|
description: Specify the type of datastore, `none` for disabled.
|
|
858
|
+
type: string
|
|
713
859
|
enum:
|
|
714
860
|
- none
|
|
715
861
|
- redis
|
|
@@ -731,7 +877,9 @@ properties:
|
|
|
731
877
|
description: Try to write files as the specified group.
|
|
732
878
|
type: string
|
|
733
879
|
default: ""
|
|
880
|
+
x-cli-option: true
|
|
734
881
|
write_uid:
|
|
735
882
|
description: Try to write files as the specified user.
|
|
736
883
|
type: string
|
|
737
884
|
default: ""
|
|
885
|
+
x-cli-option: true
|