Skip to content

Instantly share code, notes, and snippets.

View tboulogne's full-sized avatar

Thierry BOULOGNE tboulogne

View GitHub Profile
@fdcore
fdcore / fabfile.py
Last active November 24, 2020 08:57
backup files and sql from servers, use fabric python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# run: fab backup
__author__ = 'fdcore'
from fabric.api import env, run, get
from datetime import datetime
import os
env.hosts = [