Do not delete daily backups - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: Do not delete daily backups (/thread-7391.html) |
Do not delete daily backups - gilbert - 08-04-2009 08:29 PM Hi, Is there a way to have the daily backups not deleted? Thanks, Gilbert. RE: Do not delete daily backups - Knut - 08-04-2009 08:36 PM Take a look at this: http://www.isp-control.net/forum/thread-6129.html RE: Do not delete daily backups - gilbert - 08-04-2009 09:04 PM My concern is to patch and then have to worry when the next version comes out. Is there a simple modification to the backup script that would just not delete the previous ones? RE: Do not delete daily backups - gilbert - 08-10-2009 08:57 PM Hi, Does anyone have any suggestions and advise on how to do this? The advice on upgrades would be very helpful, I would love to add this functionality by patching as long as it doesn't create complications when I do an upgrade. Thanks, Gilbert. RE: Do not delete daily backups - joximu - 08-10-2009 09:25 PM Hi Gilbert without changing the code you don't get what you want. But maybe just a small change in the backup script might do what you need: have a look at /var/www/ispcp/engine/backup/ispcp-backup-all, around line 390 Code: if ($rs == 0) { # everything ok if you comment the line where the old tar are deleted, then this might fullill your wishes :-) just a # in front of the line. # $rs = sys_command("$cmd_rm -rf $dmn_backup_dir/$dmn_name-*.tar.*"); of course, you have to find the line after every update of ispcp - but it's a fast correction. /J |