Index: trunk/backup/worker.py |
— | — | @@ -191,7 +191,7 @@ |
192 | 192 | self.dbServer = self.defaultServer() |
193 | 193 | |
194 | 194 | def defaultServer(self): |
195 | | - command = "%s -q %s/maintenance/getSlaveServer.php %s --group=dump" % shellEscape(( |
| 195 | + command = "%s -q %s/maintenance/getSlaveServer.php --wiki=%s --group=dump" % shellEscape(( |
196 | 196 | self.config.php, self.config.wikiDir, self.dbName)) |
197 | 197 | return self.runAndReturn(command).strip() |
198 | 198 | |
— | — | @@ -641,7 +641,8 @@ |
642 | 642 | if exists(filename): |
643 | 643 | os.remove(filename) |
644 | 644 | command = """ |
645 | | -%s -q %s/maintenance/dumpBackup.php %s \ |
| 645 | +%s -q %s/maintenance/dumpBackup.php \ |
| 646 | + --wiki=%s \ |
646 | 647 | --full \ |
647 | 648 | --stub \ |
648 | 649 | --report=10000 \ |
— | — | @@ -720,7 +721,8 @@ |
721 | 722 | prefetch = None |
722 | 723 | |
723 | 724 | dumpCommand = """ |
724 | | -%s -q %s/maintenance/dumpTextPass.php %s \ |
| 725 | +%s -q %s/maintenance/dumpTextPass.php \ |
| 726 | + --wiki=%s \ |
725 | 727 | %s \ |
726 | 728 | %s \ |
727 | 729 | %s \ |
— | — | @@ -823,7 +825,8 @@ |
824 | 826 | |
825 | 827 | def run(self, runner): |
826 | 828 | command = """ |
827 | | -%s -q %s/maintenance/dumpBackup.php %s \ |
| 829 | +%s -q %s/maintenance/dumpBackup.php \ |
| 830 | + --wiki=%s \ |
828 | 831 | --plugin=AbstractFilter:%s/extensions/ActiveAbstract/AbstractFilter.php \ |
829 | 832 | --current \ |
830 | 833 | --report=1000 \ |