rotate-backups icon indicating copy to clipboard operation
rotate-backups copied to clipboard

Keeps making the backed up worlds directories with the same name

Open shadowman42 opened this issue 12 years ago • 5 comments
trafficstars

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 avatar Mar 29 '13 05:03 shadowman42

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]

adamfeuer avatar Mar 29 '13 17:03 adamfeuer

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

shadowman42 avatar Mar 29 '13 19:03 shadowman42

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]

adamfeuer avatar Mar 29 '13 19:03 adamfeuer

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'

shadowman42 avatar Mar 30 '13 01:03 shadowman42

Does #7 solve this issue?

dmr avatar Sep 24 '15 08:09 dmr