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.

backup seperate directory

Discussion in 'General Discussion' started by Secret Agent, Oct 23, 2005.

  1. Secret Agent

    Secret Agent Guest

    This is my crontab -e output for backups

    30 0 * * * /scripts/upcp
    0 0 * * * /scripts/cpbackup
    0 6 * * * /scripts/cpbackup
    0 12 * * * /scripts/cpbackup
    0 18 * * * /scripts/cpbackup


    How can I have the daily backups seperated into a different directoy? For example, the 1st at 12am would go into /home/backup/12am, second at 6am would go in /home/backup/6am.
     
  2. Blapto

    Blapto Active Member

    Joined:
    May 13, 2005
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    take the cpbackup scripts, clone them, change names, hack them, change the crontab entries.
     
  3. Secret Agent

    Secret Agent Guest

    Thanks. I'll try it out. Here's a question though :) Restore will not be done via whm unless I change the directory of the actual backup copy I want correct? Otherwise, restore via command line :)
     
Loading...

Share This Page