-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathactions.yaml
51 lines (51 loc) · 1.69 KB
/
actions.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
do-backup:
description: |
Execute the duplicity backup procedure as configured by charm metadata.
Config values may be overridden at the command line.
# restore:
# description: |
# Executed the duplicity restore procedure using
#verify:
# description: |
# Verify restores to a temporary path and checks if the result matches the
# checksum saved during backup
list-current-files:
description: |
Lists the latest backed up files on the remote repository
remove-older-than:
description: |
Delete all backup sets older than the given time on the remote repository
params:
time:
type:
- string
- number
format: date-time
description: |
Time string follows the same time format (w3) as duplicity. For example:
now, 2022-09-30T13:31:15+00:00, 1665058250, 3D4H are all valid.
required: [time]
remove-all-but-n-full:
description: |
Keep only the most recent 'count' number of full backup(s) and any
associated incremental sets and delete the rest from the remote repository.
params:
count:
type: integer
minimum: 1
description: |
Count must be larger than zero. A value of 1 means that only the single
most recent backup chain will be kept.
required: [count]
remove-all-inc-of-but-n-full:
description: |
Keep only the most recent 'count' number of full backup(s) but NOT any of
their incremental sets and delete the rest from the remote repository.
params:
count:
type: integer
minimum: 1
description: |
Count must be larger than zero. A value of 1 means that only the single
most recent backup chain will be kept intact.
required: [count]