Subversion Repositories zfs_utils

Rev

Rev 54 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 54 Rev 55
Line 14... Line 14...
14
 
14
 
15
```
15
```
16
cleanSnaps [--force|-f] [--verbose|-v] [--timeshift|-t <shift>] [--help|-h] [pool]
16
cleanSnaps [--force|-f] [--verbose|-v] [--timeshift|-t <shift>] [--help|-h] [pool]
17
```
17
```
18
 
18
 
19
- `--timeshift, -t <shift>` — Apply an artificial time-shift. The script accepts a signed or unsigned quantity with a unit (examples: `30d`, `-4w`, `+3d`, `3600s`). Units: s, m, h, d, w, y. Useful for testing TTL expiry without changing the system clock. A positive shift moves “now” forward (so more snapshots appear expired); a negative shift moves “now” backward.
19
- `--timeshift, -t <shift>` — Apply an artificial time-shift. The script accepts a signed or unsigned quantity with a unit (examples: `30d`, `-4w`, `+3d`, `3600s`). Units: s, m, h, d, w, y. Useful for testing TTL expiry without changing the system clock. A positive shift moves “now” forward (so more snapshots appear expired); a negative shift moves “now” backward. No sign assumed to be backwards.
20
- `--force, -f` — Actually destroy snapshots. By default the script runs in safe (non-destructive) mode and only reports candidate snapshots.
20
- `--force, -f` — Actually destroy snapshots. By default the script runs in safe (non-destructive) mode and only reports candidate snapshots.
21
- `--verbose, -v` — Verbose logging; prints keep/skip messages and extra information.
21
- `--verbose, -v` — Verbose logging; prints keep/skip messages and extra information.
22
- `--help, -h` — Show help/usage and exit.
22
- `--help, -h` — Show help/usage and exit.
23
- `pool` (optional) — Restrict processing to snapshots whose pool name matches this string.
23
- `pool` (optional) — Restrict processing to snapshots whose pool name matches this string.
24
 
24