File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 94
94
"enabled" : 1
95
95
},
96
96
"items" : [ ##List of directories, wildcards are okay
97
- "/data/domains", ##All domain files
97
+ "/data/domains", ##All domain files, except demo sites
98
98
"/data/WebGUI", ##All of WebGUI, including etc and sbin
99
- "/data/ backup/*.sql", ##All database dumps
99
+ "/backup/*.sql", ##All database dumps
100
100
"/data/wre/etc" ##All WRE configuration files
101
+ #"/data/wre/etc" ##The whole WRE with binaries
101
102
],
102
103
"externalScripts" : [],
103
104
"rsync" : {
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ sub backupFiles {
86
86
my $backupDir = $config -> get(" backup/path" );
87
87
foreach my $path (@{ $paths }) {
88
88
say " rsyncing $path locally..." ;
89
- system (q ! nice rsync -av --exclude=logs --exclude="domains/demo*" --exclude=mysqldata $path $backupDir/backup! );
89
+ system (qq ! nice rsync -av --exclude=logs --exclude="domains/demo*" --exclude=mysqldata $path $backupDir /backup! );
90
90
}
91
91
}
92
92
You can’t perform that action at this time.
0 commit comments