你好,游客 登录 注册 搜索
背景:
阅读新闻

CIFS应用范例 - KimSoft's Blog

[日期:2013-03-27] 来源:  作者: [字体: ]
sudo mount //192.168.1.248/linux /backup/server248/ -o username=administrator,password=ligoopd,file_mode=0777, dir_mode=0777 0 0
sudo mount //192.168.1.248/linux /backup/server248/ -o username=administrator,password=ligoopd, uid=$USER, iocharset=utf8, codepage=cp936


smbclient //192.168.1.248/linux --user=administrator ligoopd


rsync -avz ubuntu@192.168.0.1:/home/ubuntu/filename2 filename1


rsync -avz //192.168.1.248/linux /backup/server248


sudo mount //192.168.1.248/linux /mnt/server248/ -o username=administrator,password=ligoopd,codepage=936,iocharset=utf8, file_mode=0777, dir_mode=0777
umount /mnt/server248/




mkdir /mnt/server248
sudo mount //192.168.1.248/share /mnt/server248/ -o username=administrator,password=ligoo248,codepage=936,iocharset=utf8
mkdir -p /backup/server248
rsync -azv /mnt/server248 /backup


crontab -e
# m h  dom mon dow   command
0 3 * * * /var/backup-server248.sh




收藏 推荐 打印 | 录入:admin | 阅读:
相关新闻