Menu

SSH push after backup

2006-10-30
2013-05-29
  • Johannes Schmidt

    Hi!

    just found this scipt and it seems to have exactly what I'm looking for! Thanks to the developers!

    As I would like to store my backups on a second server I'm planing to start second script after finishing the backup in order to push the recently generated backup file to the second server using ssh public and privat key's.

    Do somebody has developed such a script allready?

    Regards,

    Johannes

     
    • Harley

      Harley - 2006-10-30

      You could probably do it with a simple command line on the POSTBACKUP depending on what you needed it to do exactly.. Alternatively you could run the script on the second server and get it to backup the database over the network..

       
      • Johannes Schmidt

        Hi,

        Thanks for the quick reply. I have already found the POSTBACKUP function. The problem is that I'm not that familar with shell programming even it looks a bit like PHP :-) (which would be applicable for nearly every language :-)).  However if nobody have already developed such a script I will buy some books and do it my self.

        Second option is not possible as the Database Server is only reachable from the Webserver and the configuration is not under my control.

        Regards,
        Johannes

         
    • Guido Laures

      Guido Laures - 2009-05-03

      I would like to do the same thing. But I have the same problem as Johannes. I know how to copy files via scp. However, I do not know how to determine the newest backup files and use the filenames in another script.
      Anyone solved this problem?

      Regards
      Guido

       
  • Mark Grennan

    Mark Grennan - 2010-11-05

    I added this to my update.  I'm waiting to see if it is excepted.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.