Searched defs:snapshot (Results 1 - 3 of 3) sorted by relevance
/lxc/src/lxc/tools/ |
H A D | lxc_clone.c | 80 printf(" -s: snapshot rather than copy\n"); 96 { "snapshot", no_argument, 0, 's'}, 115 int snapshot = 0, keepname = 0, keepmac = 0, rename = 0; local 134 case 's': snapshot = 1; break; 162 if (snapshot) flags |= LXC_CLONE_SNAPSHOT; 211 snapshot ? "snapshot" : "copy", orig);
|
/lxc/src/lxc/bdev/ |
H A D | lxczfs.c | 119 const char *nname, const char *lxcpath, int snapshot) 146 if (!snapshot) { 159 // if snapshot, do 160 // 'zfs snapshot zfsroot/oname@nname 170 // if the snapshot exists, delete it 183 // run first (snapshot) command 187 execlp("zfs", "zfs", "snapshot", path1, (char *)NULL); 214 ERROR("zfs snapshot from %s backing store is not supported", orig->type); 235 * snapshot it was based on, so that we don't hold the original 118 zfs_clone(const char *opath, const char *npath, const char *oname, const char *nname, const char *lxcpath, int snapshot) argument
|
/lxc/src/lxc/ |
H A D | lxccontainer.h | 551 * By default the original is used (subject to snapshot requirements). 654 * \brief Create a container snapshot. 659 * represents the zero-based snapshot number. 663 * of the snapshot. 665 * \return -1 on error, or zero-based snapshot number. 669 int (*snapshot)(struct lxc_container *c, const char *commentfile); member in struct:lxc_container 680 * \note To free an individual snapshot as returned in \p 681 * snapshots, call the snapshots \c free function (see \c src/tests/snapshot.c for an example). 686 * \brief Create a new container based on a snapshot. 688 * The restored container will be a copy (not snapshot) o [all...] |
Completed in 11 milliseconds