import os import sys backup = True host = 'erle' backup_basepath = '/data/backup/data' installations = ['mint', 'kubuntu', 'openSuSE'] for installation in installations: setattr(sys.modules[__name__], 'home_%s_remotepath' % installation, 'dirk@%s:/home' % host) setattr(sys.modules[__name__], 'home_%s_localpath' % installation, os.path.join(installation, 'home')) data_remotepath = 'dirk@%s:/usr/data' % host data_localpath = 'usr/data' data_skip = ['lost+found', 'dirk/Audio', 'dirk/bin', 'dirk/gnome-boxes', 'dirk/media_images', 'dirk/Videos']