Disk ARchive 2.7.16
Full featured and portable backup and archiving tool
|
class holding optional parameters used to extract files from an existing archive More...
#include <archive_options.hpp>
Public Types | |
enum | t_dirty { dirty_ignore , dirty_warn , dirty_ok } |
Public Member Functions | |
archive_options_extract (const archive_options_extract &ref) | |
archive_options_extract (archive_options_extract &&ref) noexcept | |
archive_options_extract & | operator= (const archive_options_extract &ref) |
archive_options_extract & | operator= (archive_options_extract &&ref) noexcept |
void | clear () |
void | set_selection (const mask &selection) |
defines the filenames to only save (except directory) as those that match the given mask | |
void | set_subtree (const mask &subtree) |
defines the directories and files to consider More... | |
void | set_warn_over (bool warn_over) |
defines whether a warning shall be issued before overwriting More... | |
void | set_info_details (bool info_details) |
void | set_display_treated (bool display_treated, bool only_dir) |
void | set_display_skipped (bool display_skipped) |
whether to display files that have been excluded by filters More... | |
void | set_ea_mask (const mask &ea_mask) |
defines which Extended Attributes to save | |
void | set_flat (bool flat) |
whether to ignore directory structure and restore all files in the same directory More... | |
void | set_what_to_check (comparison_fields what_to_check) |
fields to consider when comparing inodes with those on filesystem to determine if it is more recent (see comparison_fields enumeration), also defines whether mtime has to be restored (cf_mtime) whether permission have to be too (cf_ignore_owner) whether ownership has to be restored too (cf_all) More... | |
void | set_warn_remove_no_match (bool warn_remove_no_match) |
whether a warning must be issue if a file to remove does not match the expected type of file More... | |
void | set_empty (bool empty) |
defines whether we need to store ignored directories as empty More... | |
void | set_empty_dir (bool empty_dir) |
whether to restore directories where no file has been triggered for backup (no file/inode change, excluded files,...) More... | |
void | set_dirty_behavior (bool ignore, bool warn) |
whether to restore dirty files (those that changed during backup), warn before restoring or ignoring them More... | |
void | set_dirty_behavior (t_dirty val) |
alternative method to modify dirty behavior More... | |
void | set_overwriting_rules (const crit_action &over) |
overwriting policy | |
void | set_only_deleted (bool val) |
only consider deleted files (if set, no data get restored) More... | |
void | set_ignore_deleted (bool val) |
do not consider deleted files (if set, no inode will be removed) More... | |
void | set_fsa_scope (const fsa_scope &scope) |
defines the FSA (Filesystem Specific Attribute) to only consider (by default all FSA activated at compilation time are considered) More... | |
void | set_ignore_unix_sockets (bool val) |
whether to ignore unix sockets while restoring More... | |
void | set_in_place (bool arg) |
whether to ignore fs_root and use in-place path stored in the archive More... | |
const mask & | get_selection () const |
const mask & | get_subtree () const |
bool | get_warn_over () const |
bool | get_info_details () const |
bool | get_display_treated () const |
bool | get_display_treated_only_dir () const |
bool | get_display_skipped () const |
const mask & | get_ea_mask () const |
bool | get_flat () const |
comparison_fields | get_what_to_check () const |
bool | get_warn_remove_no_match () const |
bool | get_empty () const |
bool | get_empty_dir () const |
t_dirty | get_dirty_behavior () const |
const crit_action & | get_overwriting_rules () const |
bool | get_only_deleted () const |
bool | get_ignore_deleted () const |
const fsa_scope & | get_fsa_scope () const |
bool | get_ignore_unix_sockets () const |
bool | get_in_place () const |
Private Member Functions | |
void | destroy () noexcept |
void | nullifyptr () noexcept |
void | copy_from (const archive_options_extract &ref) |
void | move_from (archive_options_extract &&ref) noexcept |
Private Attributes | |
mask * | x_selection |
mask * | x_subtree |
bool | x_warn_over |
bool | x_info_details |
bool | x_display_treated |
bool | x_display_treated_only_dir |
bool | x_display_skipped |
mask * | x_ea_mask |
bool | x_flat |
comparison_fields | x_what_to_check |
bool | x_warn_remove_no_match |
bool | x_empty |
bool | x_empty_dir |
t_dirty | x_dirty |
crit_action * | x_overwrite |
bool | x_only_deleted |
bool | x_ignore_deleted |
fsa_scope | x_scope |
bool | x_ignore_unix_sockets |
bool | x_in_place |
class holding optional parameters used to extract files from an existing archive
Definition at line 1311 of file archive_options.hpp.
enum libdar::archive_options_extract::t_dirty |
Definition at line 1314 of file archive_options.hpp.
|
inline |
Definition at line 1316 of file archive_options.hpp.
|
inline |
Definition at line 1317 of file archive_options.hpp.
|
inlinenoexcept |
Definition at line 1318 of file archive_options.hpp.
|
inline |
Definition at line 1321 of file archive_options.hpp.
|
inline |
Definition at line 1430 of file archive_options.hpp.
|
inline |
Definition at line 1423 of file archive_options.hpp.
|
inline |
Definition at line 1421 of file archive_options.hpp.
|
inline |
Definition at line 1422 of file archive_options.hpp.
|
inline |
Definition at line 1424 of file archive_options.hpp.
|
inline |
Definition at line 1428 of file archive_options.hpp.
|
inline |
Definition at line 1429 of file archive_options.hpp.
|
inline |
Definition at line 1425 of file archive_options.hpp.
|
inline |
Definition at line 1434 of file archive_options.hpp.
|
inline |
Definition at line 1433 of file archive_options.hpp.
|
inline |
Definition at line 1435 of file archive_options.hpp.
|
inline |
Definition at line 1436 of file archive_options.hpp.
|
inline |
Definition at line 1420 of file archive_options.hpp.
|
inline |
Definition at line 1432 of file archive_options.hpp.
|
inline |
Definition at line 1431 of file archive_options.hpp.
|
inline |
Definition at line 1417 of file archive_options.hpp.
|
inline |
Definition at line 1418 of file archive_options.hpp.
|
inline |
Definition at line 1419 of file archive_options.hpp.
|
inline |
Definition at line 1427 of file archive_options.hpp.
|
inline |
Definition at line 1426 of file archive_options.hpp.
|
inlinenoexcept |
Definition at line 1320 of file archive_options.hpp.
|
inline |
Definition at line 1319 of file archive_options.hpp.
|
inline |
whether to restore dirty files (those that changed during backup), warn before restoring or ignoring them
[in] | ignore | if set to true, dirty files are not restored at all |
[in] | warn | useless if ignored is false. If warn is true, a warning is issued before restoring each dirty file (default behavior) |
Definition at line 1385 of file archive_options.hpp.
|
inline |
alternative method to modify dirty behavior
Definition at line 1388 of file archive_options.hpp.
|
inline |
whether to display files that have been excluded by filters
Definition at line 1361 of file archive_options.hpp.
|
inline |
defines whether to show treated files
[in] | display_treated | true to display processed inodes |
[in] | only_dir | only display the current directory under processing, not its individual files |
Definition at line 1358 of file archive_options.hpp.
|
inline |
defines whether we need to store ignored directories as empty
Definition at line 1376 of file archive_options.hpp.
|
inline |
whether to restore directories where no file has been triggered for backup (no file/inode change, excluded files,...)
Definition at line 1379 of file archive_options.hpp.
|
inline |
whether to ignore directory structure and restore all files in the same directory
Definition at line 1367 of file archive_options.hpp.
|
inline |
defines the FSA (Filesystem Specific Attribute) to only consider (by default all FSA activated at compilation time are considered)
Definition at line 1405 of file archive_options.hpp.
|
inline |
do not consider deleted files (if set, no inode will be removed)
Definition at line 1402 of file archive_options.hpp.
|
inline |
whether to ignore unix sockets while restoring
Definition at line 1408 of file archive_options.hpp.
|
inline |
whether to ignore fs_root and use in-place path stored in the archive
Definition at line 1411 of file archive_options.hpp.
|
inline |
defines whether the user needs detailed output of the operation
Definition at line 1353 of file archive_options.hpp.
|
inline |
only consider deleted files (if set, no data get restored)
Definition at line 1396 of file archive_options.hpp.
void libdar::archive_options_extract::set_subtree | ( | const mask & | subtree | ) |
defines the directories and files to consider
|
inline |
defines whether a warning shall be issued before overwriting
Definition at line 1345 of file archive_options.hpp.
|
inline |
whether a warning must be issue if a file to remove does not match the expected type of file
Definition at line 1373 of file archive_options.hpp.
|
inline |
fields to consider when comparing inodes with those on filesystem to determine if it is more recent (see comparison_fields enumeration), also defines whether mtime has to be restored (cf_mtime) whether permission have to be too (cf_ignore_owner) whether ownership has to be restored too (cf_all)
Definition at line 1370 of file archive_options.hpp.
|
private |
Definition at line 1452 of file archive_options.hpp.
|
private |
Definition at line 1445 of file archive_options.hpp.
|
private |
Definition at line 1443 of file archive_options.hpp.
|
private |
Definition at line 1444 of file archive_options.hpp.
|
private |
Definition at line 1446 of file archive_options.hpp.
|
private |
Definition at line 1450 of file archive_options.hpp.
|
private |
Definition at line 1451 of file archive_options.hpp.
|
private |
Definition at line 1447 of file archive_options.hpp.
|
private |
Definition at line 1455 of file archive_options.hpp.
|
private |
Definition at line 1457 of file archive_options.hpp.
|
private |
Definition at line 1458 of file archive_options.hpp.
|
private |
Definition at line 1442 of file archive_options.hpp.
|
private |
Definition at line 1454 of file archive_options.hpp.
|
private |
Definition at line 1453 of file archive_options.hpp.
|
private |
Definition at line 1456 of file archive_options.hpp.
|
private |
Definition at line 1439 of file archive_options.hpp.
|
private |
Definition at line 1440 of file archive_options.hpp.
|
private |
Definition at line 1441 of file archive_options.hpp.
|
private |
Definition at line 1449 of file archive_options.hpp.
|
private |
Definition at line 1448 of file archive_options.hpp.