Skip to main content

Change Remote Backup Folder Names...

Comments

6 comments

  • cPanelMichael
    Hello :) You could create a custom script that connects to the remote FTP server, creates the additional directory, and moves the backup archives into that directory. Then, you could setup an event hook that runs that script automatically after backups complete. EX:
    /usr/local/cpanel/bin/manage_hooks add script /root/post_backup --category System --event Backup --stage post
    Documentation: Hookable Events Thank you.
    0
  • PCZero
    I actually thought about this. The issue is that (from the observations I have made), cPanel considers the back up complete once the packages have been created and not after the remote transfer have finished. While that may not be the actual case, I deduced this from the fact that this is the point where the 'backup complete' email is generated and sent. Therefore, in order to do as you suggest I would need to have a way to know when the actual remote transfer is done.
    0
  • cPanelMichael
    You could configure your custom script to only run after a set time period or after a specific file or directory exists on the remote server. Thank you.
    0
  • PCZero
    Thanks Michael. I am really hoping that whoever it is that has final say over changes will approve this one so it will all be done with not scripting required. I realize this is a rather low priority issue however I am thinking that maybe it could be as simple as cloning the code segment that create the 'weekly' and/or monthly directory structure and mod it slightly to have the same functionality for daily back ups.
    0
  • cPanelMichael
    Feel free to post the URL to the feature request here after it's been approved so others can vote for it and add input. Thank you.
    0
  • PCZero
    The request is now in open discussion. I hope enough people like this that it gets approved! [url=http://features.cpanel.net/responses/update-folder-naming-convention-for-remote-ftp-backups]Update Folder Naming Convention For Remote FTP BackUps | cPanel Feature Requests
    0

Please sign in to leave a comment.