Quantcast
Channel: All Data Protector Practitioners Forum posts
Viewing all articles
Browse latest Browse all 10494

Re: looking for some commands

$
0
0

Actually I have to write a plug-in for monitoring the DP backup system and this is what I should implement(see below). It is not possible to restore each file from GUI. Comparison approach is CRC32.

As you also here(http://h30499.www3.hp.com/t5/Data-Protector-Support-and-News/set-flag-after-each-backup/td-p/6555876#.U-Y4omNWmKJ) mentioned, there is no way of setting flag and I have to write a post-exec script.

 

 define threshold

get list of all file systems

get list of excluded file systems (blacklist)

For each file system

            get current machine name

            get file system ID

            If file system-ID is in blacklist

                        continue

            If flag is not set on file system

                        error

            get timestamp of last backup (from HP-DP or flag)

            walk file system (go through every directory)

                        For each file in directory

                                    If timestamp file > timestamp backup

                                               go to next file

                                   random number => r

                                    If r < threshold

            extract/restore file from HP-DP

                                               If comparison fails

                                                          error

 

what do you suggest?

 


Viewing all articles
Browse latest Browse all 10494

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>