Commit 40fd6cab authored by Jorge Muñoz's avatar Jorge Muñoz
Browse files

Add backup format borg

parent 36cdb858
Pipeline #9082 passed with stage
...@@ -670,6 +670,7 @@ if ($backup_available) { ...@@ -670,6 +670,7 @@ if ($backup_available) {
} }
} else { } else {
$compressors_list = array( $compressors_list = array(
'borg',
'gzip', 'gzip',
'gunzip', 'gunzip',
'zip', 'zip',
...@@ -730,6 +731,7 @@ if ($backup_available) { ...@@ -730,6 +731,7 @@ if ($backup_available) {
'default' => '', 'default' => '',
'value' => array( 'value' => array(
'default' => 'backup_format_default_txt', 'default' => 'backup_format_default_txt',
'borg' => 'backup_format_borg_txt',
'zip' => 'backup_format_zip_txt', 'zip' => 'backup_format_zip_txt',
'zip_bzip2' => 'backup_format_zip_bzip2_txt', 'zip_bzip2' => 'backup_format_zip_bzip2_txt',
'tar_gzip' => 'backup_format_tar_gzip_txt', 'tar_gzip' => 'backup_format_tar_gzip_txt',
...@@ -747,6 +749,7 @@ if ($backup_available) { ...@@ -747,6 +749,7 @@ if ($backup_available) {
'formtype' => 'SELECT', 'formtype' => 'SELECT',
'default' => '', 'default' => '',
'value' => array( 'value' => array(
'borg' => 'backup_format_borg_txt',
'zip' => 'backup_format_zip_txt', 'zip' => 'backup_format_zip_txt',
'zip_bzip2' => 'backup_format_zip_bzip2_txt', 'zip_bzip2' => 'backup_format_zip_bzip2_txt',
'gzip' => 'backup_format_gzip_txt', 'gzip' => 'backup_format_gzip_txt',
......
...@@ -33,6 +33,7 @@ $wb['make_backup_confirm_txt'] = 'You are about to start a manual backup process ...@@ -33,6 +33,7 @@ $wb['make_backup_confirm_txt'] = 'You are about to start a manual backup process
$wb['yes_txt'] = 'Yes'; $wb['yes_txt'] = 'Yes';
$wb['no_txt'] = 'No'; $wb['no_txt'] = 'No';
$wb['backup_is_encrypted_txt'] = 'Encrypted'; $wb['backup_is_encrypted_txt'] = 'Encrypted';
$wb['backup_format_borg_txt'] = 'BORG (zlib)';
$wb['backup_format_zip_txt'] = 'zip (deflate)'; $wb['backup_format_zip_txt'] = 'zip (deflate)';
$wb['backup_format_gzip_txt'] = 'gzip'; $wb['backup_format_gzip_txt'] = 'gzip';
$wb['backup_format_bzip2_txt'] = 'bzip2'; $wb['backup_format_bzip2_txt'] = 'bzip2';
......
...@@ -169,6 +169,7 @@ $wb['backup_encryption_options_txt'] = 'Encryption options'; ...@@ -169,6 +169,7 @@ $wb['backup_encryption_options_txt'] = 'Encryption options';
$wb['backup_enable_encryption_txt'] = 'Enable encryption'; $wb['backup_enable_encryption_txt'] = 'Enable encryption';
$wb['backup_password_txt'] = 'Password'; $wb['backup_password_txt'] = 'Password';
$wb['backup_format_default_txt'] = 'Default: zip (deflate) or tar (gzip)'; $wb['backup_format_default_txt'] = 'Default: zip (deflate) or tar (gzip)';
$wb['backup_format_borg_txt'] = 'BORG (zlib)';
$wb['backup_format_zip_txt'] = 'zip (deflate)'; $wb['backup_format_zip_txt'] = 'zip (deflate)';
$wb['backup_format_gzip_txt'] = 'gzip'; $wb['backup_format_gzip_txt'] = 'gzip';
$wb['backup_format_bzip2_txt'] = 'bzip2'; $wb['backup_format_bzip2_txt'] = 'bzip2';
......
...@@ -33,6 +33,7 @@ $wb['make_backup_confirm_txt'] = 'You are about to start a manual backup process ...@@ -33,6 +33,7 @@ $wb['make_backup_confirm_txt'] = 'You are about to start a manual backup process
$wb['yes_txt'] = 'Yes'; $wb['yes_txt'] = 'Yes';
$wb['no_txt'] = 'No'; $wb['no_txt'] = 'No';
$wb['backup_is_encrypted_txt'] = 'Encrypted'; $wb['backup_is_encrypted_txt'] = 'Encrypted';
$wb['backup_format_borg_txt'] = 'BORG (zlib)';
$wb['backup_format_zip_txt'] = 'zip (deflate)'; $wb['backup_format_zip_txt'] = 'zip (deflate)';
$wb['backup_format_gzip_txt'] = 'gzip'; $wb['backup_format_gzip_txt'] = 'gzip';
$wb['backup_format_bzip2_txt'] = 'bzip2'; $wb['backup_format_bzip2_txt'] = 'bzip2';
......
...@@ -169,6 +169,7 @@ $wb['backup_encryption_options_txt'] = 'Encryption options'; ...@@ -169,6 +169,7 @@ $wb['backup_encryption_options_txt'] = 'Encryption options';
$wb['backup_enable_encryption_txt'] = 'Enable encryption'; $wb['backup_enable_encryption_txt'] = 'Enable encryption';
$wb['backup_password_txt'] = 'Password'; $wb['backup_password_txt'] = 'Password';
$wb['backup_format_default_txt'] = 'Default: zip (deflate) or tar (gzip)'; $wb['backup_format_default_txt'] = 'Default: zip (deflate) or tar (gzip)';
$wb['backup_format_borg_txt'] = 'BORG (zlib)';
$wb['backup_format_zip_txt'] = 'zip (deflate)'; $wb['backup_format_zip_txt'] = 'zip (deflate)';
$wb['backup_format_gzip_txt'] = 'gzip'; $wb['backup_format_gzip_txt'] = 'gzip';
$wb['backup_format_bzip2_txt'] = 'bzip2'; $wb['backup_format_bzip2_txt'] = 'bzip2';
......
...@@ -33,6 +33,7 @@ $wb['make_backup_confirm_txt'] = 'Você está prestes a iniciar um processo de b ...@@ -33,6 +33,7 @@ $wb['make_backup_confirm_txt'] = 'Você está prestes a iniciar um processo de b
$wb['yes_txt'] = 'Sim'; $wb['yes_txt'] = 'Sim';
$wb['no_txt'] = 'Não'; $wb['no_txt'] = 'Não';
$wb['backup_is_encrypted_txt'] = 'Criptografado'; $wb['backup_is_encrypted_txt'] = 'Criptografado';
$wb['backup_format_borg_txt'] = 'BORG (zlib)';
$wb['backup_format_zip_txt'] = 'zip (esvaziar)'; $wb['backup_format_zip_txt'] = 'zip (esvaziar)';
$wb['backup_format_gzip_txt'] = 'gzip'; $wb['backup_format_gzip_txt'] = 'gzip';
$wb['backup_format_bzip2_txt'] = 'bzip2'; $wb['backup_format_bzip2_txt'] = 'bzip2';
......
...@@ -169,6 +169,7 @@ $wb['backup_encryption_options_txt'] = 'Opçoes de criptgrafia'; ...@@ -169,6 +169,7 @@ $wb['backup_encryption_options_txt'] = 'Opçoes de criptgrafia';
$wb['backup_enable_encryption_txt'] = 'Habilitar criptografia'; $wb['backup_enable_encryption_txt'] = 'Habilitar criptografia';
$wb['backup_password_txt'] = 'Senha'; $wb['backup_password_txt'] = 'Senha';
$wb['backup_format_default_txt'] = 'Padrão: zip (esvaziar) ou tar (gzip)'; $wb['backup_format_default_txt'] = 'Padrão: zip (esvaziar) ou tar (gzip)';
$wb['backup_format_borg_txt'] = 'BORG (zlib)';
$wb['backup_format_zip_txt'] = 'zip (esvaziar)'; $wb['backup_format_zip_txt'] = 'zip (esvaziar)';
$wb['backup_format_gzip_txt'] = 'gzip'; $wb['backup_format_gzip_txt'] = 'gzip';
$wb['backup_format_bzip2_txt'] = 'bzip2'; $wb['backup_format_bzip2_txt'] = 'bzip2';
......
...@@ -33,6 +33,7 @@ $wb['make_backup_confirm_txt'] = 'You are about to start a manual backup process ...@@ -33,6 +33,7 @@ $wb['make_backup_confirm_txt'] = 'You are about to start a manual backup process
$wb['yes_txt'] = 'Yes'; $wb['yes_txt'] = 'Yes';
$wb['no_txt'] = 'No'; $wb['no_txt'] = 'No';
$wb['backup_is_encrypted_txt'] = 'Encrypted'; $wb['backup_is_encrypted_txt'] = 'Encrypted';
$wb['backup_format_borg_txt'] = 'BORG (zlib)';
$wb['backup_format_zip_txt'] = 'zip (deflate)'; $wb['backup_format_zip_txt'] = 'zip (deflate)';
$wb['backup_format_gzip_txt'] = 'gzip'; $wb['backup_format_gzip_txt'] = 'gzip';
$wb['backup_format_bzip2_txt'] = 'bzip2'; $wb['backup_format_bzip2_txt'] = 'bzip2';
......
...@@ -169,6 +169,7 @@ $wb['backup_encryption_options_txt'] = 'Encryption options'; ...@@ -169,6 +169,7 @@ $wb['backup_encryption_options_txt'] = 'Encryption options';
$wb['backup_enable_encryption_txt'] = 'Enable encryption'; $wb['backup_enable_encryption_txt'] = 'Enable encryption';
$wb['backup_password_txt'] = 'Password'; $wb['backup_password_txt'] = 'Password';
$wb['backup_format_default_txt'] = 'Default: zip (deflate) or tar (gzip)'; $wb['backup_format_default_txt'] = 'Default: zip (deflate) or tar (gzip)';
$wb['backup_format_borg_txt'] = 'BORG (zlib)';
$wb['backup_format_zip_txt'] = 'zip (deflate)'; $wb['backup_format_zip_txt'] = 'zip (deflate)';
$wb['backup_format_gzip_txt'] = 'gzip'; $wb['backup_format_gzip_txt'] = 'gzip';
$wb['backup_format_bzip2_txt'] = 'bzip2'; $wb['backup_format_bzip2_txt'] = 'bzip2';
......
...@@ -33,6 +33,7 @@ $wb['make_backup_confirm_txt'] = 'Chystáte se zahájit proces ručního záloho ...@@ -33,6 +33,7 @@ $wb['make_backup_confirm_txt'] = 'Chystáte se zahájit proces ručního záloho
$wb['yes_txt'] = 'Ano'; $wb['yes_txt'] = 'Ano';
$wb['no_txt'] = 'Ne'; $wb['no_txt'] = 'Ne';
$wb['backup_is_encrypted_txt'] = 'Šifrované'; $wb['backup_is_encrypted_txt'] = 'Šifrované';
$wb['backup_format_borg_txt'] = 'BORG (zlib)';
$wb['backup_format_zip_txt'] = 'zip (deflate)'; $wb['backup_format_zip_txt'] = 'zip (deflate)';
$wb['backup_format_gzip_txt'] = 'gzip'; $wb['backup_format_gzip_txt'] = 'gzip';
$wb['backup_format_bzip2_txt'] = 'bzip2'; $wb['backup_format_bzip2_txt'] = 'bzip2';
......
...@@ -169,6 +169,7 @@ $wb['backup_encryption_options_txt'] = 'Možnosti šifrování'; ...@@ -169,6 +169,7 @@ $wb['backup_encryption_options_txt'] = 'Možnosti šifrování';
$wb['backup_enable_encryption_txt'] = 'Povolit šifrování'; $wb['backup_enable_encryption_txt'] = 'Povolit šifrování';
$wb['backup_password_txt'] = 'Heslo'; $wb['backup_password_txt'] = 'Heslo';
$wb['backup_format_default_txt'] = 'Default: zip (deflate) or tar (gzip)'; $wb['backup_format_default_txt'] = 'Default: zip (deflate) or tar (gzip)';
$wb['backup_format_borg_txt'] = 'BORG (zlib)';
$wb['backup_format_zip_txt'] = 'zip (deflate)'; $wb['backup_format_zip_txt'] = 'zip (deflate)';
$wb['backup_format_gzip_txt'] = 'gzip'; $wb['backup_format_gzip_txt'] = 'gzip';
$wb['backup_format_bzip2_txt'] = 'bzip2'; $wb['backup_format_bzip2_txt'] = 'bzip2';
......
...@@ -33,6 +33,7 @@ $wb['make_backup_confirm_txt'] = 'You are about to start a manual backup process ...@@ -33,6 +33,7 @@ $wb['make_backup_confirm_txt'] = 'You are about to start a manual backup process
$wb['yes_txt'] = 'Yes'; $wb['yes_txt'] = 'Yes';
$wb['no_txt'] = 'No'; $wb['no_txt'] = 'No';
$wb['backup_is_encrypted_txt'] = 'Encrypted'; $wb['backup_is_encrypted_txt'] = 'Encrypted';
$wb['backup_format_borg_txt'] = 'BORG (zlib)';
$wb['backup_format_zip_txt'] = 'zip (deflate)'; $wb['backup_format_zip_txt'] = 'zip (deflate)';
$wb['backup_format_gzip_txt'] = 'gzip'; $wb['backup_format_gzip_txt'] = 'gzip';
$wb['backup_format_bzip2_txt'] = 'bzip2'; $wb['backup_format_bzip2_txt'] = 'bzip2';
......
...@@ -169,6 +169,7 @@ $wb['backup_encryption_options_txt'] = 'Encryption options'; ...@@ -169,6 +169,7 @@ $wb['backup_encryption_options_txt'] = 'Encryption options';
$wb['backup_enable_encryption_txt'] = 'Enable encryption'; $wb['backup_enable_encryption_txt'] = 'Enable encryption';
$wb['backup_password_txt'] = 'Password'; $wb['backup_password_txt'] = 'Password';
$wb['backup_format_default_txt'] = 'Default: zip (deflate) or tar (gzip)'; $wb['backup_format_default_txt'] = 'Default: zip (deflate) or tar (gzip)';
$wb['backup_format_borg_txt'] = 'BORG (zlib)';
$wb['backup_format_zip_txt'] = 'zip (deflate)'; $wb['backup_format_zip_txt'] = 'zip (deflate)';
$wb['backup_format_gzip_txt'] = 'gzip'; $wb['backup_format_gzip_txt'] = 'gzip';
$wb['backup_format_bzip2_txt'] = 'bzip2'; $wb['backup_format_bzip2_txt'] = 'bzip2';
......
...@@ -33,6 +33,7 @@ $wb['make_backup_confirm_txt'] = 'You are about to start a manual backup process ...@@ -33,6 +33,7 @@ $wb['make_backup_confirm_txt'] = 'You are about to start a manual backup process
$wb['yes_txt'] = 'Yes'; $wb['yes_txt'] = 'Yes';
$wb['no_txt'] = 'No'; $wb['no_txt'] = 'No';
$wb['backup_is_encrypted_txt'] = 'Encrypted'; $wb['backup_is_encrypted_txt'] = 'Encrypted';
$wb['backup_format_borg_txt'] = 'BORG (zlib)';
$wb['backup_format_zip_txt'] = 'zip (deflate)'; $wb['backup_format_zip_txt'] = 'zip (deflate)';
$wb['backup_format_gzip_txt'] = 'gzip'; $wb['backup_format_gzip_txt'] = 'gzip';
$wb['backup_format_bzip2_txt'] = 'bzip2'; $wb['backup_format_bzip2_txt'] = 'bzip2';
......
...@@ -169,6 +169,7 @@ $wb['backup_encryption_options_txt'] = 'Encryption options'; ...@@ -169,6 +169,7 @@ $wb['backup_encryption_options_txt'] = 'Encryption options';
$wb['backup_enable_encryption_txt'] = 'Enable encryption'; $wb['backup_enable_encryption_txt'] = 'Enable encryption';
$wb['backup_password_txt'] = 'Password'; $wb['backup_password_txt'] = 'Password';
$wb['backup_format_default_txt'] = 'Default: zip (deflate) or tar (gzip)'; $wb['backup_format_default_txt'] = 'Default: zip (deflate) or tar (gzip)';
$wb['backup_format_borg_txt'] = 'BORG (zlib)';
$wb['backup_format_zip_txt'] = 'zip (deflate)'; $wb['backup_format_zip_txt'] = 'zip (deflate)';
$wb['backup_format_gzip_txt'] = 'gzip'; $wb['backup_format_gzip_txt'] = 'gzip';
$wb['backup_format_bzip2_txt'] = 'bzip2'; $wb['backup_format_bzip2_txt'] = 'bzip2';
......
...@@ -33,6 +33,7 @@ $wb['make_backup_confirm_txt'] = 'You are about to start a manual backup process ...@@ -33,6 +33,7 @@ $wb['make_backup_confirm_txt'] = 'You are about to start a manual backup process
$wb['yes_txt'] = 'Yes'; $wb['yes_txt'] = 'Yes';
$wb['no_txt'] = 'No'; $wb['no_txt'] = 'No';
$wb['backup_is_encrypted_txt'] = 'Encrypted'; $wb['backup_is_encrypted_txt'] = 'Encrypted';
$wb['backup_format_borg_txt'] = 'BORG (zlib)';
$wb['backup_format_zip_txt'] = 'zip (deflate)'; $wb['backup_format_zip_txt'] = 'zip (deflate)';
$wb['backup_format_gzip_txt'] = 'gzip'; $wb['backup_format_gzip_txt'] = 'gzip';
$wb['backup_format_bzip2_txt'] = 'bzip2'; $wb['backup_format_bzip2_txt'] = 'bzip2';
......
...@@ -169,6 +169,7 @@ $wb['backup_encryption_options_txt'] = 'Encryption options'; ...@@ -169,6 +169,7 @@ $wb['backup_encryption_options_txt'] = 'Encryption options';
$wb['backup_enable_encryption_txt'] = 'Enable encryption'; $wb['backup_enable_encryption_txt'] = 'Enable encryption';
$wb['backup_password_txt'] = 'Password'; $wb['backup_password_txt'] = 'Password';
$wb['backup_format_default_txt'] = 'Default: zip (deflate) or tar (gzip)'; $wb['backup_format_default_txt'] = 'Default: zip (deflate) or tar (gzip)';
$wb['backup_format_borg_txt'] = 'BORG (zlib)';
$wb['backup_format_zip_txt'] = 'zip (deflate)'; $wb['backup_format_zip_txt'] = 'zip (deflate)';
$wb['backup_format_gzip_txt'] = 'gzip'; $wb['backup_format_gzip_txt'] = 'gzip';
$wb['backup_format_bzip2_txt'] = 'bzip2'; $wb['backup_format_bzip2_txt'] = 'bzip2';
......
...@@ -33,6 +33,7 @@ $wb['make_backup_confirm_txt'] = 'You are about to start a manual backup process ...@@ -33,6 +33,7 @@ $wb['make_backup_confirm_txt'] = 'You are about to start a manual backup process
$wb['yes_txt'] = 'Yes'; $wb['yes_txt'] = 'Yes';
$wb['no_txt'] = 'No'; $wb['no_txt'] = 'No';
$wb['backup_is_encrypted_txt'] = 'Encrypted'; $wb['backup_is_encrypted_txt'] = 'Encrypted';
$wb['backup_format_borg_txt'] = 'BORG (zlib)';
$wb['backup_format_zip_txt'] = 'zip (deflate)'; $wb['backup_format_zip_txt'] = 'zip (deflate)';
$wb['backup_format_gzip_txt'] = 'gzip'; $wb['backup_format_gzip_txt'] = 'gzip';
$wb['backup_format_bzip2_txt'] = 'bzip2'; $wb['backup_format_bzip2_txt'] = 'bzip2';
......
...@@ -175,6 +175,7 @@ $wb['backup_encryption_options_txt'] = 'Encryption options'; ...@@ -175,6 +175,7 @@ $wb['backup_encryption_options_txt'] = 'Encryption options';
$wb['backup_enable_encryption_txt'] = 'Enable encryption'; $wb['backup_enable_encryption_txt'] = 'Enable encryption';
$wb['backup_password_txt'] = 'Password'; $wb['backup_password_txt'] = 'Password';
$wb['backup_format_default_txt'] = 'Default: zip (deflate) or tar (gzip)'; $wb['backup_format_default_txt'] = 'Default: zip (deflate) or tar (gzip)';
$wb['backup_format_borg_txt'] = 'BORG (zlib)';
$wb['backup_format_zip_txt'] = 'zip (deflate)'; $wb['backup_format_zip_txt'] = 'zip (deflate)';
$wb['backup_format_gzip_txt'] = 'gzip'; $wb['backup_format_gzip_txt'] = 'gzip';
$wb['backup_format_bzip2_txt'] = 'bzip2'; $wb['backup_format_bzip2_txt'] = 'bzip2';
......
...@@ -33,6 +33,7 @@ $wb['make_backup_confirm_txt'] = 'You are about to start a manual backup process ...@@ -33,6 +33,7 @@ $wb['make_backup_confirm_txt'] = 'You are about to start a manual backup process
$wb['yes_txt'] = 'Yes'; $wb['yes_txt'] = 'Yes';
$wb['no_txt'] = 'No'; $wb['no_txt'] = 'No';
$wb['backup_is_encrypted_txt'] = 'Encrypted'; $wb['backup_is_encrypted_txt'] = 'Encrypted';
$wb['backup_format_borg_txt'] = 'BORG (zlib)';
$wb['backup_format_zip_txt'] = 'zip (deflate)'; $wb['backup_format_zip_txt'] = 'zip (deflate)';
$wb['backup_format_gzip_txt'] = 'gzip'; $wb['backup_format_gzip_txt'] = 'gzip';
$wb['backup_format_bzip2_txt'] = 'bzip2'; $wb['backup_format_bzip2_txt'] = 'bzip2';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment