This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# | |
# backup_redmine.sh | |
# modified by [email protected] | |
# from https://gist.github.com/ronanguilloux/6497272 | |
# | |
# Distributed under terms of the MIT license. | |
# /var/backups/redmine should exist | |
# $REDMINE_HOME/backups should also exist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import logging | |
from tornado import queues, gen, ioloop | |
from tornado.options import parse_command_line | |
QUEUE_SIZE = 4 | |
CONCURRENT = 2 | |