2 Bacula(R) - The Network Backup Solution
4 Copyright (C) 2000-2015 Kern Sibbald
6 The original author of Bacula is Kern Sibbald, with contributions
7 from many others, a complete list can be found in the file AUTHORS.
9 You may use this file and others of this release according to the
10 license defined in the LICENSE file, which includes the Affero General
11 Public License, v3.0 ("AGPLv3") and some additional permissions and
12 terms pursuant to its AGPLv3 Section 7.
14 This notice must be preserved when any source code is
15 conveyed and/or propagated.
17 Bacula(R) is a registered trademark of Kern Sibbald.
19 Written by Eric Bollengier 2015
25 /* default snapshot handler */
26 char *snapshot_get_command();
28 /* Internal objects */
29 class mtab; /* device list */
32 class snapshot_manager: public SMARTALLOC
39 snapshot_manager(JCR *ajcr);
40 virtual ~snapshot_manager();
42 /* Quiesce application and take snapshot */
43 bool create_snapshots();
45 /* Cleanup snapshots */
46 bool cleanup_snapshots();
49 bool list_snapshots(alist *ret);
51 /* Scan the fileset for devices and application */
57 /* Add a mount point to the mtab list */
58 void add_mount_point(uint32_t dev, const char *device,
59 const char *mountpoint, const char *fstype);
62 void close_snapshot_backup_session(JCR *jcr);
63 bool open_snapshot_backup_session(JCR *jcr);
65 bool snapshot_convert_path(JCR *jcr, FF_PKT *ff, dlist *filelist, dlistString *node);
67 #endif /* FD_SNAPSHOT_H */