Hi All,
So, I realized a new behavior with sci2tech's sweet backup script, that, for me, is not ideal, and I think maybe others may want it changed in the release... I will let you decide...
The backup script deletes any folders in the /backups folder. For me, I have some domains with an archive script backing up to /backups/archive/ ... customers may also store something else there, who knows..
To modify this, I just modified /var/www/imscp/engine/backup/imscp-backup-all at line 108.
i changed
to
so that it is no longer recursive, and doesn't send the inconsequential "can't delete folder" error to the imscp error mailer
Also, (and I know this has been brought up before) what do we think about implementing something a little less disk intensive than deleting everything and recreating with tar+zip?
Perhaps if we went with an initial gzip --rsyncable and then did rsync backups from then on? Our servers would be much happier.
We could integrate the initial gzip --rsyncable with the domain creation process, that way we don't have to write any strange checks in the backup script, and that would be quick since it's only doing a couple files to start with.
How does this sound to everyone?
I think I'm going to begin implementing it myself anyways...