Re: Backing up Windows scheduled tasks in 2003 2008

2013-10-24 Thread Marouf, Nick
You could always create a prescheduled job to export all tasks, those could be 
imported back if there is a problem down the road.

Take a look at 

http://community.spiceworks.com/scripts/show/1474-export-and-import-all-scheduled-tasks-in-windows-server-2008-windows-7


-Original Message-
From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Alex 
Paschal
Sent: Wednesday, October 23, 2013 4:55 PM
To: ADSM-L@VM.MARIST.EDU
Subject: Re: [ADSM-L] Backing up Windows scheduled tasks in 2003  2008

Hi, Steven.  There are some drawbacks to backing up the *.job files from the 
c:\windows\tasks directory, especially with regard to passwords, but necessary, 
you should be able to back up those *.job files by using a prescheduled command 
to copy the *.job files from the c:\windows\tasks directory to some other 
directory that you can back up, say, q:\important\tasks.  Your backup job can 
then pick them up from there.

Alternatively, you might consider using a batch file containing schtasks 
commands to redefine your tasks whenever you need to.  This way you can store 
your passwords in the task definition.

On 10/23/2013 7:50 AM, Steven Langdale wrote:
 Hello all

 I have a requirement to backup scheduled tasks on a couple of windows 
 servers.  I though I may be able to get away with just 
 C:\Windows\Tasks (and a list of the relevant passwords), but that dir 
 is an OS exclude on
 2008 (only one I've tried so far)

 Has anyone else needed to do this?  If so, how did you go about it?

 My current test platform is 2008 + 6.4.0.11 client

 Thanks

 Steven



TDP for Exchange question

2013-10-24 Thread Robert Ouzen
Hi to all

I tried to figure how to load the DP for Exchange management console gui with 
another dsm.opt and / or tdpexc.cfg

When loading by default got the view for the default backups.

I run a DRM backup for offsite purpose with different opt (drm.opt) and cfg 
config (tdpexc_drm.cfg) , successfully backup with dagnode and another local 
agent (drmA)

Run the query backup from the console mode, O.K here the output.

And try to figure to do the same via the gui ?

c:\Program Files\Tivoli\TSM\TDPExchangetdpexcc q tsm Ac18-Users33 full  
/tsmoptfile=drm.opt /configfile=tdpexc_drm.cfg

IBM Tivoli Storage Manager for Mail:
Data Protection for Microsoft Exchange Server
Version 6, Release 4, Level 1.0
(C) Copyright IBM Corporation 1998, 2013. All rights reserved.

Querying Tivoli Storage Manager server for a list of database backups, please 
wait...

Connecting to TSM Server as node 'DRM_EXCHSRVA'...
Connecting to Local DSM Agent 'drmA'...
Using backup node 'dag_exchange'...

  DAG  : DAG

  Database : Ac18-Users33

 Backup DateSize S Fmt  Type   LocObject Name
---  --- -     --- -
10/24/2013 14:42:17  16.70GB A VSS  full   Srv 20131024144217
199.01MB   Logs
 16.51GB   File

The operation completed successfully. (rc = 0)

TDP for Exchange 6.4.1
Tsm server version  6.3.4.200


Regards Robert


Re: TDP for Exchange question

2013-10-24 Thread Del Hoobler
Hi Robert,

Look at the bottom of this technote under Side Notes::

   http://www-01.ibm.com/support/docview.wss?uid=swg21653416



Thanks,

Del



ADSM: Dist Stor Manager ADSM-L@vm.marist.edu wrote on 10/24/2013
08:59:43 AM:

 From: Robert Ouzen rou...@univ.haifa.ac.il
 To: ADSM-L@vm.marist.edu,
 Date: 10/24/2013 09:00 AM
 Subject: TDP for Exchange question
 Sent by: ADSM: Dist Stor Manager ADSM-L@vm.marist.edu

 Hi to all

 I tried to figure how to load the DP for Exchange management console
 gui with another dsm.opt and / or tdpexc.cfg

 When loading by default got the view for the default backups.

 I run a DRM backup for offsite purpose with different opt (drm.opt)
 and cfg config (tdpexc_drm.cfg) , successfully backup with dagnode
 and another local agent (drmA)

 Run the query backup from the console mode, O.K here the output.

 And try to figure to do the same via the gui ?

 c:\Program Files\Tivoli\TSM\TDPExchangetdpexcc q tsm Ac18-Users33
 full  /tsmoptfile=drm.opt /configfile=tdpexc_drm.cfg

 IBM Tivoli Storage Manager for Mail:
 Data Protection for Microsoft Exchange Server
 Version 6, Release 4, Level 1.0
 (C) Copyright IBM Corporation 1998, 2013. All rights reserved.

 Querying Tivoli Storage Manager server for a list of database
 backups, please wait...

 Connecting to TSM Server as node 'DRM_EXCHSRVA'...
 Connecting to Local DSM Agent 'drmA'...
 Using backup node 'dag_exchange'...

   DAG  : DAG

   Database : Ac18-Users33

  Backup DateSize S Fmt  Type   LocObject Name
 ---  --- -     ---
-
 10/24/2013 14:42:17  16.70GB A VSS  full   Srv 20131024144217
 199.01MB   Logs
  16.51GB   File

 The operation completed successfully. (rc = 0)

 TDP for Exchange 6.4.1
 Tsm server version  6.3.4.200


 Regards Robert



How long are your SERVERPASSWORDs?

2013-10-24 Thread Allen S. Rout
If they're too long, they could interfere with DSMSERV RESTORE.


I ran into a problem with my coalescing 6.3 infrastructure that I wanted
to share;  if you're prepared for it you can deal with it
straightforwardly, but it could be terrifying otherwise.

The problem evinces thus:  You're doing a DSMSERV restore, and:

ANR2144E DEFINE SERVER: Invalid password - .
ANR0902W Unsupported keyword found in file /tsm/home/tsmtest/devconfig.
ANR0906I  Line No.  : 0
ANR0907I  Statement : DEFINE SERVER TSMCTRL COMMMETHOD=TCPIP
HLADDRESS=128.227.-
129.119 LLADDRESS=1826  NODENAME=TSMTEST PASSWORD=[thus]
SERVERPASSWORD=[other thus]
ANR3239E Error 2800 while creating device class DBBACK_R.
[...]
ANR2032E RESTORE DB: Command failed - internal server error detected.
ANRD Thread1 issued message 2032 from:
ANRD Thread1  0xd65516 outMsgf
ANRD Thread1  0x4f715a AdmRestoreDb
ANRD Thread1  0x492a66 admRestoreDatabase
ANRD Thread1  0x48116b main
ANRD Thread1  0x3286e1ecdd *UNKNOWN*
ANRD Thread1  0x47f579 *UNKNOWN*


The problem was that my SERVERPASSWORD was greater than 16 characters.
This is evidently invalid, for very particular meanings of invalid.
It is not in the docs for SET SERVERPASSWORD;  it is not rejected when
you run SET SERVERPASSWORD.  After having set it, and used it for a
DEFINE SERVER somewhere else, you can set up communications, and things
run smoothly for e.g. command redirection.  (and virtual volumes, but
that's a different password anyway)  But when you try to read the
devconfig file, things will break.

So the time you'll encounter this is when everything has been going fine
for a while, and then you have a failure and need to restore.
*shudder*.  I'm really glad I exercised it when I was doing initial
testing, with an instance holding only transient, beta data.  It was a
compelling problem, but not an actual present disaster.


Here's how I worked around it, and got my beta server back:  I built a
brand new, empty server using the same name.   Basically I took the
instance ('TSMTEST') and built it new.  I introduced this new baby
server to the server holding the DB backups, under the same server host
name.  I did a DB backup and restore of the new, empty TSMTEST to prove
I could.  Of course, as far as it was concerned, there was only one DB
backup in the universe, the one It did just then.

Then I copied the old VOLHIST but left the new DEVCONFIG in place.  The
new DEVCONFIG didn't have all my old instance's devices, but it had
enough to pull down the database backup.   The older VOLHIST had records
of the older backups, and could pull down the desired state, with client
data references c.   Then I could do a new backup devconfig, and
soldier on.



IBM is musing about how to classify this.  I say that the minimum change
necessary is 1) documentation of the constraint on password length, and
2) rejection with diagnostic of out-of-spec passwords.


- Allen S. Rout


FilesNotToBackup Error

2013-10-24 Thread Huebner, Andy
Has anyone seen this one before.  I have had it pop up on 2 Windows 2008 R2 SP1 
servers running 6.2.4.07 agent:

10/23/2013 18:51:05 ANS1009W An error occurred processing the operating system 
include/exclude statements.
The error was detected while processing: 
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToBackup\\Registry\User\S-1-5-21_Internet
 Explorer. RC = 13.

The FileNotToBackup key does not have a value even close to the rest of the 
path.

Andy Huebner


How much active data?

2013-10-24 Thread Nick Laflamme
COPY ACTIVE has a preview option to tell me which volumes I'd need, but is
there a simple way to compute how active data I have? QUERY OCCUPANCY
doesn't have a useful parameter for that. For some reason, EXPORT NODE
tries to mount each volume, even with PREVIEW=YES, which doesn't help me --
I'm investigating ACTIVE pools precisely because I can't fit my tapes in my
library!

I'd like to avoid SELECT commands against BACKUPS or CONTENTS.

Thanks,
Nick


Re: How much active data?

2013-10-24 Thread Prather, Wanda
Try the export node preview=yes using the syntax for export to media, not the 
export for server-to-server.
Don't know why the difference, but doing it that way doesn't trigger the 
mounts.  (I don't understand why doing it the server-to-server way DOES trigger 
mounts with PREVIEW=YES).

-Original Message-
From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Nick 
Laflamme
Sent: Thursday, October 24, 2013 2:59 PM
To: ADSM-L@VM.MARIST.EDU
Subject: [ADSM-L] How much active data?

COPY ACTIVE has a preview option to tell me which volumes I'd need, but is 
there a simple way to compute how active data I have? QUERY OCCUPANCY doesn't 
have a useful parameter for that. For some reason, EXPORT NODE tries to mount 
each volume, even with PREVIEW=YES, which doesn't help me -- I'm investigating 
ACTIVE pools precisely because I can't fit my tapes in my library!

I'd like to avoid SELECT commands against BACKUPS or CONTENTS.

Thanks,
Nick