Disk ARchive 2.7.16
Full featured and portable backup and archiving tool
|
class holding optional parameters used to proceed to the merge operation More...
#include <archive_options.hpp>
Inherited by libdar5::archive_options_merge.
Public Member Functions | |
archive_options_merge (const archive_options_merge &ref) | |
archive_options_merge (archive_options_merge &&ref) noexcept | |
archive_options_merge & | operator= (const archive_options_merge &ref) |
archive_options_merge & | operator= (archive_options_merge &&ref) noexcept |
void | clear () |
void | set_auxiliary_ref (std::shared_ptr< archive > ref) |
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_allow_over (bool allow_over) |
defines whether overwritting is allowed or not More... | |
void | set_warn_over (bool warn_over) |
defines whether a warning shall be issued before overwriting More... | |
void | set_overwriting_rules (const crit_action &overwrite) |
policy to solve merging conflict | |
void | set_info_details (bool info_details) |
defines whether the user needs detailed output of the operation More... | |
void | set_display_treated (bool display_treated, bool only_dir) |
defines whether to show treated files More... | |
void | set_display_skipped (bool display_skipped) |
whether to display files that have been excluded by filters More... | |
void | set_pause (const infinint &pause) |
set a 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_empty_dir (bool empty_dir) |
defines whether we need to store ignored directories as empty More... | |
void | set_compression (compression compr_algo) |
set the compression algorithm to be used More... | |
void | set_compression_level (U_I compression_level) |
set the compression level (from 1 to 9) More... | |
void | set_compression_block_size (U_I compression_block_size) |
set the compression block size (0 for streamed compression) More... | |
void | set_slicing (const infinint &file_size, const infinint &first_file_size=0) |
define the archive slicing More... | |
void | set_ea_mask (const mask &ea_mask) |
defines which Extended Attributes to save | |
void | set_execute (const std::string &execute) |
set the command to execute after each slice creation More... | |
void | set_crypto_algo (crypto_algo crypto) |
set the cypher to use More... | |
void | set_crypto_pass (const secu_string &pass) |
void | set_crypto_size (U_32 crypto_size) |
set the 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_compr_mask (const mask &compr_mask) |
defines files to compress | |
void | set_min_compr_size (const infinint &min_compr_size) |
defines file size under which to never compress More... | |
void | set_empty (bool empty) |
defines whether we do a dry-run execution More... | |
void | set_keep_compressed (bool keep_compressed) |
make dar ignore the 'algo' argument and do not uncompress / compress files that are selected for merging 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_decremental_mode (bool mode) |
if set to true use a merging mode suitable to build a decremental backup from two full backups (see Notes) More... | |
void | set_sequential_marks (bool sequential) |
whether to activate escape sequence aka tape marks to allow sequential reading of the archive More... | |
void | set_sparse_file_min_size (const infinint &size) |
whether to try to detect sparse files 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_entrepot (const std::shared_ptr< entrepot > &entr) |
defines the protocol to use for slices More... | |
void | set_fsa_scope (const fsa_scope &scope) |
defines the FSA (Filesystem Specific Attribute) to only consider (by default all FSA are considered) More... | |
void | set_multi_threaded (bool val) |
whether libdar is allowed to spawn several threads to possibily work faster on multicore CPU (requires 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) |
void | set_delta_mask (const mask &delta_mask) |
whether to derogate to defaut delta file consideration while calculation delta signatures | |
void | set_delta_sig_min_size (const infinint &val) |
whether to never calculate delta signature for files which size is smaller or equal to the given argument 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_sig_block_len (delta_sig_block_size val) |
block size to use to build delta signatures More... | |
std::shared_ptr< archive > | get_auxiliary_ref () const |
const mask & | get_selection () const |
const mask & | get_subtree () const |
bool | get_allow_over () const |
bool | get_warn_over () const |
const crit_action & | get_overwriting_rules () const |
bool | get_info_details () const |
bool | get_display_treated () const |
bool | get_display_treated_only_dir () const |
bool | get_display_skipped () const |
const infinint & | get_pause () const |
bool | get_empty_dir () 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 mask & | get_ea_mask () 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 |
const mask & | get_compr_mask () const |
const infinint & | get_min_compr_size () const |
bool | get_empty () const |
bool | get_keep_compressed () const |
const std::string & | get_slice_permission () const |
const std::string & | get_slice_user_ownership () const |
const std::string & | get_slice_group_ownership () const |
bool | get_decremental_mode () const |
bool | get_sequential_marks () const |
infinint | get_sparse_file_min_size () const |
const std::string & | get_user_comment () const |
hash_algo | get_hash_algo () const |
infinint | get_slice_min_digits () const |
const std::shared_ptr< entrepot > & | get_entrepot () const |
const fsa_scope & | get_fsa_scope () 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 |
const infinint & | get_iteration_count () const |
hash_algo | get_kdf_hash () const |
delta_sig_block_size | get_sig_block_len () const |
Private Member Functions | |
void | destroy () noexcept |
void | copy_from (const archive_options_merge &ref) |
void | move_from (archive_options_merge &&ref) noexcept |
void | nullifyptr () noexcept |
class holding optional parameters used to proceed to the merge operation
Definition at line 988 of file archive_options.hpp.
|
inline |
Definition at line 992 of file archive_options.hpp.
|
inline |
Definition at line 993 of file archive_options.hpp.
|
inlinenoexcept |
Definition at line 994 of file archive_options.hpp.
|
inline |
Definition at line 997 of file archive_options.hpp.
|
inline |
Definition at line 1202 of file archive_options.hpp.
|
inline |
Definition at line 1199 of file archive_options.hpp.
|
inline |
Definition at line 1223 of file archive_options.hpp.
|
inline |
Definition at line 1211 of file archive_options.hpp.
|
inline |
Definition at line 1213 of file archive_options.hpp.
|
inline |
Definition at line 1212 of file archive_options.hpp.
|
inline |
Definition at line 1218 of file archive_options.hpp.
|
inline |
Definition at line 1219 of file archive_options.hpp.
|
inline |
Definition at line 1220 of file archive_options.hpp.
|
inline |
Definition at line 1230 of file archive_options.hpp.
|
inline |
Definition at line 1241 of file archive_options.hpp.
|
inline |
Definition at line 1243 of file archive_options.hpp.
|
inline |
Definition at line 1240 of file archive_options.hpp.
|
inline |
Definition at line 1208 of file archive_options.hpp.
|
inline |
Definition at line 1206 of file archive_options.hpp.
|
inline |
Definition at line 1207 of file archive_options.hpp.
|
inline |
Definition at line 1216 of file archive_options.hpp.
|
inline |
Definition at line 1225 of file archive_options.hpp.
|
inline |
Definition at line 1210 of file archive_options.hpp.
|
inline |
Definition at line 1236 of file archive_options.hpp.
|
inline |
Definition at line 1217 of file archive_options.hpp.
|
inline |
Definition at line 1215 of file archive_options.hpp.
|
inline |
Definition at line 1237 of file archive_options.hpp.
|
inline |
Definition at line 1221 of file archive_options.hpp.
|
inline |
Definition at line 1222 of file archive_options.hpp.
|
inline |
Definition at line 1242 of file archive_options.hpp.
|
inline |
Definition at line 1234 of file archive_options.hpp.
|
inline |
Definition at line 1205 of file archive_options.hpp.
|
inline |
Definition at line 1244 of file archive_options.hpp.
|
inline |
Definition at line 1245 of file archive_options.hpp.
|
inline |
Definition at line 1226 of file archive_options.hpp.
|
inline |
Definition at line 1224 of file archive_options.hpp.
|
inline |
Definition at line 1239 of file archive_options.hpp.
|
inline |
Definition at line 1238 of file archive_options.hpp.
|
inline |
Definition at line 1204 of file archive_options.hpp.
|
inline |
Definition at line 1209 of file archive_options.hpp.
|
inline |
Definition at line 1200 of file archive_options.hpp.
|
inline |
Definition at line 1231 of file archive_options.hpp.
|
inline |
Definition at line 1246 of file archive_options.hpp.
|
inline |
Definition at line 1229 of file archive_options.hpp.
|
inline |
Definition at line 1235 of file archive_options.hpp.
|
inline |
Definition at line 1227 of file archive_options.hpp.
|
inline |
Definition at line 1214 of file archive_options.hpp.
|
inline |
Definition at line 1228 of file archive_options.hpp.
|
inline |
Definition at line 1232 of file archive_options.hpp.
|
inline |
Definition at line 1201 of file archive_options.hpp.
|
inline |
Definition at line 1233 of file archive_options.hpp.
|
inline |
Definition at line 1203 of file archive_options.hpp.
|
inlinenoexcept |
Definition at line 996 of file archive_options.hpp.
|
inline |
Definition at line 995 of file archive_options.hpp.
|
inline |
defines whether overwritting is allowed or not
Definition at line 1023 of file archive_options.hpp.
|
inline |
Definition at line 1004 of file archive_options.hpp.
|
inline |
set the compression algorithm to be used
Definition at line 1055 of file archive_options.hpp.
|
inline |
set the compression block size (0 for streamed compression)
Definition at line 1061 of file archive_options.hpp.
|
inline |
set the compression level (from 1 to 9)
Definition at line 1058 of file archive_options.hpp.
|
inline |
set the cypher to use
Definition at line 1094 of file archive_options.hpp.
|
inline |
set the pass the password / passphrase to use. Giving an empty string makes the password asked interactively through the dialog argument if encryption has been set.
Definition at line 1098 of file archive_options.hpp.
|
inline |
set the size of the encryption by block to use
Definition at line 1101 of file archive_options.hpp.
|
inline |
if set to true use a merging mode suitable to build a decremental backup from two full backups (see Notes)
Definition at line 1136 of file archive_options.hpp.
|
inline |
whether to never calculate delta signature for files which size is smaller or equal to the given argument
Definition at line 1184 of file archive_options.hpp.
|
inline |
whether signature to base binary delta on the future has to be calculated and stored beside saved files
Definition at line 1176 of file archive_options.hpp.
|
inline |
whether to display files that have been excluded by filters
Definition at line 1046 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 1043 of file archive_options.hpp.
|
inline |
defines whether we do a dry-run execution
Definition at line 1121 of file archive_options.hpp.
|
inline |
defines whether we need to store ignored directories as empty
Definition at line 1052 of file archive_options.hpp.
|
inline |
defines the protocol to use for slices
Definition at line 1154 of file archive_options.hpp.
|
inline |
set the command to execute after each slice creation
several macros are available:
Definition at line 1091 of file archive_options.hpp.
|
inline |
defines the FSA (Filesystem Specific Attribute) to only consider (by default all FSA are considered)
Definition at line 1157 of file archive_options.hpp.
|
inline |
set the list of recipients that will be able to read the archive
Definition at line 1107 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 1112 of file archive_options.hpp.
|
inline |
defines whether the user needs detailed output of the operation
Definition at line 1037 of file archive_options.hpp.
|
inline |
key derivation
Definition at line 1187 of file archive_options.hpp.
|
inline |
hash algo used for key derivation
Definition at line 1190 of file archive_options.hpp.
|
inline |
make dar ignore the 'algo' argument and do not uncompress / compress files that are selected for merging
Definition at line 1124 of file archive_options.hpp.
|
inline |
defines file size under which to never compress
Definition at line 1118 of file archive_options.hpp.
|
inline |
whether libdar is allowed to spawn several threads to possibily work faster on multicore CPU (requires libthreadar)
Definition at line 1163 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 1169 of file archive_options.hpp.
|
inline |
how much thread libdar will use for cryptography (need libthreadar to be effective)
Definition at line 1166 of file archive_options.hpp.
|
inline |
set a 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 1049 of file archive_options.hpp.
|
inline |
whether to activate escape sequence aka tape marks to allow sequential reading of the archive
Definition at line 1139 of file archive_options.hpp.
|
inline |
block size to use to build delta signatures
Definition at line 1193 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 1133 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 1151 of file archive_options.hpp.
|
inline |
if not an empty string set the slice permission according to the octal value given.
Definition at line 1127 of file archive_options.hpp.
|
inline |
if not an empty string set the user ownership of slices accordingly
Definition at line 1130 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 1068 of file archive_options.hpp.
|
inline |
whether to try to detect sparse files
Definition at line 1142 of file archive_options.hpp.
void libdar::archive_options_merge::set_subtree | ( | const mask & | subtree | ) |
defines the directories and files to consider
|
inline |
specify a user comment in the archive (always in clear text!)
Definition at line 1145 of file archive_options.hpp.
|
inline |
defines whether a warning shall be issued before overwriting
Definition at line 1026 of file archive_options.hpp.
|
private |
Definition at line 1293 of file archive_options.hpp.
|
private |
Definition at line 1253 of file archive_options.hpp.
|
private |
Definition at line 1262 of file archive_options.hpp.
|
private |
Definition at line 1274 of file archive_options.hpp.
|
private |
Definition at line 1264 of file archive_options.hpp.
|
private |
Definition at line 1263 of file archive_options.hpp.
|
private |
Definition at line 1269 of file archive_options.hpp.
|
private |
Definition at line 1271 of file archive_options.hpp.
|
private |
Definition at line 1281 of file archive_options.hpp.
|
private |
Definition at line 1292 of file archive_options.hpp.
|
private |
Definition at line 1294 of file archive_options.hpp.
|
private |
Definition at line 1291 of file archive_options.hpp.
|
private |
Definition at line 1259 of file archive_options.hpp.
|
private |
Definition at line 1257 of file archive_options.hpp.
|
private |
Definition at line 1258 of file archive_options.hpp.
|
private |
Definition at line 1267 of file archive_options.hpp.
|
private |
Definition at line 1276 of file archive_options.hpp.
|
private |
Definition at line 1261 of file archive_options.hpp.
|
private |
Definition at line 1287 of file archive_options.hpp.
|
private |
Definition at line 1268 of file archive_options.hpp.
|
private |
Definition at line 1265 of file archive_options.hpp.
|
private |
Definition at line 1266 of file archive_options.hpp.
|
private |
Definition at line 1272 of file archive_options.hpp.
|
private |
Definition at line 1273 of file archive_options.hpp.
|
private |
Definition at line 1285 of file archive_options.hpp.
|
private |
Definition at line 1256 of file archive_options.hpp.
|
private |
Definition at line 1295 of file archive_options.hpp.
|
private |
Definition at line 1296 of file archive_options.hpp.
|
private |
Definition at line 1277 of file archive_options.hpp.
|
private |
Definition at line 1275 of file archive_options.hpp.
|
private |
Definition at line 1290 of file archive_options.hpp.
|
private |
Definition at line 1289 of file archive_options.hpp.
|
private |
Definition at line 1255 of file archive_options.hpp.
|
private |
Definition at line 1270 of file archive_options.hpp.
|
private |
Definition at line 1260 of file archive_options.hpp.
|
private |
Definition at line 1250 of file archive_options.hpp.
|
private |
Definition at line 1288 of file archive_options.hpp.
|
private |
Definition at line 1251 of file archive_options.hpp.
|
private |
Definition at line 1282 of file archive_options.hpp.
|
private |
Definition at line 1297 of file archive_options.hpp.
|
private |
Definition at line 1280 of file archive_options.hpp.
|
private |
Definition at line 1286 of file archive_options.hpp.
|
private |
Definition at line 1278 of file archive_options.hpp.
|
private |
Definition at line 1279 of file archive_options.hpp.
|
private |
Definition at line 1283 of file archive_options.hpp.
|
private |
Definition at line 1252 of file archive_options.hpp.
|
private |
Definition at line 1284 of file archive_options.hpp.
|
private |
Definition at line 1254 of file archive_options.hpp.