You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
You are viewing the article in preview mode. It is not live at the moment.
We are announcing the retirement of the Helpdesk Pilot on-premise Helpdesk. Support and update would be discontinued as of June 30, 2019. Existing customers can migrate to our cloud edition - HappyFox.com.
Home > How Tos > Setting up a cron for backup
Setting up a cron for backup
print icon

To set up a cron for the inbuilt hdp-manage to perform backups, follow these steps:

 

  1. Login as superuser (password: superuser)
  2. Type sudo -s
  3. Enter the password from step 1 again
  4. Type crontab -e
  5. Below the line that is already present add the line for the backup command, at the required interval, like

      # m h dom mon dow command

      0 9 * * * sudo hdp-manage backup create

      (for the backup to be run at 9 AM everyday)

 

This will ensure that the backup is taken and stored in the /hdp/backups folder. 

 

You can then follow the instructions here to store the backup in an external location on your network

Feedback
0 out of 3 found this helpful

scroll to top icon