Skip to content

Commit 5ef22ab

Browse files
author
Pascal Dreissen
committed
Merge branch 'master' into 'applemooz_master'
Skip aps_packages folder for pre-update backup (useless) See merge request pdreissen/ispconfig3!43
2 parents 23e5f4b + 905ab80 commit 5ef22ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/update.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@
201201

202202
//* Do the backup
203203
swriteln('Creating backup of "/usr/local/ispconfig" directory...');
204-
exec("tar pcfz $backup_path/ispconfig_software.tar.gz /usr/local/ispconfig 2> /dev/null", $out, $returnvar);
204+
exec("tar pcfz $backup_path/ispconfig_software.tar.gz /usr/local/ispconfig --exclude=/usr/local/ispconfig/server/aps_packages 2> /dev/null", $out, $returnvar);
205205
if($returnvar != 0) die("Backup failed. We stop here...\n");
206206

207207
swriteln('Creating backup of "/etc" directory...');

0 commit comments

Comments
 (0)