Hi all, I use a Ubuntu server, running Amanda 2.5.2p1 (yes, I know it's *really* old...) to back up a number of Linux machines as well as a Windows 2008R2 server. The latter has ZWC 3.3 installed, which works just nicely.
I have two applications with data bases (living on two different drives) on the
Windows server. Of course, the data base services should be stopped before the
backup, and re-started afterwards...
I ran into the "template" feature of ZWC and created the following one:
---8<-------------------------------------------------------------------------
<DLE_Template>
<DLE_NAME>MyDatabases</DLE_NAME>
<DLE_TYPE>USER-DEFINED</DLE_TYPE>
<FILE_LIST>
<FILE_NAME>C:\Program Files (x86)\Application 1</FILE_NAME>
<FILE_NAME>D:\Shares\Application 2</FILE_NAME>
</FILE_LIST>
<PRE_BACKUP_SCRIPT>C:\_Script\db-serv.bat stop</PRE_BACKUP_SCRIPT>
<POST_BACKUP_SCRIPT>C:\_Script\db-serv.bat start</POST_BACKUP_SCRIPT>
</DLE_Template>
---8<-------------------------------------------------------------------------
and in the disklist file on the server I added
---8<-------------------------------------------------------------------------
win-server MyDatabases zwc-compress
---8<-------------------------------------------------------------------------
While amcheck succeeds, the dump always fails with error 278:
---8<-------------------------------------------------------------------------
win-server MyDatabases lev 0 FAILED [return error code 278]
win-server MyDatabases lev 0 FAILED [dumper returned FAILED]
---8<-------------------------------------------------------------------------
The ZWC log files on the Windows box do not contain *anything* about
MyDatabases, but I found the following in amdump.1 on the server:
---8<-------------------------------------------------------------------------
driver: started chunker0 pid 4583
driver: send-cmd time 36121.837 to chunker0: START 20140121
driver: send-cmd time 36121.837 to chunker0: PORT-WRITE 01-00013
/tmp2/amanda/20140121003950/win-server.MyDatabases.0 win-server
ff7fffff9cfeffffd3cf13 MyDatabases 0 1970:1:1:0:0:0 4194304 DUMP 422496
|;auth=bsdtcp;compress-fast;index;
chunker: pid 4583 executable chunker0 version 2.5.2p1
driver: result time 36121.841 from chunker0: PORT 50030
driver: send-cmd time 36121.841 to dumper0: PORT-DUMP 01-00013 50030 win-server
ff7fffff9cfeffffd3cf13 MyDatabases NODEVICE 0 1970:1:1:0:0:0 DUMP X X X
|;auth=bsdtcp;compress-fast;index;
send request:
----
SERVICE sendbackup
OPTIONS features=ffffffff9ffeffffffff00;hostname=win-server;config=Backup;
DUMP MyDatabases 0 1970:1:1:0:0:0 OPTIONS |;auth=bsdtcp;compress-fast;index;
----
got response:
----
CONNECT DATA 499999 MESG 499998 INDEX 499997
OPTIONS features=ff7fffff9cfeffffd3cf1300;
----
dumper: kill index command
driver: state time 36121.872 free kps: 976 space: 275991043 taper: writing
idle-dumpers: 5 qlen tapeq: 0 runq: 13 roomq: 0 wakeup: 15 driver-idle:
no-bandwidth
driver: interface-state time 36121.872 if default: free 0 if local: free 1000
if le0: free 400
driver: hdisk-state time 36121.872 hdisk 0: free 200504659 dumpers 1 hdisk 1:
free 27842308 dumpers 0 hdisk 2: free 41161968 dumpers 0 hdisk 3: free 6482108
dumpers 0
driver: result time 36121.872 from dumper0: FAILED 01-00013 "[return error code
278]"
driver: send-cmd time 36121.872 to chunker0: FAILED 01-00013
driver: state time 36121.872 free kps: 976 space: 275991043 taper: writing
idle-dumpers: 5 qlen tapeq: 0 runq: 13 roomq: 0 wakeup: 15 driver-idle:
no-bandwidth
driver: interface-state time 36121.872 if default: free 0 if local: free 1000
if le0: free 400
driver: hdisk-state time 36121.872 hdisk 0: free 200504659 dumpers 1 hdisk 1:
free 27842308 dumpers 0 hdisk 2: free 41161968 dumpers 0 hdisk 3: free 6482108
dumpers 0
driver: result time 36121.872 from chunker0: FAILED 01-00013 "[dumper returned
FAILED]"
---8<-------------------------------------------------------------------------
Any idea what "error code 278" means, and how I could fix it? Or is there an
alternative/better way to stop a service on a Win box before the backup, and to start it
again afterwards?
I would like to note that the backup for complete drives or folders *does* work
just fine.
Thanks in advance,
Albrecht.
pgpxij5YlBfY4.pgp
Description: PGP signature
