码迷,mamicode.com
首页 >  
搜索关键字:rsync crontab backup    ( 7350个结果
Linux中使用crontab命令定时执行shell脚本或其他Linux命令
使用crontab你可以在指定的时间执行一个shell脚本或者一系列Linux命令。例如系统管理员安排一个备份任务使其每天都运行如何往 cron 中添加一个作业?# crontab –e0 5 * * * /root/bin/backup.sh这将会在每天早上5点运行 /root/bin/backu...
分类:系统相关   时间:2014-08-21 16:44:04    阅读次数:212
crontab 导入任务列表
crontab导入任务列表crontabfilename#导入任务列表,导入会把之前的清除[root@host]#crontab-l|grep-v"#">file.txt [root@host]#echo"*****echook">>file.txt [root@host]#crontabfile.txt [root@host]#catfile.txt MAILTO="" */30****sh/usr/shell/updatetime.sh ..
分类:其他好文   时间:2014-08-21 15:19:16    阅读次数:222
rsync利用ssh协议复制文件
不需要搭建rsync服务实现两台服务器文件的传输:rsync-artvz-e"ssh-p22-lroot"redis4.tar.gz192.168.1.1:/data/backup/
分类:其他好文   时间:2014-08-21 15:16:25    阅读次数:188
[OS]windows 2012 server-Local users and groups-Backup Operators
怎样找到windows 2012 server上的Backup OperatorsPress the Windows + R keys to open the Run dialog, type lusrmgr.msc, and press Enter. NOTE: This file is loc....
分类:Windows程序   时间:2014-08-20 17:53:32    阅读次数:275
每天checklist所用到的T-CODE
1.1重点检查作业事务码检查过程检查R/3系统是否已经启动· 登录到R/3系统检查每日备份是否正常DB12-Backup Logs:Overview· 检查数据库备份· 检查数据库备份运行时间· 检查操作系统级备份· 检查操作系统级备份运行时间1.2 R/3系统检查(每日4次)作业事务码检查过程检查...
分类:其他好文   时间:2014-08-20 16:07:12    阅读次数:283
Using the Windows Scheduler to run a SharePoint PowerShell Backup Script
ProblemSharePoint administrators need to run regular backups using PowerShell, the STSADM tool or in Central Administration. There is no "built in" wa...
分类:Windows程序   时间:2014-08-20 13:58:42    阅读次数:291
zabbix 自动出图脚本
#!/bin/bash#不配置字符集,脚本放到crontab里发出的中文E-MAIL乱码export LANG=en_US.UTF-8#有点强迫症,习惯什么东西在什么地方干 ^_^cd /home/zabbix/graph#保存cookie文件名COOKIE=zbx_cookie.txt> $COO...
分类:其他好文   时间:2014-08-20 12:11:12    阅读次数:329
zabbix监控之自定义监控项目
zabbix搭建好后,除了调用默认的模板,还要监控其它常用的进程,有redis,rsync,nginx,gunicorn,mysql等等都要进行监控。自定义监控的配置过程如下:1、编写进程监控脚本,获取监控项的具体值2、在zabbix_agentd.conf文件中定义UserParameter3、在界面配置item,通过键值来控制传..
分类:其他好文   时间:2014-08-20 02:46:16    阅读次数:418
攻城狮在路上(叁)Linux(十八)--- 文件系统的简单操作
本篇仅作为补漏。一、查看磁盘和目录的容量:df du df:列出文件系统的整体磁盘使用量。 du:评估文件系统的磁盘使用量(常用于评估目录所占容量)二、连接文件:ln 1、hard link:硬连接或实际连接 ln /etc/crontab crontab1; <== 创建硬连接 ...
分类:系统相关   时间:2014-08-19 22:10:35    阅读次数:249
window vb 上传文件
VBS上传文件(调用ftp)首先创建一个UploadFile.bat文件,内容为:ftp-s:ftp.cfgdimrs,conn,sConnDimstrDateDimfs,txtname,oldtxtnameDimtxtpathstrDate=Date‘写文件setfs=createobject("scripting.filesystemobject")txtpath="D:\bak\"txtname="ServiceEvaluation_backup_"&Y..
分类:Windows程序   时间:2014-08-19 19:16:35    阅读次数:315
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!