Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 24 of 24
  1. #16
    Member
    Join Date
    Feb 2005
    Posts
    32

    Default

    Thanks again, chirpy.

    I'm discussing mounting the old drive with the datacenter people but they only told me to be careful so I don't break the system with duplicate labels.

    This is the output of the commands:

    Code:
     df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda3            1012M  244M  717M  26% /
    /dev/sdb1              68G  760M   64G   2% /backup
    /dev/sda1              99M   26M   69M  27% /boot
    /dev/sda8              47G  257M   44G   1% /home
    none                 1004M     0 1004M   0% /dev/shm
    /dev/sda2            1012M   33M  928M   4% /tmp
    /dev/sda6             9.9G  2.2G  7.2G  24% /usr
    /dev/sda7             6.9G  151M  6.4G   3% /var
    /tmp                 1012M   33M  928M   4% /var/tmp

    Code:
    fdisk -l
    
    Disk /dev/sda: 73.4 GB, 73407900160 bytes
    255 heads, 63 sectors/track, 8924 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot    Start       End    Blocks   Id  System
    /dev/sda1   *         1        13    104391   83  Linux
    /dev/sda2            14       144   1052257+  83  Linux
    /dev/sda3           145       275   1052257+  83  Linux
    /dev/sda4           276      8924  69473092+   5  Extended
    /dev/sda5           276       529   2040223+  82  Linux swap
    /dev/sda6           530      1834  10482381   83  Linux
    /dev/sda7          1835      2748   7341673+  83  Linux
    /dev/sda8          2749      8924  49608688+  83  Linux
    
    Disk /dev/sdb: 73.4 GB, 73407900160 bytes
    255 heads, 63 sectors/track, 8924 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot    Start       End    Blocks   Id  System
    /dev/sdb1   *         1      8924  71681998+  83  Linux
    
    Disk /dev/sdc: 73.4 GB, 73407820800 bytes
    255 heads, 63 sectors/track, 8924 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot    Start       End    Blocks   Id  System
    /dev/sdc1   *         1        13    104391   83  Linux
    /dev/sdc2            14      1318  10482412+  83  Linux
    /dev/sdc3          1319      2232   7341705   83  Linux
    /dev/sdc4          2233      8924  53753490    f  Win95 Ext'd (LBA)
    /dev/sdc5          2233      8408  49608688+  83  Linux
    /dev/sdc6          8409      8539   1052226   83  Linux
    /dev/sdc7          8540      8670   1052226   83  Linux
    /dev/sdc8          8671      8924   2040223+  82  Linux swap
    I issued this command they provided:
    e2label /dev/sdc6
    /

    So I know /dev/sdc6 is the old / partition.

    About stopping the services, I issue all this commands in the SSH box. THen run all the rsync stuff and updates, all from the original post, and then the final instructions you posted here :

    Code:
    /scripts/upcp --force
    
    Then rebuild apache+php
    
    Then run:
    
    /scripts/fixeverything
    I see some people found SSH access broken after doing this, and since I only access the server via SSH I am worried. ANy precautions about this?

    Thanks, real real thanks again,
    Veronica
    Last edited by veronicabend; 07-21-2006 at 09:34 AM.

  2. #17
    Member brianoz's Avatar
    Join Date
    Mar 2004
    Location
    Melbourne, Australia
    Posts
    1,117
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by chirpy
    The WHM full backup creates tarballs (accountname.tar.gz files) which contains everything cPanel needs to restore the account in its entirety, including all the account data and files. It's the tarballs you would then FTP off the server (or copy to a spare drive) and then restore through the WHM restore functions.
    As far as I'm aware, the cpanel tarballs don't backup or restore Mailman lists - so if you use cpanel mailing lists be aware they won't copy over. if someone knows whether this has changed I'd love to know.

    Seems like you were going to use rsync, so the above caution may not apply, but thought it was worth mentioning in case anyone refers back to this thread.

  3. #18
    Member serversphere's Avatar
    Join Date
    Jan 2004
    Posts
    658

    Default

    Veronica, can you update us on how you fared? Been a few days so hopefully all is well. Also, and this is totally up to you - don't want any harsh feelings - can you mention who the DC is? Might be someone people should check carefully into before they consider them if they are apprehensive about a simple data move. Hope all worked out!

  4. #19
    Member
    Join Date
    Feb 2005
    Posts
    32

    Default

    Well, I finally got chirpy to help me with moving the data since I was fearing I was not going to do it well. I don't have much server knowledge and there were so many commands and things to take care of. He did a great job and all data was moved successfully in a few hours.
    The datacenter people added another hard drive, and he moved everything from old drive to new one.

  5. #20
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Quote Originally Posted by brianoz
    As far as I'm aware, the cpanel tarballs don't backup or restore Mailman lists - so if you use cpanel mailing lists be aware they won't copy over. if someone knows whether this has changed I'd love to know
    Must have changed as I recently moved our own sites to a new server using backups and it transferred over the mailman mailing lists that we use. Indeed, in the backup tarball they can be found in mm/ and mma/ subdirs.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  6. #21
    Member
    Join Date
    Aug 2003
    Posts
    43

    Default

    Hey chirpy

    Here a question for you that you may help us with.

    We have a server /usr filling up ( think it a bad drive ) so we are changing it.

    We have Fedora 2 on the old server HD and CentOS 4.2 on the new HD. Now we did a backup on the server to a new drive backup drive.

    The reason was the old backup failed when we installed centos and kept saying can’t find backup drive.

    But after the backups where taken we switched the drive ( main ) to centos and when we click Restore Backups the list is blank.

    Now if we CD to the backup the files are there...

    Do you know why Centos / WHM does not see the backups?

  7. #22
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    You need to be sure to configure WHM > Configure Backup > first. Preferrably change the first setting to Restore so cPanel doesn't wipe out the existing backup until you've finsihed restoring, then set it to Enabled.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  8. #23
    Member
    Join Date
    Aug 2003
    Posts
    43

    Default

    Quote Originally Posted by chirpy
    You need to be sure to configure WHM > Configure Backup > first. Preferrably change the first setting to Restore so cPanel doesn't wipe out the existing backup until you've finsihed restoring, then set it to Enabled.
    Did that already, the only thing we have not done was setup the package yet which I did not test as it starting getting late so we aborted the upgrade. until the weekend so business don't have morning troubles.

  9. #24
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by RobM
    Did that already, the only thing we have not done was setup the package yet which I did not test as it starting getting late so we aborted the upgrade. until the weekend so business don't have morning troubles.
    Do you see the backup partition when you run this command:
    df -Th

    You probably did this, but make sure your old/backup partition umount/mount properly.
    Andy Reed
    RHCE and CCNA
    ServerTune.com

Similar Threads & Tags
Similar threads

  1. Hard drive mounted but still shows up in "Format/Mount a new Hard Drive"
    By desiguru in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-31-2010, 02:27 AM
  2. New hard drive installed by host, but not sure which drive to mount.
    By vaughnt in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-27-2007, 12:12 PM
  3. Transferring from slave to primary (when hard disk replaced)
    By djblamire in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-30-2006, 06:57 PM
  4. Replies: 19
    Last Post: 12-08-2005, 06:26 PM
  5. Replies: 0
    Last Post: 06-01-2004, 06:10 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube