Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Jun 2005
    Posts
    208
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default Full Backup Using "dsmc selective": how to?

    Greetings,

    Just when you think you've got TSM figured out, something comes your way you've never tried before. I need to do a "full" backup from the command line for a large group of UX systems. Of course, I'm trying to get this done using the "dsmc selective" command, but I can't seem to find a way to issue this command to pick up everything.

    I THOUGHT issuing the command like this would do the trick:
    dsmc selective "/*" -subdir=yes

    And that does pick up a lot of the filesystems, but for some reason it doesn't pick up everything. It may not pick up certain filesystem types. For example, if you do a "dsmc q file", it'll show you every filesystem on your box, but I think issuing the "dsmc selective" command the way I did it above only picks up filesystems of type UFS.

    Does anyone know a way to issue the "dsmc sel" command such that it will backup everything local (everything in a df -k that isn't attached from a storage device)? I was hoping to do this with wildcards and not have to cut/paste every local filesystem into the command.

    Sincere thanks,
    C.J.

  2. #2
    Senior Member nezih's Avatar
    Join Date
    Oct 2002
    Location
    istanbul
    Posts
    765
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    check dsm.opt for
    domain /fs1
    domain /fs2 etc. (all filesystems must be listed)
    and try again
    destruction is not negative! you must destroy to build...

  3. #3
    Moderator JohanW's Avatar
    Join Date
    Nov 2006
    Location
    Netherlands
    Posts
    986
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Not at home on *UX really, but doesn't that platform have something similar to the Windows -domain=all-local?

  4. #4
    Member
    Join Date
    Jun 2005
    Posts
    208
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by JohanW View Post
    Not at home on *UX really, but doesn't that platform have something similar to the Windows -domain=all-local?
    I'm working out a way to do it by doing a "dsmc q fi > <filename>", and then using that filename as input ... but I was hoping to avoid all that by being able to specify the "all-local" domain. I don't know if we can do that on UX.

  5. #5
    Senior Member nezih's Avatar
    Join Date
    Oct 2002
    Location
    istanbul
    Posts
    765
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    sometimes domain=all-local doesn't work for me and I use listed them one by one .)
    destruction is not negative! you must destroy to build...

  6. #6
    Moderator BBB's Avatar
    Join Date
    Feb 2007
    Location
    Brisbane, Australia
    Posts
    2,075
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default

    To achieve a full backup, the alternate method is to set your copygroups (see upd copygroup) to mode=absolute rather than mode=modified and just run an incremental.

    Don't forget to change them back.

  7. #7
    Member
    Join Date
    Jun 2005
    Posts
    208
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by BBB View Post
    To achieve a full backup, the alternate method is to set your copygroups (see upd copygroup) to mode=absolute rather than mode=modified and just run an incremental.

    Don't forget to change them back.
    That's a great idea! I hadn't thought of that, thank you.

  8. #8
    Senior Member nezih's Avatar
    Join Date
    Oct 2002
    Location
    istanbul
    Posts
    765
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    create a script which contains upd copygr mode to absolute val poli, act poli and dsmc i and use it on the presched, and visa versa for postsched to change it back to incremental... hmmm I like it too
    destruction is not negative! you must destroy to build...

Similar Threads

  1. Replies: 0
    Last Post: 10-30-2007, 06:29 PM
  2. Backup/restore "full" backups without archiving
    By chet_woods in forum Backup / Archive Discussion
    Replies: 3
    Last Post: 12-29-2006, 04:55 AM
  3. How to do a Full "Selective Backup" on Linux?
    By sdvtsm in forum Backup / Archive Discussion
    Replies: 1
    Last Post: 03-03-2005, 03:17 AM
  4. true64 v4.0e -> Core dump in "dsmc shedule"->B/A Txn Consumer thread.....
    By maquinte in forum Backup / Archive Discussion
    Replies: 0
    Last Post: 01-28-2004, 01:15 PM
  5. What will happen " dsmc incr / -subdir=yes " ???
    By owlwizard in forum Backup / Archive Discussion
    Replies: 0
    Last Post: 12-17-2003, 10:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •