Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/helper/Site_Backup_Restore.php
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ private function backup_nginx_conf( $backup_dir ) {

$conf_dir = EE_ROOT_DIR . '/sites/' . $this->site_data['site_url'] . '/config';
$backup_file = $backup_dir . '/conf.zip';
$backup_command = sprintf( 'cd %s && 7z a -snl -mx=1 %s nginx', $conf_dir, $backup_file );
$backup_command = sprintf( 'cd %s && 7z a -mx=1 %s nginx', $conf_dir, $backup_file );
Comment thread
mrrobot47 marked this conversation as resolved.

EE::exec( $backup_command );
}
Expand All @@ -400,7 +400,7 @@ private function backup_php_conf( $backup_dir ) {

$conf_dir = EE_ROOT_DIR . '/sites/' . $this->site_data['site_url'] . '/config';
$backup_file = $backup_dir . '/conf.zip';
$backup_command = sprintf( 'cd %s && 7z u -snl -mx=1 %s php', $conf_dir, $backup_file );
$backup_command = sprintf( 'cd %s && 7z u -mx=1 %s php', $conf_dir, $backup_file );

EE::exec( $backup_command );
}
Expand Down
Loading