if (jcr->is_job_canceled()) {
return 1;
}
+ /* Old File Daemon doesn't handle restore objects */
+ if (jcr->FDVersion < 3) {
+ Jmsg(jcr, M_WARNING, 0, _("Client \"%s\" may not be used to restore "
+ "this job. Please upgrade your client.\n"),
+ jcr->client->name());
+ return 1;
+ }
+
fd->fsend("restoreobject JobId=%s %s,%s,%s,%s,%s,%s\n",
row[0], row[1], row[2], row[3], row[4], row[5], row[6]);
/*
Bacula® - The Network Backup Solution
- Copyright (C) 2000-2009 Free Software Foundation Europe e.V.
+ Copyright (C) 2000-2010 Free Software Foundation Europe e.V.
The main author of Bacula is Kern Sibbald, with contributions from
many others, a complete list can be found in the file AUTHORS.
*
* Kern Sibbald, October 2000
*
- * Version $Id$
- *
*/
#include "bacula.h"
* prior to 10Mar08 no version
* 1 10Mar08
* 2 13Mar09 - added the ability to restore from multiple storages
+ * 3 03Sep10 - added the restore object command for vss plugin
*/
-static char OK_hello[] = "2000 OK Hello 2\n";
+static char OK_hello[] = "2000 OK Hello 3\n";
static char Dir_sorry[] = "2999 Authentication failed.\n";
static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;