Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Nov 2009
    Posts
    22

    Default Support for programmatically recover backups with clear return codes

    Hi,

    I would like to ask Cpanel team to add a way to programmatically recover a backup package.

    We use a custom script that manages all transfers between our servers and have a big trouble to verify when restorepkg failed or not. We are checking for strings at the output of restorepkg, but this is a very unreliable way to do it. A return code would be far better: 0 is failed and 1 is success.

    It could something like RestoreAccount < AllDocumentation/AutomationIntegration < TWiki but with support to specify the full path to file. Like /root/transfer/cpmove-username.tar.gz.

    Thanks.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jan 2003
    Posts
    16

    Default Re: Support for programmatically recover backups with clear return codes

    This would be great for server migrations. I currently have the same problem and have had to resort to other methods of verification after the fact.

Similar Threads & Tags
Similar threads

  1. programmatically create a mySQL database
    By cneeds in forum cPanel Developers
    Replies: 4
    Last Post: 09-16-2010, 05:50 PM
  2. Replies: 1
    Last Post: 12-04-2009, 05:44 PM
  3. HELP !!. what the best way to recover sites without recover backups?
    By konrath in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-04-2009, 05:44 PM
  4. Any way to create a forward programmatically?
    By Donny Bahama in forum E-mail Discussions
    Replies: 4
    Last Post: 12-10-2008, 03:25 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube