复制大文件
我有一个专用服务器,用于托管一个大型网站。我们需要在网站上进行升级,我想在 testurl(在不同的 cpanel 帐户上)但同一服务器上创建开发副本。
这些文件总大小约为 1GB,数量为 70,000 个。
我尝试过 WS FTP pro,但它在大约 20 小时内只复制了 10%。
在我的开发 URL 上创建副本的最简单、最快的方法是什么?
我是新手所以请详细指导。
谢谢
I have a dedicated server where I host a large website. We need to do an upgrade on the website and I want to create a development copy on a testurl (on a different cpanel account) but same server.
The files are around 1GB in total size and 70,000 in number.
I have tried WS FTP pro but it has only copied 10% in around 20 hours.
What's the easiest and quickest method to create a replica on my development URL?
I am a newbie so please give detailed instructions.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为最简单的方法是这样的:
这对您来说应该很容易,只要您知道如何访问您的帐户通过 SSH 服务器。这非常简单:
就这样了。 -R 选项递归地将所有文件从源复制到目标,如果您要复制大量文件,您可以考虑在 -R< 之后添加 --verbose /strong> 选项,这样你就可以看到它的工作原理。如果我的描述超出了需要,我提前表示歉意。
I would think the easiest method would be this:
This should be pretty easy for you, as long as you know how to access your server via SSH. It's pretty simple:
That's pretty much it. The -R option recursively copies all the files from your source to your destination, and if you're copying a HUGE number of files, you might consider adding --verbose after the -R option so you can see it working. I apologize in advance if I've gone a little more granular than needed.