Submitted by masterg0g0 on Wed, 07/20/2016 - 00:45 Pro Licensee
Hello,
May be i am missing something, but it would be good if there was a delete option in the backup logs view. Presently i go to webmin file browser and do it manually. May be this was intentional.. but i think it would be good to have this option.
Thanks, Rohit
Status:
Closed (fixed)
Comments
Submitted by andreychek on Wed, 07/20/2016 - 10:31 Comment #1
Howdy -- there unfortunately isn't a built-in way to delete old logs.
It should only show the last 7 logs by default though, it should only display the others when doing a search.
Do you find yourself needing to view history older than 7 days a lot?
Submitted by masterg0g0 on Wed, 07/20/2016 - 10:45 Pro Licensee Comment #2
I am requesting this feature for the last 7 logs, ; ) .. it might be helpful for others? to easily delete a particular log.
Imagine multple domains have there backups.. and you as a root user have to clean some of them?
Submitted by JamieCameron on Wed, 07/20/2016 - 21:33 Comment #3
Are you interested in deleting the logs, or deleting the actual backup?
Submitted by masterg0g0 on Thu, 07/21/2016 - 00:29 Pro Licensee Comment #4
Logs and backup..
Submitted by JamieCameron on Thu, 07/21/2016 - 00:50 Comment #5
That's a good suggestion - I will work on adding support for deleting backups
Submitted by JamieCameron on Sat, 07/23/2016 - 18:15 Comment #6
This has been implemented, for inclusion in the 5.04 Virtualmin release.
Submitted by JamieCameron on Sat, 07/23/2016 - 18:15 Comment #7
Submitted by masterg0g0 on Sat, 07/23/2016 - 23:53 Pro Licensee Comment #8
great thanks :)
Submitted by masterg0g0 on Wed, 08/03/2016 - 05:28 Pro Licensee Comment #9
Ok quick feedfack Version 5.04, the backups logs where there was a failure does not delete.
Ex; Deleting backup from local file /home/backups/Full/tandt_%d-%m-%Y .. .. failed : No such file or directory
I was under the impression that both the log and backups could be deleted, may be you have to consider this scenario too.
Thanks
Submitted by JamieCameron on Wed, 08/03/2016 - 21:19 Comment #10
Yes, both the backup and the log should be removed.
On the "Backup Logs" page, does it show the actual path for that backup, or does it show it with the %d-%m-%Y date codes?
Submitted by masterg0g0 on Thu, 08/04/2016 - 00:44 Pro Licensee Comment #11
local file /home/backups/Full/tandt_%d-%m-%Y
Like this :)
it works and I love it :)
(debian jessie - latest distro + webmin + virtualmin) - thank you guys!
Submitted by masterg0g0 on Thu, 08/04/2016 - 05:06 Pro Licensee Comment #13
I agree very useful, and it works other than deleting " does it show it with the %d-%m-%Y date codes?" (Ubuntu 14.04 - distro + webmin + virtualmin)
Submitted by JamieCameron on Thu, 08/04/2016 - 23:17 Comment #14
For those who's backup log includes the date codes (which shouldn't happen) - were these manual backups, or were they run on schedule?
Submitted by masterg0g0 on Fri, 08/19/2016 - 00:09 Pro Licensee Comment #16
Sorry to come late on this, those were manually triggered backups
Submitted by JamieCameron on Fri, 08/19/2016 - 19:11 Comment #17
That's odd ... I can't re-produce this problem, sorry.
I assume that the actual backup directory contained the date, rather than the date codes like %Y ?
Submitted by masterg0g0 on Sun, 09/25/2016 - 05:25 Pro Licensee Comment #18
sorry to reopen this thread, I am getting this error while trying to delete backed up logs..
Error - File not found
Q1: I can delete the file from folder manually, how can i remove these references to show in the backup logs?
Submitted by JamieCameron on Sun, 09/25/2016 - 10:55 Comment #19
Oops, looks like this wasn't properly included in the GPL release. I'll fix that in the next version.
Submitted by masterg0g0 on Sun, 09/25/2016 - 13:53 Pro Licensee Comment #20
oops indeed :)
Submitted by masterg0g0 on Fri, 10/21/2016 - 03:56 Pro Licensee Comment #21
hello, was this enabled in the GPL version yet? bcos it is still failing with that error even after the webmin updates.
Submitted by JamieCameron on Fri, 10/21/2016 - 10:22 Comment #22
We haven't yet released a new GPL version with the fix.
Submitted by masterg0g0 on Sun, 11/27/2016 - 04:44 Pro Licensee Comment #23
hello, i would appreciate if i can get this fix package pls..
Submitted by hasse_basse on Fri, 02/24/2017 - 05:23 Pro Licensee Comment #24
SOLVED; The answer is already in the tread. I just didn't read it ! Sorry
After each backup I transfer the backup manually to my local computer via SFTP and then I delete the backup file. A result of this is that I can't delte the logfile because the backup is gone. The I response get is: Deleting backup from local file /backup_tar_version_to_download .. .. failed : No such file or directory
In the future I will delete the backup file on the server from within the Backup logs, but how do I delte the already exisiting logs (that are missing the backup files)?
Submitted by reckedj on Sun, 06/18/2017 - 00:57 Comment #25
Hi Guys, was this fix already implemented in the GPL release? When the scheduled backup automatic removal after x days deleted the backup files, the corresponding log-item did not. Now I have to manually delete the old log files in '/var/webmin/modules/virtual-server/backuplogs'. I'm running the latest version of the GPL at this moment (5.99). Thanks!
Submitted by JamieCameron on Sun, 06/18/2017 - 11:12 Comment #26
Oh, that's a separate issue - I'll fix that in the next release.