Temp files of backups are not deleted

General questions about VestaCP
kandalf
Posts: 51
Joined: Tue May 13, 2014 11:53 pm

Temp files of backups are not deleted

Postby kandalf » Tue Apr 26, 2016 9:43 am

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

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


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?

kandalf
Posts: 51
Joined: Tue May 13, 2014 11:53 pm

Re: Temp files of backups are not deleted

Postby kandalf » Sat Apr 30, 2016 10:39 am

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.

Mr.Erbutw
Posts: 976
Joined: Tue Apr 29, 2014 10:05 pm
Location: RU
Contact:

Re: Temp files of backups are not deleted

Postby Mr.Erbutw » Sat Apr 30, 2016 11:05 am

rights to modify and delete.

kandalf
Posts: 51
Joined: Tue May 13, 2014 11:53 pm

Re: Temp files of backups are not deleted

Postby kandalf » Sat Apr 30, 2016 2:47 pm

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

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

--------------------------------


And this is with ftp backup

Code: Select all

-- SUMMARY --
2016-04-30 13:10:42 Remote: ftp://ns395609.ip-176-31-120.eubackups/seatwish//admin.2016-04-30.tar


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.

benlehrer
Posts: 1
Joined: Wed Oct 26, 2016 7:26 am

Re: Temp files of backups are not deleted

Postby benlehrer » Wed Oct 26, 2016 8:12 am

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?

huloza
Posts: 22
Joined: Thu Jul 28, 2016 5:15 am

Re: Temp files of backups are not deleted

Postby huloza » Tue May 16, 2017 1:09 pm

this happened to me when using sftp.

regards.


Return to “General Discussion”



Who is online

Users browsing this forum: No registered users and 10 guests