1
0
mirror of https://github.com/php/systems.git synced 2026-03-23 23:32:12 +01:00
This commit is contained in:
Hannes Magnusson
2014-02-05 12:13:30 -08:00
parent 615a90eed0
commit 852eb2b944
2 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ nice -n 15 mysqldump --quote-names --quick phpbugsdb > $dir/phpbugs.sql
#
# Patches in the bug tracker
#
cp -r /home/www/bugs.php.net/uploads $basedir/$dir/php-bug-patches/
cp -r /srv/bugs.php.net/uploads $basedir/$dir/php-bug-patches/
#
# Compress the whole stuff in a gzipped tar archive

View File

@@ -1,8 +1,8 @@
#!/bin/sh
rsync -aC --delete --delete-after --exclude=logs --exclude=uploads --exclude=local_config.php \
rsync.php.net::php-bugs-web /home/www/bugs.php.net
chown -R www-data.www-data /home/www/bugs.php.net
rsync.php.net::php-bugs-web /srv/bugs.php.net
chown -R www-data.www-data /srv/bugs.php.net
# update the mysql config file
rsync -az /local/systems/bugs.php.net/additional.mysql.cnf /etc/mysql/conf.d/additional.mysql.cnf