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.

How to tar all accounts (CPanel server)

Discussion in 'General Discussion' started by hbhb, Feb 26, 2007.

  1. hbhb

    hbhb Well-Known Member

    Joined:
    Dec 1, 2006
    Messages:
    67
    Likes Received:
    0
    Trophy Points:
    6
    My server is having a big problem now.

    It started with very high server load

    After that I went to the datacenter to reboot the server, it then told me they were few errors 'touch' some files in /var/ giving message "System file read only" etc..

    Then i rebooted the server again and again not knowing what to do and it logged me into single mode user and scan for me.

    Right now. I believe my hard disk had crashed or my system file is just a big mess error. I couldn't get the server to online.

    Right now. I am planning to mount my sdb2 (secondary hard drive) and tar (backup) EVERY ACCOUNTS (including email + sql) into my secondary drive

    What command should I use to do that??
     
  2. hbhb

    hbhb Well-Known Member

    Joined:
    Dec 1, 2006
    Messages:
    67
    Likes Received:
    0
    Trophy Points:
    6
    When I try to pkgacct, it end up with


    Creating Archive .............
    tar: cpmove-ep.tar.gz: Cannot Open: Read-only file system
    tar: Error is not recoverable: exiting now
    tar: cpmove-ep: Cannot stat: No such file or directory
    Done
    md5sum: /home/cpmove-ep.tar.gz: No such file or directory
    md5sum is:
    root@s [/home]#

    What should i do?
     
  3. bvierra

    bvierra Well-Known Member

    Joined:
    Jul 28, 2006
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Southern California
    you need to consult a professional to fix this. Someone that knows how to correctly fsck the drive and if need mount it as ro and change where the cpmove files are stored.
     
Loading...

Share This Page