rafaltrojniak/backuprotate — Issue #12: Directory already exists while rotating
Author: rafaltrojniak
Created: 2011-12-27 21:15:56+00:00
State: open

cp: cannot create directory `/backups/hourly/2011-12-24T06:40:01+0100': File exists
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Copying failed with return status [1] and output :
' in /inc/Cloner/Copier.php:33
Stack trace:
#0 /inc/BackupDir.php(98): Cloner\Copier->cloneBackup(Object(Backup), '/home/zadane-fi...')
#1 /inc/Command/Rotate.php(34): BackupDir->pickup(Object(BackupDir))
#2 /rotate.php(151): Command\Rotate->run(Object(BackupStore))
#3 /rotate(3): require('/home/zadane-fi...')
#4 {main}
thrown in /inc/Cloner/Copier.php on line 33