Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Jul 2008
    Posts
    254

    Smile Cron job command

    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. #2
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    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. #3
    Member
    Join Date
    Jul 2008
    Posts
    254

    Default

    Where i must go to add this command as daily shedule task?

    Thank you

  4. #4
    Member
    Join Date
    Jun 2009
    Posts
    10

    Default

    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. #5
    Member
    Join Date
    Jul 2008
    Posts
    254

    Default

    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...

Similar Threads & Tags
Similar threads

  1. Cron Job
    By kiwis in forum New User Questions
    Replies: 1
    Last Post: 12-17-2008, 05:19 AM
  2. cron job - command to backup a database ?
    By king007 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-17-2006, 05:11 AM
  3. Cron Job
    By sana in forum New User Questions
    Replies: 2
    Last Post: 03-05-2006, 12:05 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube