rotate-backups
rotate-backups copied to clipboard
Keeps making the backed up worlds directories with the same name
It is such that, that a world backup name
world.tar.bz2
becomes
hourly/world<date>.tar.bz2/world<date>.tar.bz2
And this makes it impossible for the script to function with
OSError: [Errno 21] Is a directory
When files are manually removed from their parent folders in hourly, the same happens in daily
shadowman42,
I don't understand the problem. Can you say more about it?
cheers adam
On Thu, Mar 28, 2013 at 10:04 PM, shadowman42 [email protected]:
It is such that, that a world backup name
world.tar.bz2
becomes
— Reply to this email directly or view it on GitHubhttps://github.com/adamfeuer/rotate-backups/issues/4 .
Adam Feuer [email protected]
Gladly, apologies for not being more clear.
whenever a backup file is moved by the script(such as from the backup directory to the archive directory) , within the archive directory, there are directories created with the name world
Inside these directories, there is a single file with the same name world
This prevents the script from moving the backups stored in hourly to daily (presumably since the script expects files rather than directories) , leading to the propagation of backups in the hourly folder, never moving anywhere else
Shadowman42,
Thanks for explaining. I haven't seen that before. Will you send me your configuration file and a copy of the script? Also what operating system and version are you running? (Ubuntu 12.04, Centos 6.1, etc)? If you do that I may be able to debug the problem.
cheers adam
On Fri, Mar 29, 2013 at 12:23 PM, shadowman42 [email protected]:
Gladly, apologies for not being more clear.
whenever a backup file is moved by the script(such as from the backup directory to the archive directory) , within the archive directory, there are directories created with the name world.tar.bz2/
Inside these directories, there is a single file with the same name world.tar.bz2
This prevents the script from moving the backups stored in hourly to daily (presumably since the script expects files rather than directories) , leading to the propagation of backups in the hourly folder, never moving anywhere else
— Reply to this email directly or view it on GitHubhttps://github.com/adamfeuer/rotate-backups/issues/4#issuecomment-15656473 .
Adam Feuer [email protected]
Wow facepalm, that's basic bug report etiquette, can't believe I forgot.
server running on Ubuntu 12.04.2
[Settings] backups_dir = /home/kurt/mcbackup/worlds archives_dir = /home/kurt/mcbackup/worldarchives/ hourly_backup_hour = 23 weekly_backup_day = 6 max_weekly_backups = 52 backup_extensions = ".tar.bz2",".jar" log_level = 'INFO'
Does #7 solve this issue?