Temp files of backups are not deleted
Temp files of backups are not deleted
In one of my servers I have only enabled FTP Backups but I have a problem the tmp files are not deleted after the upload neither the backup.xx-xx-xx.tar.
I have the same configuration in other servers and works fine.
I think the problem can be related with file permissions/owner. Below I put the ls -lah response
As you can check the admin.2016-04-26.tar is owner by root and I think that should be owned by admin, maybe the solution for this problem is simples but I struggling with it for about a week.
Any tip?
I have the same configuration in other servers and works fine.
I think the problem can be related with file permissions/owner. Below I put the ls -lah response
Code: Select all
[root@mail backup]# ls -lah
total 2.9G
drwx--x--x. 3 backup backup 4.0K Apr 26 05:19 .
drwxr-xr-x. 5 root root 4.0K Oct 12 2015 ..
-rw-r--r-- 1 root root 2.9G Apr 26 05:22 admin.2016-04-26.tar
-rw-r--r-- 1 backup backup 17 Apr 23 11:38 .bash_logout
-rw-r--r-- 1 backup backup 183 Apr 23 11:38 .bash_profile
-rw-r--r-- 1 backup backup 131 Apr 23 11:39 .bashrc
drwx------ 10 root root 4.0K Apr 26 05:19 tmp.gob182weyH
Any tip?
Re: Temp files of backups are not deleted
No one has any tip to helping me to solve this issue?
I have multiple servers with vesta panel and this is the only one that don't erase the tmp files and the zip files after uploaded it to the ftp.
I have multiple servers with vesta panel and this is the only one that don't erase the tmp files and the zip files after uploaded it to the ftp.
Re: Temp files of backups are not deleted
rights to modify and delete.
Re: Temp files of backups are not deleted
I have done some tests and I find out that the temporary files are deleted if I have only local backup enable, but if I enable ftp backup the temporary files are never deleted.
This is my log file with only local backup
And this is with ftp backup
As you can see I never get the size and the runtime.
In my ftp I receive the files and the old ones are erased according my settings (3 backups), I don't understand what can cause this issue.
This is my log file with only local backup
Code: Select all
-- SUMMARY --
2016-04-30 11:38:49 Local: /backup/admin.2016-04-30.tar
2016-04-30 11:38:49 Size: 3017 Mb
2016-04-30 11:38:49 Runtime: 10 miutes
--------------------------------
Code: Select all
-- SUMMARY --
2016-04-30 13:10:42 Remote: ftp://ns395609.ip-176-31-120.eubackups/seatwish//admin.2016-04-30.tar
In my ftp I receive the files and the old ones are erased according my settings (3 backups), I don't understand what can cause this issue.
Re: Temp files of backups are not deleted
Hello guys,
My 1st post here, althought been a silent super-thankful user for years!
Same exact issue going on here. I don't understand!
Anybody can help?
My 1st post here, althought been a silent super-thankful user for years!
Same exact issue going on here. I don't understand!
Anybody can help?
Re: Temp files of backups are not deleted
this happened to me when using sftp.
regards.
regards.