Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

Script Backups Rsync

Discussion in 'Data Protection' started by dgalazv, Nov 26, 2016.

Tags:
  1. dgalazv

    dgalazv Registered

    Joined:
    Nov 26, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    chile
    cPanel Access Level:
    Root Administrator
    Hello friends, I am a bit complicated, I need to make a script for backups the idea is as follows:

    The script must mount a hard disk of network (mount) to be executed creating a directory of backup, soon it realizes the rspaldos of all the accounts of cpanel, sends a mail disassembles the partition and removes the directory created for backup.

    I'm just crashing in the backup part, my need is to be incremental with an rsync, something like the one in cpanel but I do not know how to use them for my purpose

    Thank you
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Would the "Mount Backup Drive as Needed." option in "WHM >> Backup Configuration" work for this purpose?

    Thank you.
     
  3. dgalazv

    dgalazv Registered

    Joined:
    Nov 26, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    chile
    cPanel Access Level:
    Root Administrator
    Dear,
    I mount a partition with the command mount what I need is how I can occupy the cpanel script to perform full backups but with rsync

    Thank you
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You'd have to setup a custom script to utilize the specific commands you prefer if the existing backup functionality isn't suitable. The following third-party URL might offer some help with the rsync command:

    rsync(1) - Linux man page

    I also encourage you to add feedback and vote for the following feature request:

    Enhanced rsync backup, daemon support

    Thank you.
     
Loading...

Share This Page