Incidentally, the --restore option causes an error, that is, when I typed
./pulse start --restore
I got the following:
[2/13/10 4:03:27 AM GMT] Using config file '/root/.pulse2/config.properties'.
[2/13/10 4:03:27 AM GMT] Using data path '/local/home/eng/.pulse2'.
[2/13/10 4:03:41 AM GMT] Using external database 'jdbc:
mysql://localhost:3306/pulse2?autoReconnect=true'.
[2/13/10 4:03:41 AM GMT] Restoring from archive file: /usr/local/pulse2.0.28/bin/--
Feb 13, 2010 4:03:41 AM com.zutubi.pulse.master.bootstrap.DefaultSetupManager handleRestorationProcess
SEVERE: Restore preparation failed: Unexpected archive file: /usr/local/pulse2.0.28/bin/--, skipping restoration.
com.zutubi.pulse.master.restore.ArchiveException: Unexpected archive file: /usr/local/pulse2.0.28/bin/--
at com.zutubi.pulse.master.restore.ArchiveFactory.importArchive(ArchiveFactory.java:116)
at com.zutubi.pulse.master.restore.DefaultRestoreManager.prepareRestore(DefaultRestoreManager.java:65)
at com.zutubi.pulse.master.bootstrap.DefaultSetupManager.handleRestorationProcess(DefaultSetupManager.java:710)
at com.zutubi.pulse.master.bootstrap.DefaultSetupManager.requestDbComplete(DefaultSetupManager.java:306)
at com.zutubi.pulse.master.bootstrap.DefaultSetupManager.handleDbMigration(DefaultSetupManager.java:262)
at com.zutubi.pulse.master.bootstrap.DefaultSetupManager.handleDbSetup(DefaultSetupManager.java:245)
at com.zutubi.pulse.master.bootstrap.DefaultSetupManager.requestDataComplete(DefaultSetupManager.java:207)
at com.zutubi.pulse.master.bootstrap.DefaultSetupManager.startSetupWorkflow(DefaultSetupManager.java:131)
at com.zutubi.pulse.master.bootstrap.tasks.ProcessSetupStartupTask.run(ProcessSetupStartupTask.java:60)
at com.zutubi.pulse.master.security.PulseThreadFactory$DelegatingRunnable.run(PulseThreadFactory.java:33)
at java.lang.Thread.run(Thread.java:619)
[2/13/10 4:03:42 AM GMT] Checking license...
[2/13/10 4:03:42 AM GMT] License accepted.
... and no restore occurred. It took me awhile to figure out that it didn't like the "--restore"; it works fine with the short option, though.