CPUG: The Check Point User Group

Resources for the Check Point Community, by the Check Point Community.

Tim Hall has done it again! He has just released the 2nd edition of "Max Power".
Rather than get into details here, I urge you to check out this announcement post.
It's a massive upgrade, and well worth checking out. -E


Results 1 to 2 of 2

Thread: automatic restore of P1 backup

  1. #1
    Join Date
    Rep Power

    Default automatic restore of P1 backup

    FYI i have script setup to do a automatic restore of a full P1 environment (hurray open server!). The script ssh()es to the backup server, starts a tar -zxvf of the backup, pipes the stream of the tar output over ssh, which goes into a jump server which pipes the tar stream into a ssh session into the replication host, which takes stdin into a tar command to dump the backup into a given dir. What i noticed was firing up mds restore (mdsstart after mds_restore) would hang things up on the script when called over ssh. The fix was to close stdin on the mdsstart. Not sure why but this will stop mdsstart from hanging the ssh session.

    I'm also forcing /etc/profile to be read so maybe something out of that is making mdsstart hang around. Not sure but this works FYI.

    ssh $1 "bash -c 'source /etc/profile ; mdsstart < /dev/null'"

  2. #2
    Join Date
    Rep Power

    Default Re: automatic restore of P1 backup

    Good one. MDSM restore is must as part of regular sanity checks

    Valeri Loukine

Similar Threads

  1. Best way to restore a backup
    By gunnahafta in forum Check Point Backup Procedures
    Replies: 3
    Last Post: 2012-08-24, 02:27
  2. Replies: 3
    Last Post: 2011-06-12, 03:05
  3. Automatic Backup Help
    By kevin_turner in forum Check Point Backup Procedures
    Replies: 4
    Last Post: 2009-04-21, 19:20
  4. Automatic deletion of backup packages
    By SecuriteeeSam in forum Check Point Backup Procedures
    Replies: 0
    Last Post: 2008-10-16, 03:59
  5. Voyager Scheduled backup and Automatic FTP
    By JamesW in forum Check Point Backup Procedures
    Replies: 3
    Last Post: 2007-04-23, 11:21


Posting Permissions

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