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.

Cron job command

Discussion in 'Data Protection' started by ASTRAPI, Jun 18, 2009.

  1. ASTRAPI

    ASTRAPI Well-Known Member

    Joined:
    Jul 8, 2008
    Messages:
    321
    Likes Received:
    0
    Trophy Points:
    16
    Hello

    What command i ust run to take daily a full backup of my account?

    The second name it will replace the old backup or not?

    Thank you
     
  2. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    Not sure if I follow you exact question ...

    WHM has options for scheduling backups built into it.

    If you want to run a command to backup a specific account,
    you can just run "/scripts/pkgacct username" where username
    is the login name of the account you want to backup.
     
  3. ASTRAPI

    ASTRAPI Well-Known Member

    Joined:
    Jul 8, 2008
    Messages:
    321
    Likes Received:
    0
    Trophy Points:
    16
    Where i must go to add this command as daily shedule task?

    Thank you
     
  4. krizag

    krizag Member

    Joined:
    Jun 19, 2009
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Write a custom script to do the backup and add it as s cron in the server. The new backups will overwrite the older ones if they are not renamed.
     
  5. ASTRAPI

    ASTRAPI Well-Known Member

    Joined:
    Jul 8, 2008
    Messages:
    321
    Likes Received:
    0
    Trophy Points:
    16
    I don't know how to write a script :(

    I just need for every account a daily backup :)

    And the file to be replaced and not have 100 backups...
     
Loading...

Share This Page