我想购买一台用于虚拟化的新服务器,并且想知道该机器需要多少物理网卡。是否有一个基本的经验法则,比如“1 个网卡可以支持 4 个虚拟服务器的流量”?
主页
/
user-4722
quickcel's questions
quickcel
Asked:
2009-06-26 11:54:38 +0800 CST
我希望使用 duplicity 将我的 linux 服务器备份到 Amazon S3。
我在这里找到了一个很好的资源,可以帮助我进行设置,并且正在使用为我列出的基本脚本,现在复制到这里:
#!/bin/sh
# Export some ENV variables so you don't have to type anything
export AWS_ACCESS_KEY_ID=[your-access-key-id]
export AWS_SECRET_ACCESS_KEY=[your-secret-access-key]
export PASSPHRASE=[your-gpg-passphrase]
GPG_KEY=[your-gpg-key]
# The source of your backup
SOURCE=/
# The destination
# Note that the bucket need not exist
# but does need to be unique amongst all
# Amazon S3 users. So, choose wisely.
DEST=s3+http://[your-bucket-name]/[backup-folder]
duplicity \
--encrypt-key=${GPG_KEY} \
--sign-key=${GPG_KEY} \
--include=/boot \
--include=/etc \
--include=/home \
--include=/root \
--include=/var/lib/mysql \
--exclude=/** \
${SOURCE} ${DEST}
# Reset the ENV variables. Don't need them sitting around
export AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=
export PASSPHRASE=
有没有其他人有过重复的经验,他们可以改进这个脚本和/或分享最佳实践来帮助创建一个更好的脚本?