Creating a cronjob for automatic weekly backups of a specific account
Hello all,
I have a reseller account using the WHM/CPanel suite. I've configured incremental daily backups to take place using WHM's backup system. This works well but I also would like to create a weekly backup of one specific account and ftp it ... somewhere/anywhere apart from the server. My research has led to me a cronjob as the best option but alas, I have no idea how to go about creating this cronjob.
Can anyone help me with understanding what to put in and how to create this?
-
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 -
Hi, I have root access to the server. 0 -
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.
Comments
3 comments