[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] rdiff-backup in own python script

From: Karel Ziegler | ET NETERA
Subject: [rdiff-backup-users] rdiff-backup in own python script
Date: Thu, 10 Feb 2011 10:16:00 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7


How can I re-initialising rdiff-backup variables after running one task in own python script, see example below.


from rdiff_backup.Main import Main as backup

# backup task one
task = ['--exclude', '/data_dir1', '--exclude', '/data_dir2', '--exclude', '/mnt', '/', '/backup']
print 'TASK 1'

# backup task two
task = ['/mnt/data', '/backup/data']

When running this script, I got following error:
Fatal Error: Fatal Error: The file specification
cannot match any files in the base directory
Useful file specifications begin with the base directory or some
pattern (such as '**') which matches the base directory.

Thank you for your help

Karel Ziegler
Linux Administrátor

ET NETERA | smart e-business
[a] Milady Horákové 108, 160 00 Praha 6
[m] +420 602 603 947 [i] www.etnetera.cz
[www.ifortuna.cz  | www.o2.cz    | www.datart.cz ]
[www.skodaplus.cz | www.nivea.cz | www.allianz.cz]

Created by ET NETERA | Powered by jNetPublish

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]