![]() |
Disk ARchive 2.8.0
Full featured and portable backup and archiving tool
|
class holding optional parameters used to isolate an existing archive More...
#include <archive_options.hpp>
Public Member Functions | |
archive_options_isolate (const archive_options_isolate &ref) | |
archive_options_isolate (archive_options_isolate &&ref) noexcept | |
archive_options_isolate & | operator= (const archive_options_isolate &ref) |
archive_options_isolate & | operator= (archive_options_isolate &&ref) noexcept |
void | clear () |
void | set_allow_over (bool allow_over) |
whether overwritting is allowed More... | |
void | set_warn_over (bool warn_over) |
whether a warning shall be issued before overwriting More... | |
void | set_info_details (bool info_details) |
whether the user needs detailed output of the operation More... | |
void | set_pause (const infinint &pause) |
Pause beteween slices. Set to zero does not pause at all, set to 1 makes libdar pauses each slice, set to 2 makes libdar pause each 2 slices and so on. More... | |
void | set_compression (compression algo) |
the compression algorithm used More... | |
void | set_compression_level (U_I compression_level) |
the compression level (from 1 to 9) More... | |
void | set_compression_block_size (U_I compression_block_size) |
set the compression block size More... | |
void | set_slicing (const infinint &file_size, const infinint &first_file_size=0) |
define the archive slicing More... | |
void | set_execute (const std::string &execute) |
command to execute after each slice creation More... | |
void | set_crypto_algo (crypto_algo crypto) |
cypher to use More... | |
void | set_crypto_pass (const secu_string &pass) |
password / passphrase to encrypt the data with (empty string for interactive question) More... | |
void | set_crypto_size (U_32 crypto_size) |
size of the encryption by block to use More... | |
void | set_gnupg_recipients (const std::vector< std::string > &gnupg_recipients) |
void | set_gnupg_signatories (const std::vector< std::string > &gnupg_signatories) |
void | set_empty (bool empty) |
whether to make a dry-run operation More... | |
void | set_slice_permission (const std::string &slice_permission) |
if not an empty string set the slice permission according to the octal value given. More... | |
void | set_slice_user_ownership (const std::string &slice_user_ownership) |
if not an empty string set the user ownership of slices accordingly More... | |
void | set_slice_group_ownership (const std::string &slice_group_ownership) |
if not an empty string set the group ownership of slices accordingly More... | |
void | set_user_comment (const std::string &comment) |
specify a user comment in the archive (always in clear text!) More... | |
void | set_hash_algo (hash_algo hash) |
specify whether to produce a hash file of the slice and which hash algo to use | |
void | set_slice_min_digits (infinint val) |
defines the minimum digit a slice must have concerning its number, zeros will be prepended as much as necessary to respect this More... | |
void | set_sequential_marks (bool sequential) |
whether to add escape sequence aka tape marks to allow sequential reading of the archive More... | |
void | set_entrepot (const std::shared_ptr< entrepot > &entr) |
defines the protocol to use for slices More... | |
void | set_multi_threaded (bool val) |
whether libdar is allowed to created several thread to work possibily faster on multicore CPU (require libthreadar) More... | |
void | set_multi_threaded_crypto (U_I num) |
how much thread libdar will use for cryptography (need libthreadar to be effective) More... | |
void | set_multi_threaded_compress (U_I num) |
how much thread libdar will use for compression (need libthreadar too and compression_block_size > 0) More... | |
void | set_delta_signature (bool val) |
whether signature to base binary delta on, has to be transfered from the source to the isolated catalogue and sotred beside saved files inode information More... | |
void | set_delta_mask (const mask &delta_mask) |
whether to derogate from the current existing binary delta signatures and drop/recalculate for file that do not have delta signatures More... | |
void | set_delta_sig_min_size (const infinint &val) |
void | set_sig_block_len (delta_sig_block_size val) |
block size to use to build delta signatures More... | |
void | set_iteration_count (const infinint &val) |
key derivation More... | |
void | set_kdf_hash (hash_algo algo) |
hash algo used for key derivation More... | |
void | set_repair_mode (bool mode) |
repair mode making at most rebuild a catalog from a truncate or corrupted backup More... | |
bool | get_allow_over () const |
bool | get_warn_over () const |
bool | get_info_details () const |
const infinint & | get_pause () const |
compression | get_compression () const |
U_I | get_compression_level () const |
U_I | get_compression_block_size () const |
const infinint & | get_slice_size () const |
const infinint & | get_first_slice_size () const |
const std::string & | get_execute () const |
crypto_algo | get_crypto_algo () const |
const secu_string & | get_crypto_pass () const |
U_32 | get_crypto_size () const |
const std::vector< std::string > & | get_gnupg_recipients () const |
const std::vector< std::string > & | get_gnupg_signatories () const |
bool | get_empty () const |
const std::string & | get_slice_permission () const |
const std::string & | get_slice_user_ownership () const |
const std::string & | get_slice_group_ownership () const |
const std::string & | get_user_comment () const |
hash_algo | get_hash_algo () const |
infinint | get_slice_min_digits () const |
bool | get_sequential_marks () const |
const std::shared_ptr< entrepot > & | get_entrepot () const |
U_I | get_multi_threaded_crypto () const |
U_I | get_multi_threaded_compress () const |
bool | get_delta_signature () const |
const mask & | get_delta_mask () const |
bool | get_has_delta_mask_been_set () const |
const infinint & | get_delta_sig_min_size () const |
delta_sig_block_size | get_sig_block_len () const |
const infinint & | get_iteration_count () const |
hash_algo | get_kdf_hash () const |
bool | get_repair_mode () const |
Private Member Functions | |
void | copy_from (const archive_options_isolate &ref) |
void | move_from (archive_options_isolate &&ref) noexcept |
void | destroy () noexcept |
void | nullifyptr () noexcept |
Private Attributes | |
bool | x_allow_over |
bool | x_warn_over |
bool | x_info_details |
infinint | x_pause |
compression | x_algo |
U_I | x_compression_level |
U_I | x_compression_block_size |
infinint | x_file_size |
infinint | x_first_file_size |
std::string | x_execute |
crypto_algo | x_crypto |
secu_string | x_pass |
U_32 | x_crypto_size |
std::vector< std::string > | x_gnupg_recipients |
std::vector< std::string > | x_gnupg_signatories |
bool | x_empty |
std::string | x_slice_permission |
std::string | x_slice_user_ownership |
std::string | x_slice_group_ownership |
std::string | x_user_comment |
hash_algo | x_hash |
infinint | x_slice_min_digits |
bool | x_sequential_marks |
std::shared_ptr< entrepot > | x_entrepot |
U_I | x_multi_threaded_crypto |
U_I | x_multi_threaded_compress |
bool | x_delta_signature |
mask * | x_delta_mask |
bool | has_delta_mask_been_set |
infinint | x_delta_sig_min_size |
delta_sig_block_size | x_sig_block_len |
infinint | x_iteration_count |
hash_algo | x_kdf_hash |
bool | x_repair_mode |
class holding optional parameters used to isolate an existing archive
Definition at line 780 of file archive_options.hpp.
|
inlinenoexcept |
Definition at line 785 of file archive_options.hpp.
|
inline |
Definition at line 788 of file archive_options.hpp.
|
inline |
Definition at line 939 of file archive_options.hpp.
|
inline |
Definition at line 943 of file archive_options.hpp.
|
inline |
Definition at line 945 of file archive_options.hpp.
|
inline |
Definition at line 944 of file archive_options.hpp.
|
inline |
Definition at line 949 of file archive_options.hpp.
|
inline |
Definition at line 950 of file archive_options.hpp.
|
inline |
Definition at line 951 of file archive_options.hpp.
|
inline |
Definition at line 966 of file archive_options.hpp.
|
inline |
Definition at line 968 of file archive_options.hpp.
|
inline |
Definition at line 965 of file archive_options.hpp.
|
inline |
Definition at line 954 of file archive_options.hpp.
|
inline |
Definition at line 962 of file archive_options.hpp.
|
inline |
Definition at line 948 of file archive_options.hpp.
|
inline |
Definition at line 947 of file archive_options.hpp.
|
inline |
Definition at line 952 of file archive_options.hpp.
|
inline |
Definition at line 953 of file archive_options.hpp.
|
inline |
Definition at line 967 of file archive_options.hpp.
|
inline |
Definition at line 959 of file archive_options.hpp.
|
inline |
Definition at line 941 of file archive_options.hpp.
|
inline |
Definition at line 970 of file archive_options.hpp.
|
inline |
Definition at line 971 of file archive_options.hpp.
|
inline |
Definition at line 964 of file archive_options.hpp.
|
inline |
Definition at line 963 of file archive_options.hpp.
|
inline |
Definition at line 942 of file archive_options.hpp.
|
inline |
Definition at line 972 of file archive_options.hpp.
|
inline |
Definition at line 961 of file archive_options.hpp.
|
inline |
Definition at line 969 of file archive_options.hpp.
|
inline |
Definition at line 957 of file archive_options.hpp.
|
inline |
Definition at line 960 of file archive_options.hpp.
|
inline |
Definition at line 955 of file archive_options.hpp.
|
inline |
Definition at line 946 of file archive_options.hpp.
|
inline |
Definition at line 956 of file archive_options.hpp.
|
inline |
Definition at line 958 of file archive_options.hpp.
|
inline |
Definition at line 940 of file archive_options.hpp.
|
inlinenoexcept |
Definition at line 787 of file archive_options.hpp.
|
inline |
Definition at line 786 of file archive_options.hpp.
|
inline |
whether overwritting is allowed
Definition at line 797 of file archive_options.hpp.
|
inline |
the compression algorithm used
Definition at line 809 of file archive_options.hpp.
|
inline |
set the compression block size
Definition at line 816 of file archive_options.hpp.
|
inline |
the compression level (from 1 to 9)
Definition at line 812 of file archive_options.hpp.
|
inline |
cypher to use
Definition at line 846 of file archive_options.hpp.
|
inline |
password / passphrase to encrypt the data with (empty string for interactive question)
Definition at line 849 of file archive_options.hpp.
|
inline |
size of the encryption by block to use
Definition at line 852 of file archive_options.hpp.
void libdar::archive_options_isolate::set_delta_mask | ( | const mask & | delta_mask | ) |
whether to derogate from the current existing binary delta signatures and drop/recalculate for file that do not have delta signatures
|
inline |
whether to never calculate delta signature for files which size is smaller or equal to the given argument
Definition at line 921 of file archive_options.hpp.
|
inline |
whether signature to base binary delta on, has to be transfered from the source to the isolated catalogue and sotred beside saved files inode information
Definition at line 906 of file archive_options.hpp.
|
inline |
whether to make a dry-run operation
Definition at line 866 of file archive_options.hpp.
|
inline |
defines the protocol to use for slices
Definition at line 890 of file archive_options.hpp.
|
inline |
command to execute after each slice creation
several macros are available:
Definition at line 843 of file archive_options.hpp.
|
inline |
set the list of recipients that will be able to read the archive
Definition at line 858 of file archive_options.hpp.
|
inline |
the private keys matching the email of the provided list are used to sign the archive random key
Definition at line 863 of file archive_options.hpp.
|
inline |
whether the user needs detailed output of the operation
Definition at line 803 of file archive_options.hpp.
|
inline |
key derivation
Definition at line 927 of file archive_options.hpp.
|
inline |
hash algo used for key derivation
Definition at line 930 of file archive_options.hpp.
|
inline |
whether libdar is allowed to created several thread to work possibily faster on multicore CPU (require libthreadar)
Definition at line 896 of file archive_options.hpp.
|
inline |
how much thread libdar will use for compression (need libthreadar too and compression_block_size > 0)
Definition at line 902 of file archive_options.hpp.
|
inline |
how much thread libdar will use for cryptography (need libthreadar to be effective)
Definition at line 899 of file archive_options.hpp.
|
inline |
Pause beteween slices. Set to zero does not pause at all, set to 1 makes libdar pauses each slice, set to 2 makes libdar pause each 2 slices and so on.
Definition at line 806 of file archive_options.hpp.
|
inline |
repair mode making at most rebuild a catalog from a truncate or corrupted backup
Definition at line 934 of file archive_options.hpp.
|
inline |
whether to add escape sequence aka tape marks to allow sequential reading of the archive
Definition at line 887 of file archive_options.hpp.
|
inline |
block size to use to build delta signatures
Definition at line 924 of file archive_options.hpp.
References libdar::delta_sig_block_size::check().
|
inline |
if not an empty string set the group ownership of slices accordingly
Definition at line 875 of file archive_options.hpp.
|
inline |
defines the minimum digit a slice must have concerning its number, zeros will be prepended as much as necessary to respect this
Definition at line 884 of file archive_options.hpp.
|
inline |
if not an empty string set the slice permission according to the octal value given.
Definition at line 869 of file archive_options.hpp.
|
inline |
if not an empty string set the user ownership of slices accordingly
Definition at line 872 of file archive_options.hpp.
|
inline |
define the archive slicing
[in] | file_size | set the slice size in byte (0 for a single slice whatever its size is) |
[in] | first_file_size | set the first file size |
Definition at line 823 of file archive_options.hpp.
|
inline |
specify a user comment in the archive (always in clear text!)
Definition at line 878 of file archive_options.hpp.
|
inline |
whether a warning shall be issued before overwriting
Definition at line 800 of file archive_options.hpp.
|
private |
Definition at line 1003 of file archive_options.hpp.
|
private |
Definition at line 979 of file archive_options.hpp.
|
private |
Definition at line 975 of file archive_options.hpp.
|
private |
Definition at line 981 of file archive_options.hpp.
|
private |
Definition at line 980 of file archive_options.hpp.
|
private |
Definition at line 985 of file archive_options.hpp.
|
private |
Definition at line 987 of file archive_options.hpp.
|
private |
Definition at line 1002 of file archive_options.hpp.
|
private |
Definition at line 1004 of file archive_options.hpp.
|
private |
Definition at line 1001 of file archive_options.hpp.
|
private |
Definition at line 990 of file archive_options.hpp.
|
private |
Definition at line 998 of file archive_options.hpp.
|
private |
Definition at line 984 of file archive_options.hpp.
|
private |
Definition at line 982 of file archive_options.hpp.
|
private |
Definition at line 983 of file archive_options.hpp.
|
private |
Definition at line 988 of file archive_options.hpp.
|
private |
Definition at line 989 of file archive_options.hpp.
|
private |
Definition at line 995 of file archive_options.hpp.
|
private |
Definition at line 977 of file archive_options.hpp.
|
private |
Definition at line 1006 of file archive_options.hpp.
|
private |
Definition at line 1007 of file archive_options.hpp.
|
private |
Definition at line 1000 of file archive_options.hpp.
|
private |
Definition at line 999 of file archive_options.hpp.
|
private |
Definition at line 986 of file archive_options.hpp.
|
private |
Definition at line 978 of file archive_options.hpp.
|
private |
Definition at line 1008 of file archive_options.hpp.
|
private |
Definition at line 997 of file archive_options.hpp.
|
private |
Definition at line 1005 of file archive_options.hpp.
|
private |
Definition at line 993 of file archive_options.hpp.
|
private |
Definition at line 996 of file archive_options.hpp.
|
private |
Definition at line 991 of file archive_options.hpp.
|
private |
Definition at line 992 of file archive_options.hpp.
|
private |
Definition at line 994 of file archive_options.hpp.
|
private |
Definition at line 976 of file archive_options.hpp.