Comment 2 for bug 903379

Revision history for this message
Rob Smith (kormoc) wrote : Re: pt-archiver does refuse to create a file with --file flag

With 2.0.3, I get this problem with this line:

pt-archiver --source h=stuff --where 'created <= current_date - interval 90 day' --charset utf8 --pid /var/run/pt-archiver.pid --txn-size 500 --progress 1000 --sleep 1 --sleep-coef 2 --file '/path/%D/%t/%Y-%m-%dT%H:%i:%s' --why-quit --statistics

Cannot open utf8 '/path/2012-02-09T16:25:26': No such file or directory

Removing the charset, I get

Cannot open '/path/2012-02-09T16:25:26': No such file or directory

This is preventing the tool from working at all for file archiving. Is there any work arounds to get this to run correctly?