Disk ARchive 2.8.0
Full featured and portable backup and archiving tool
Namespaces
mask_database.hpp File Reference

mask_database class is a dar_manager database based mask class More...

#include "../my_config.h"
#include "mask.hpp"
#include "data_dir.hpp"
#include "datetime.hpp"
#include "restore_tree.hpp"
+ Include dependency graph for mask_database.hpp:

Go to the source code of this file.

Namespaces

namespace  libdar
 libdar namespace encapsulate all libdar symbols
 

Detailed Description

mask_database class is a dar_manager database based mask class

This class let the restoration of a data spaws among different full and different backups loaded to a dar_manager database. The difference with using dar_manager is that you have two processes, dar_manager and dar processes, and in between a long list of mask to generate on one side and interpret on the other side (TLV format see dar's –pipe-fd option)

The objective here is first to have a single process (dar for CLI) that get reads the dar_manager database and restores all the data and only the necessary data (not restoring data of a full backup if a more recent backup has it saved), this means the process will have to restore several backups (which this class will provide information about) and for each this mask class will select only the necesary data (latest version) to be restored

Definition in file mask_database.hpp.