Skip to main content

Creating a cronjob for automatic weekly backups of a specific account

Comments

3 comments

  • cPanelMichael
    I have a reseller account using the WHM/CPanel suite. I've configured incremental daily backups to take place using WHM's backup system.

    Hello, Could you verify if you have reseller or root access to the server? Resellers should not have access to configure backups using Web Host Manager. Thank you.
    0
  • Theodore Henry
    Hi, I have root access to the server.
    0
  • cPanelMichael
    Hello, There are no scripts or features that will automatically move a manually generated archive to a remote server via a cron job. It's possible to create a backup for a single account with a command such as:
    /scripts/pkgacct $username
    You would have to setup a custom cron job as "root" that runs this command and then moves the archive to the remote server. You must use a utility such as "rsync" or "sftp" in your custom script to move the file. Thank you.
    0

Please sign in to leave a comment.