xueyinkd 发表于 2013-12-8 12:42:57

小白求救!!! linode 怎么转移硬盘数据啊

上次被DOS后,按要求 Deploy a Linux Distribution,

- Select the "Deploy a Linux Distribution" link on your dashboard.
- Choose your desired distribution, fill in the the required values, and then click on "Deploy".
- Return to the dashboard and select your new configuration profile.
- Attach your old disk image to the drive setup of your new deployment.
- Boot into your new deployment and mount your old disk image.
- Copy your data.

新的Configuration Profile 里面 dev/xvda 现在还是用原来的 disk image,现在他们要求我 remove 原来受影响的 disk image,

我新建了个disk imgae,现在怎么在不影响网站的情形下拷贝数据?拷贝后还要设置什么吗?

xueyinkd 发表于 2013-12-8 13:18:21

1) Select the "Deploy a Linux Distribution" link on your dashboard.
2) Choose your desired distribution, fill in the the required values, and then click on "Deploy".
3) Return to the dashboard and select your new configuration profile.
4) Scroll down to the "Block Device Assignment" section, select the "/dev/xvdc" drop-down menu, and attach your old disk image.
5) Boot into your new deployment and mount your old disk image:

mkdir /old
mount /dev/xvdc /old

6) Your old files will now be available in the "/old" directory available for you to copy:

cd /old


这是他们最新的回复 ,接下去要怎么才能弄到新的disk imgae上?

fatiery 发表于 2013-12-8 13:24:15

你的网站(网页和数据库文件)都放在什么目录下?配置一个和旧服务器相同的环境,然后把之前的网站转移过去试试。

xueyinkd 发表于 2013-12-8 13:40:39

1) Select the "Deploy a Linux Distribution" link on your dashboard.
2) Choose your desired distribution, fill in the the required values, and then click on "Deploy".
3) Return to the dashboard and select your new configuration profile.
4) Scroll down to the "Block Device Assignment" section, select the "/dev/xvdc" drop-down menu, and attach your old disk image.
5) Boot into your new deployment and mount your old disk image:

mkdir /old
mount /dev/xvdc /old

6) Your old files will now be available in the "/old" directory available for you to copy:

cd /old

新的回复
接下去要怎么转移

liwoon 发表于 2013-12-8 13:47:34

说的不是很明白了吗?连步骤都有了

xueyinkd 发表于 2013-12-8 14:01:36

liwoon 发表于 2013-12-8 13:47 static/image/common/back.gif
说的不是很明白了吗?连步骤都有了

接下去要怎么拷贝

liwoon 发表于 2013-12-8 18:59:52

xueyinkd 发表于 2013-12-8 14:01 static/image/common/back.gif
接下去要怎么拷贝

他们给你的新的回复里不是有步骤么?你不是用SSH吗?

xueyinkd 发表于 2013-12-9 09:49:36

liwoon 发表于 2013-12-8 18:59 static/image/common/back.gif
他们给你的新的回复里不是有步骤么?你不是用SSH吗?

旧硬盘的数据是已经拷贝到新硬盘 /old/ 文件夹下了, 但现在怎么才能使新硬盘和旧硬盘完全一样?我现在还是不能加载新硬盘,一加载新硬盘,网站还是全没了

liwoon 发表于 2013-12-9 10:01:21

xueyinkd 发表于 2013-12-9 09:49 static/image/common/back.gif
旧硬盘的数据是已经拷贝到新硬盘 /old/ 文件夹下了, 但现在怎么才能使新硬盘和旧硬盘完全一样?我现在还 ...

他给你的新回复里不是还有一个SSH命令么,好像叫你不能跟原来的同样文件夹,将他映射新的一个文件夹。
你又把你后面新发的新回复删了?
你要不再给客服说下,说下你已经做了的步骤,还要怎么做。

xueyinkd 发表于 2013-12-9 14:45:59

本帖最后由 xueyinkd 于 2013-12-9 14:47 编辑

liwoon 发表于 2013-12-9 10:01 static/image/common/back.gif
他给你的新回复里不是还有一个SSH命令么,好像叫你不能跟原来的同样文件夹,将他映射新的一个文件夹。
你 ...
很奇怪,怎么我的回贴没了

这是他们的回复:

1) Select the "Deploy a Linux Distribution" link on your dashboard.
2) Choose your desired distribution, fill in the the required values, and then click on "Deploy".
3) Return to the dashboard and select your new configuration profile.
4) Scroll down to the "Block Device Assignment" section, select the "/dev/xvdc" drop-down menu, and attach your old disk image.
5) Boot into your new deployment and mount your old disk image:

mkdir /old
mount /dev/xvdc /old

6) Your old files will now be available in the "/old" directory available for you to copy:

cd /old


这一步是说把旧硬盘的文件全拷到新硬盘的/old文件夹下了是么?我照做了,但接下去不知道怎么做

我问他接下去怎么做,他就说

You can then copy them using cp, scp, or other standard file manipulation commands.
页: [1]
查看完整版本: 小白求救!!! linode 怎么转移硬盘数据啊