|
|
@ -24,9 +24,9 @@ function export_files { |
|
|
tar -C / -cf "$temp_dir/files.tar" etc/sympa/sympa/sympa.conf |
|
|
tar -C / -cf "$temp_dir/files.tar" etc/sympa/sympa/sympa.conf |
|
|
tar -C / -uf "$temp_dir/files.tar" etc/sympa/data_structure.version |
|
|
tar -C / -uf "$temp_dir/files.tar" etc/sympa/data_structure.version |
|
|
tar -C / -uf "$temp_dir/files.tar" etc/sympa/auth.conf |
|
|
tar -C / -uf "$temp_dir/files.tar" etc/sympa/auth.conf |
|
|
|
|
|
[[ -d /etc/dkimkeys ]] && tar -C / -uf "$temp_dir/files.tar" etc/dkimkeys/mail.{private,txt} |
|
|
tar -C / -uf "$temp_dir/files.tar" var/lib/sympa |
|
|
tar -C / -uf "$temp_dir/files.tar" var/lib/sympa |
|
|
tar -C / -uf "$temp_dir/files.tar" var/spool/sympa |
|
|
tar -C / -uf "$temp_dir/files.tar" var/spool/sympa |
|
|
[[ -d etc/dkimkeys ]] && tar -C / -uf "$temp_dir/files.tar" etc/dkimkeys/mail.{private,txt} |
|
|
|
|
|
gzip "$temp_dir/files.tar" |
|
|
gzip "$temp_dir/files.tar" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|