利用crontab和Python定时备份
Python代码 #! /usr/bin/python2.7 # -*- coding: utf-8 -*- __author__ = 'konakona' import os import sys import os.path import time import shutil __VERSION__ = "v1.0"; # 临时存放需要备份的文件,便于打包 tmpDir = '/var/backup/temp'…
3,031 2013-03-22 去围观