• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/cddl/contrib/opensolaris/cmd/zfs/

Lines Matching defs:snapshot

191 	{ "snapshot",	zfs_do_snapshot,	HELP_SNAPSHOT		},
240 "<snapshot> <filesystem|volume>\n"));
256 "[filesystem|volume|snapshot|bookmark] ...\n"));
259 "<filesystem|volume|snapshot> ...\n"));
270 "[filesystem|volume|snapshot] ...\n"));
278 "snapshot>\n"
279 "\treceive|recv [-vnsFu] [-o origin=<snapshot>] [-d | -e] "
283 return (gettext("\trename [-f] <filesystem|volume|snapshot> "
284 "<filesystem|volume|snapshot>\n"
286 "\trename -r <snapshot> <snapshot>\n"
290 return (gettext("\trollback [-rRf] <snapshot>\n"));
292 return (gettext("\tsend [-DnPpRvLec] [-[iI] snapshot] "
293 "<snapshot>\n"
294 "\tsend [-LPcenv] [-i snapshot|bookmark] "
295 "<filesystem|volume|snapshot>\n"
299 "<filesystem|volume|snapshot> ...\n"));
335 "<filesystem|snapshot>\n"));
340 "<filesystem|snapshot>\n"));
342 return (gettext("\thold [-r] <tag> <snapshot> ...\n"));
345 "<filesystem|volume|snapshot> ...\n"));
347 return (gettext("\trelease [-r] <tag> <snapshot> ...\n"));
349 return (gettext("\tdiff [-FHt] <snapshot> "
350 "[snapshot|filesystem]\n"));
354 return (gettext("\tbookmark <snapshot> <bookmark>\n"));
767 * and volumes. Snapshot creation is handled by 'zfs snapshot'.
1045 * wasn't specified, or the target is a snapshot.
1351 "snapshots to destroy; check snapshot names.\n"));
1794 "volume", "snapshot", "bookmark",
2248 * [-S field [-S field]...] [-t type[,...]] filesystem | snapshot
2250 * [-S field [-S field]...] [-t type[,...]] filesystem | snapshot
2262 * filesystem or snapshot.
2952 * [-t type[,...]] [filesystem|volume|snapshot] ...
3095 * Generic callback function to list a dataset or snapshot.
3170 "volume", "snapshot", "snap", "bookmark",
3219 * If we are only going to list snapshot names and sort by name,
3276 char *snapshot = NULL;
3328 "rename must be a snapshot\n"));
3360 * snapshot for the given dataset doesn't exist - it can
3364 snapshot = strchr(argv[0], '@');
3365 assert(snapshot != NULL);
3366 *snapshot = '\0';
3367 snapshot++;
3380 ret = (zfs_rename(zhp, snapshot, argv[1], flags) != 0);
3428 * zfs rollback [-rRf] <snapshot>
3434 * Given a filesystem, rollback to a specific snapshot, discarding any changes
3473 * snapshot dependents - if 'cb_dependent' is set, then this is a
3579 /* open the snapshot */
3614 * Rollback parent to the given snapshot.
3752 * zfs snapshot [-r] [-o prop=value] ... <fs@snap>
3754 * Creates a snapshot with the given name. While functionally equivalent to
3794 (void) fprintf(stderr, gettext("missing snapshot argument\n"));
3946 gettext("missing snapshot argument\n"));
4012 * If they specified the full path to the snapshot, chop off
4013 * everything except the short name of the snapshot, but special
4129 (void) fprintf(stderr, gettext("missing snapshot argument\n"));
4200 #define ZFS_DELEG_PERM_SNAPSHOT "snapshot"
4783 str = gettext("Allows adding a user hold to a snapshot");
4798 "might destroy the snapshot");
5600 gettext("'%s' is not a snapshot\n"), path);
5719 * Generic callback function to list a dataset or snapshot.
5824 char *snapshot = argv[i];
5828 delim = strchr(snapshot, '@');
5832 snapshot[delim - snapshot] = '\0';
7094 gettext("must provide at least one snapshot name\n"));
7171 * Creates a bookmark with the given name from the given snapshot.
7197 (void) fprintf(stderr, gettext("missing snapshot argument\n"));
7540 * The 'snap' command is an alias for 'snapshot'
7543 cmdname = "snapshot";