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.

shell command [moved]

Discussion in 'Data Protection' started by albertldee, Nov 5, 2005.

  1. albertldee

    albertldee Member

    Joined:
    May 10, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    shell command

    can anyone help me with a shell command to backup a folder
    i have a quiet large folder name uploads in the public_html/pbtemp/ directory how can i used a shell command to zip the folder or all the content inside the folder name uploads

    thanks
     
  2. aby

    aby Well-Known Member

    Joined:
    May 31, 2005
    Messages:
    638
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    You can use

    tar -cvzf file.tar.gz file
     
  3. albertldee

    albertldee Member

    Joined:
    May 10, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    how do u used it in shell
    i have shell access
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You should ask your web hosting provider as they are best placed to help you with such issues.
     
Loading...

Share This Page