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.

scrtip backup

Discussion in 'General Discussion' started by richenou, Sep 24, 2007.

  1. richenou

    richenou Well-Known Member
    PartnerNOC

    Joined:
    Feb 17, 2004
    Messages:
    86
    Likes Received:
    0
    Trophy Points:
    6
    hi
    I need a little help
    I would like a script for a daily backup of user toto.
    I explain

    I want to run cpanel backup seven days a week but I want to keep only 3 last days

    exemple:

    toto-sunday.tar.gz
    toto-monday.tar.gz
    toto-tuesday.tar.gz

    saved in a directory called /home/backup

    so the customer will have his last 3 days backups available....


    thx so much for your help
     
  2. richenou

    richenou Well-Known Member
    PartnerNOC

    Joined:
    Feb 17, 2004
    Messages:
    86
    Likes Received:
    0
    Trophy Points:
    6
    no idea in bash shell?
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,450
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Short of not being able to set for only "last three days" cPanel backup configuration in WHM should work fine for your needs.
     
Loading...

Share This Page