Exemple #1
0
 def __init__(self, restore_path, compression_algo, is_windows, tar_path=None):
     self.dry_run = False
     self.is_windows = False
     self.openssl_path = None
     self.encrypt_pass_file = None
     self.tar_path = tar_path or utils.tar_path()
     self.restore_path = restore_path
     self.compression_algo = get_tar_flag_from_algo(compression_algo)
     self.is_windows = is_windows
 def __init__(self, filepath, compression_algo, is_windows, tar_path=None):
     self.tar_path = tar_path or utils.tar_path()
     self.dereference = ''
     self.listed_incremental = None
     self.exclude = ''
     self.openssl_path = None
     self.encrypt_pass_file = None
     self.output_file = None
     self.filepath = filepath
     self.compression_algo = get_tar_flag_from_algo(compression_algo)
     self.is_windows = is_windows