The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Backups to Microsoft Azure

Discussion in 'Data Protection' started by ExtremeGuy, May 5, 2014.

  1. ExtremeGuy

    ExtremeGuy Member

    Joined:
    Aug 11, 2013
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    Forgive me if I have posted in the wrong thread.

    Does anyone know of any custom scripts that will allow me to push account backups to Micorsoft Windows Azure Blob Storage? (much like Amazon S3).

    Would it be possible for me to customise the Amazon S3 scripts to use Windows Azure instead? If so, where is the script kept?

    Jason
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. ExtremeGuy

    ExtremeGuy Member

    Joined:
    Aug 11, 2013
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks for your reply. Where is the Amazon script located in a CPanel installation? I should be able to change it, I suspect, with minimum fuss to work with Azure storage.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You can find an example custom backup destination script here:

    Code:
    /usr/local/cpanel/scripts/custom_backup_destination.pl.skeleton
    While it's not exactly optimal for using as a template, if you want to get a better understanding of the Amazon S3 implementation, these files might help:

    Code:
    /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Amazon/S3.pm
    /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Amazon/S3/Bucket.pm
    /usr/local/cpanel/Cpanel/Transport/Files/AmazonS3.pm
    Thank you.
     
Loading...

Share This Page