| Disk ARchive 2.7.18 Full featured and portable backup and archiving tool

Loading...
Searching...
No Matches
database_aux.hpp
Go to the documentation of this file.
1/*********************************************************************/
2// dar - disk archive - a backup/restoration program
3// Copyright (C) 2002-2025 Denis Corbin
4//
5// This program is free software; you can redistribute it and/or
6// modify it under the terms of the GNU General Public License
7// as published by the Free Software Foundation; either version 2
8// of the License, or (at your option) any later version.
9//
10// This program is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// You should have received a copy of the GNU General Public License
16// along with this program; if not, write to the Free Software
17// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18//
19// to contact the author, see the AUTHOR file
20/*********************************************************************/
21
25
26
27#ifndef DATABASE_AUX_HPP
28#define DATABASE_AUX_HPP
29
30#include "../my_config.h"
31
32 namespace libdar
33{
34
37
39
40 enum class db_lookup
41 {
42 found_present,
43 found_removed,
44 not_found,
45 not_restorable
46 };
47
49
54 enum class db_etat
55 {
56 et_saved,
57 et_patch,
58 et_patch_unusable,
59 et_inode,
60 et_present,
61 et_removed,
62 et_absent
63 };
64
66
67} // end of namespace
68
69#endif
libdar::db_lookup
db_lookup
the available status of a lookup
Definition database_aux.hpp:41
libdar::db_etat
db_etat
the status for a founded entry
Definition database_aux.hpp:55
libdar::db_lookup::not_found
@ not_found
no such file has been found in any archive of the base
libdar::db_lookup::found_removed
@ found_removed
file data/EA has been found as removed at that date
libdar::db_lookup::found_present
@ found_present
file data/EA has been found completely usable
libdar::db_lookup::not_restorable
@ not_restorable
file data/EA has been found existing at that date but not possible to restore (lack of data,...
libdar::db_etat::et_saved
@ et_saved
data/EA present in the archive
libdar::db_etat::et_present
@ et_present
file/EA present in the archive but data not saved (differential backup)
libdar::db_etat::et_removed
@ et_removed
file/EA stored as deleted since archive of reference or file/EA not present in the archive
libdar::db_etat::et_patch
@ et_patch
data present as patch since the previous version
libdar::db_etat::et_patch_unusable
@ et_patch_unusable
data present as patch but base version not found in archive set
libdar::db_etat::et_absent
@ et_absent
file not even mentionned in the archive, This entry is equivalent to et_removed, but is required to b...
libdar::db_etat::et_inode
@ et_inode
only inode metadata has been modified since previous version
my_config.h
include macro defined by the configure script and some specific additional ones
libdar
libdar namespace encapsulate all libdar symbols
Definition archive.hpp:47