Bug in user backup

Richard G

Verified User
Joined
Jul 6, 2008
Messages
14,187
Location
Maastricht
Something odd is going on.

Normally when you make an admin backup, in the admin_backups directory, a subdirectory backup is created in which the backup is prepared, then packed to tar.gz and put in admin_backups and then the subdirectory backup is deleted again.

Now there is a bug in the user backup. It should work the same but it doesn't.
So the result will be like this:
Code:
drwx------ 6 user user 4.0K Dec 13 13:25 backup
-rw-r----- 1 user user 186M Dec 13 13:25 backup-Dec-13-2013-1.tar.gz

The "backup" directory should not be present there anymore but it is.

This is only happening on user backups, and working fine on admin and reseller backups.
 
Hello,

Thanks for the report.
Bug found and fixed:
http://www.directadmin.com/features.php?id=1540

The fixed binaries are in the pre-release section now.

As for the side-effects, I don't believe the left-over directory will hurt anything.. the only issue would be that any files that might have been deleted from backup may still be in the backups folder.
This mainly only applies to imap data (emails that were deleted would re-appear after the restore as the previously deleted emails would end up in the new backup)

But.. nothing else too major.. as most other key files are completely overwritten.
If we find any other significant issues, we can push 1.44.2 out sooner than later.

John
 
Back
Top