Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2005
    Posts
    48

    HOW I moved from one vps provider to VPSLand

    I'm not going to get into the WHYs but just wanted to go over the HOWs.

    These steps worked for me (debian machine). I had a perfectly configured vps and didn't want to go through it all over again at the new vps provider.

    Steps:
    1. create a backup of existing vps
    2. order vps at vpsland (wait 24-48 hours)
    3. wget backup of vps to new vpsland vps (you can hand craft the url to download your vps backup file so that you don't have to download to your pc then upload from your pc)
    4. kindly ask vpsland support to create vps with backup image (wait 6 hours)
    5. ssh into your new vps (make sure everything works)
    6. change dns settings

    You could (maybe) combine steps 2,3,4 into one so that vpsland doesn't create a fresh vps only to replace it with your backup.


    Gotchas:
    1. my firewall script referenced specific ip addresses so I had to connect to the console and manipulate them.

  2. #2
    Join Date
    Apr 2002
    Location
    Orange County, CA
    Posts
    338
    Just use Rsync.

  3. #3
    Join Date
    Mar 2005
    Posts
    48
    yeah, but I didn't want to worry about some obscure file/setting/version that I had somewhere that wouldn't/couldn't get copied over.

    Only to discover a month later that I'd forgotten it.

  4. #4
    then take ur time with it

  5. #5
    Join Date
    Apr 2002
    Location
    Orange County, CA
    Posts
    338
    Um... Rsync copies EVERYTHING, even preserve the dates of files and permissions. For Debian, only a few files to modify for changing IP's: /etc/hosts and /etc/network/interfaces. And of course, your firewall.

  6. #6
    Join Date
    Mar 2005
    Posts
    48
    I'm not too confident of rsync.
    I use it for my offsite backup and will always see at the end:
    (paraphrasing) some files could not be copied.

    On the destination, everything looks there, but that message makes me nervous.

  7. #7
    Join Date
    Apr 2002
    Location
    Orange County, CA
    Posts
    338
    # rsync -azH --delete <src> <dest>

    Some files in /tmp may disappear during transfer. They are not important. To check, do this after the transfer:

    # rsync --dry-run -aH --delete <src> <dest>

  8. #8
    Join Date
    Mar 2005
    Posts
    48
    Originally posted by Yikes2000
    # rsync -azH --delete <src> <dest>

    Some files in /tmp may disappear during transfer. They are not important. To check, do this after the transfer:

    # rsync --dry-run -aH --delete <src> <dest>
    So <src> would be /
    and
    <dest> would be [email protected]:/

    ?
    Sounds too easy ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •