• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

included path but didnt reflect on restore

seekerTSM

Active Newcomer
#1
hi Folks,

i just included the ff path below in the dsm.opt and dsm_m.opt to be included in the backup schedule, but upon checking i think those path still not being backup cause i try to restore -pick the still no updated backup date

below path included in dsm.opt and dsm_m.opt
/db2export/db2fenc1/housekeep/issr
/db2export/db2fenc1/housekeep/ch
/db2export/db2fenc1/housekeep/sm

is my checking is correct? is not really backup? i also check the file inside and found out that there is also other dsm.opt.02-Oct-2019 and dsm_m.opt.02-Oct-2019.

is that the reason why my backup is not reflected? because theres a duplicate dsm?


-rwxr-xr-x 1 root system 245 Nov 21 16:57 dsm.opt
-rwxr-xr-x 1 root system 103 Jul 08 2015 dsm.opt.02-Oct-2019
-rwxr-xr-x 1 root system 245 Nov 21 17:00 dsm_m.opt
-rwxr-xr-x 1 root system 104 Jul 08 2015 dsm_m.opt.02-Oct-2019


your help is much appreciated
 

seekerTSM

Active Newcomer
#2
update. i deleted dsm.opt.02-Oct-2019 and dsm_m.opt.02-Oct-2019 and run inc - absolute then when i check the restore, its still the same. there is no current date, November 22 or 21. can someone enlighten me? :)


# Backup Date/Time File Size A/I File
-----------------------------------------------------------------------------------------------------------------------------------------------------------
1. | 10/07/19 09:14:50 256 B A /db2export/db2fenc1/housekeep/sm/20191002
2. | 10/07/19 09:14:50 256 B A /db2export/db2fenc1/housekeep/sm/20191003
3. | 10/07/19 09:14:50 256 B A /db2export/db2fenc1/housekeep/sm/20191004
4. | 10/07/19 09:14:51 256 B A /db2export/db2fenc1/housekeep/sm/20191005
5. | 10/07/19 09:14:51 256 B A /db2export/db2fenc1/housekeep/sm/20191006
6. | 10/07/19 09:14:51 256 B A /db2export/db2fenc1/housekeep/sm/20191007
7. | 10/08/19 14:11:53 256 B A /db2export/db2fenc1/housekeep/sm/20191008
 

marclant

ADSM.ORG Moderator
#4
Run dsmc query inclexcl to see if the path is excluded.

What's the full backup command?

You don't seem to know which option file you are using by the multiple files you are showing as updating/deleting. If you don't specify a .opt file, you are using dsm.opt or the one specified by $DSM_CONFIG. If you specify one with that -optfile option, you're using that one and only that one. So no need to update/delete multiple .opt files, just make sure the one you are working with is correct.

Is that path local or NFS? If NFS, is that in your domain statement.

Side note, not sure what you are trying to achieve with -absolute. An incremental would pick up a file not previously backed up just the same. You're just using up additional storage space and losing version history with absolute.
 

seekerTSM

Active Newcomer
#5
hi,

here is the output of dsmc query inclexcl

*** FILE INCLUDE/EXCLUDE ***
Mode Function Pattern (match from top down) Source File
---- --------- ------------------------------ -----------------
No exclude filespace statements defined.
Excl Directory /.../.TsmCacheDir TSM
No include/exclude statements defined.
No DFS include/exclude statements defined.

here is the cat of dsm.opt

Ervername CLUSTER_DAILY_FF
domain /db2home /db2sys /db2export /db2deploy /db2admin /db2backup /db2dump /db2export/db2fenc1/housekeep /d2export/db2fenc1/housekeep/issr/ db2export/db2fenc1/housekeep/ch /db2export/db2fenc1/housekeep/sm /TSM


is the -absolute is the FULL backup? INCR is incremental only so i use -absolute to run FULL backup?


really confuse with TSM, your reply is always appreciated.
 

seekerTSM

Active Newcomer
#8
hi,

its seems my understanding of FULL and INCR backup in Data protector and TSM are different. is this definition is different?

A Full Backup is a complete backup of all files on the designated hard drive.

An Incremental Backup is a backup of all changed files since the last Full or Incremental backup. For example:

  • Friday - Full Backup
  • Monday - All changed files since Friday
  • Tuesday - All changed files since Monday


the command used is inc -absolute.


back to the questions.

i add these path in dsm and dsm_m.opt.

/db2export/db2fenc1/housekeep/issr
/db2export/db2fenc1/housekeep/ch
/db2export/db2fenc1/housekeep/sm

drwxr-x--- 3 root system 4096 Nov 22 11:01 .
drwxrwxrwx 4 root system 256 Sep 22 2015 ..
drwxr-x--- 4 root system 256 Apr 18 2018 Nodes
-rw-rw-r-- 1 root system 1290 Oct 21 03:19 TSM.IDX
-rw-rw-rw- 1 root system 6319 Oct 21 03:19 TSM.KDB
-rw------- 1 root system 193 Apr 18 2018 TSM.sth
-rw-r--r-- 1 root system 3763 Aug 11 19:05 citScanOutput.xml
-r-xr-x--- 1 root system 2 Sep 22 2015 dsm.inclexcl
-r-xr-x--- 1 root system 245 Nov 22 10:55 dsm.opt
-r-xr-x--- 1 root system 103 Sep 22 2015 dsm.opt.orig
-r-xr-x--- 1 root system 2 Sep 22 2015 dsm_m.inclexcl
-r-xr-x--- 1 root system 245 Nov 21 17:17 dsm_m.opt
-r-xr-x--- 1 root system 104 Sep 22 2015 dsm_m.opt.orig
-r-xr-x--- 1 root system 16866325 Nov 22 03:26 dsmerror.log
-r-xr-x--- 1 root system 6072598 Nov 03 04:46 dsmerror_m.log
-rw-r----- 1 root system 3976181 Nov 22 03:26 dsminstr.log
-rw-r----- 1 root system 0 Nov 22 03:26 dsminstr.log.lock
-rw-r--r-- 1 root system 73052664 Nov 22 11:01 dsmsched.log
-rw-r--r-- 1 root system 36318386 Nov 22 11:01 dsmsched_m.log
-rw-r--r-- 1 root system 7280161 Nov 22 11:01 dsmwebcl.log



then, when i try to check if the path that i include is being backup, i try to restore using restore /db2export/db2fenc1/housekeep/issr but no displays.

see attached screenshot
 

Attachments

seekerTSM

Active Newcomer
#9
hi,


i add thesse path on the dsm.opt. is that correct? see screenshot


/db2export/db2fenc1/housekeep/issr

/db2export/db2fenc1/housekeep/ch

/db2export/db2fenc1/housekeep/sm
 

Attachments

marclant

ADSM.ORG Moderator
#10
i add thesse path on the dsm.opt. is that correct? see screenshot


/db2export/db2fenc1/housekeep/issr

/db2export/db2fenc1/housekeep/ch

/db2export/db2fenc1/housekeep/sm
It depends, are these filesystems or directories? It's correct if filesystems, wrong if directories. Only filesystems can be specified with the domain option.

An Incremental Backup is a backup of all changed files since the last Full or Incremental backup. For example:

  • Friday - Full Backup
  • Monday - All changed files since Friday
  • Tuesday - All changed files since Monday
Not with Spectrum Protect.
Day 1 - incremental backup (results in a full because nothing was backed up before.
Day 2 - incremental (all files changed since previous backup)
Day 3 - incremental (all files changed since previous backup)
...
Day 31 - incremental (all files changed since previous backup)
...
Day 365 - incremental (all files changed since previous backup)
...
Day 999999 - incremental.\ (all files changed since previous backup)

Hence incremental forever. Read the link I gave you, you rarely need to do fulls (absolute), you may think you need to, but you don't.
 

seekerTSM

Active Newcomer
#11
hi,

the path is directory. all the path in that is directory i never edit it, i just add those 3 path/directories.

when i test restore, only /sm have the restore other dont have. i just add all the same

any tips on how can i make it work?

/db2export/db2fenc1/housekeep/issr

/db2export/db2fenc1/housekeep/ch

/db2export/db2fenc1/housekeep/sm


there is a data in all the directories that i included but when i testing to restore it, its none.
 

Attachments

marclant

ADSM.ORG Moderator
#13
Ok. Change the domain option to only list the filesystems for those directories. For example, if /db2export is the filesystem, you only need:
domain /db2export (+ your other filesystems you want backed up, no directories)

Then do a standard incremental backup (no need for absolute). Just make sure to quit the client and start it before running the backup.
 

seekerTSM

Active Newcomer
#14
hi,

can you check my screenshot attached? can you check if my dsm.opt is correct?
i also notice other another dsm.opt.orig and dsm_m.opt.orig, will this be conflicting in MY dsm.opt and dsm_m.opt?

i wonder why i included all 3 path but i only see 1(/sm) when i try to restore it.
 

Attachments

marclant

ADSM.ORG Moderator
#15
i also notice other another dsm.opt.orig and dsm_m.opt.orig, will this be conflicting in MY dsm.opt and dsm_m.opt?
Reread https://adsm.org/forum/index.php?th...t-didnt-reflect-on-restore.32962/#post-136871

You said that some of your domains are directories. Only put filesystems. Because I don't know what's filestem and what is directory, I can't tell you if your .opt file looks good. Take a look at the output of df command on your OS. That's your filesystems, that's what you should put for your domains as per:
https://adsm.org/forum/index.php?th...ut-didnt-reflect-on-restore.32962/post-136881 Don't put directories in your domain.

Also make sure that your Spectrum Protect administrator doesn't force options on you. To see the effective domain, issue: dsmc query option domain. That will be the net result of the option file plus client options from the server. Only do that after you fixed the domain option by removing directories and only listing filesytems.

I still have not seen your backup command. Are you just issuing incremental or abbreviated by itself? If so that should backup all your domains. If you specify a path though, it will only backup that path.

At the beginning of the backup, you should see the list of filestems being backed up. Do you see your filesystems like here:
1574539878432.png
 

seekerTSM

Active Newcomer
#16
-i believe db2export/db2fenc1/housekeep/sm /ch / issr are all folder, and all the files under there is the file.see below example
1574613086375.png


here is the output of dsmc query option domain
1574613338276.png

here is the output of DF command
1574613434941.png


about the incr command, is it different if i use I only, incr or INCREMENTAL? does it differ?

it seems not included in the backup output. i attached the incremental backup output here.

looking forward on this. thank you
 

Attachments

marclant

ADSM.ORG Moderator
#17
All the domains you want to backup are excluded, see all the -/db2...

You must be editing the .opt file or using the wrong stanza in dsm.sys or have conflicting info in the stanza in dsm.sys.

Run dsmc query option optfile to see which .opt is being used.

Read the .opt file from the above and look at the servername value.

That's the stanza you need to edit in dsm.sys.

Or if you want to use a different stanza, specify -servername={stanza} when starting dsmc.

Or if you want to use a different .opt file, specify -optfile={option_file}

Example:
dsmc -servername=stanza_name
dsmc -optfile=optionfile.opt
 

seekerTSM

Active Newcomer
#18
if i want to include/exclude, where do i edit it? in the dsm.opt or dsm.sys?

here is the output of dsmc query option optfile, does this mean that i need to edit my opt file under the /usr/tivoli/tsm/client/ba/bin64?

1574704351018.png
 

marclant

ADSM.ORG Moderator
#19
if i want to include/exclude, where do i edit it? in the dsm.opt or dsm.sys?
Either, but preferably not both to keep things clean. I prefer dsm.sys, so I have the info for all my stanzas there. But you do what you prefer.

here is the output of dsmc query option optfile, does this mean that i need to edit my opt file under the /usr/tivoli/tsm/client/ba/bin64?
Is that the option file you want to use?
If yes, is the servername in that option file correspond to the stanza in dsm.sys you want to use? If yes, then yes you can edit that dsm.opt or edit the matching servername stanza in dsm.sys.
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

UpCloud high performance VPS at $5/month

Get started with $25 in credits on Cloud Servers. You must use link below to receive the credit. Use the promo to get upto 5 month of FREE Linux VPS.

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 17 19.5%
  • Keep using TSM for Spectrum Protect.

    Votes: 53 60.9%
  • Let's be formal and just say Spectrum Protect

    Votes: 10 11.5%
  • Other (please comement)

    Votes: 7 8.0%

Forum statistics

Threads
31,467
Messages
134,114
Members
21,565
Latest member
Chrescht
Top