摘要
分析了数据安全及备份策略,选择了一种较为简单且比较实用的文件备份方法.利用VisualFoxPro的Timer对象实现定时执行备份操作;Fopen()函数判断需备份文件的属性,解决了文件批量备份时遇到某个文件被其他人访问而停止的问题;调用win32的API函数实现自动关机,达到了无人值守的目的.
This paper analyzes the data security and backup strategy.A simple and practical way which uses Timer of Visual FoxPro to complete automatic?timing spare document is adopted.In this way,it can avoid a pause of copy when a file is being visited by another using the function ′fopen′,and to complete automatic shut?off by using the function ′API′ of win32.
出处
《焦作工学院学报》
2002年第6期475-478,共4页
Journal of Jiaozuo Institute of Technology(Natural Science)