New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

[Backup and NEW backup] what about ignoring symbolic links?

Started by Teo, September 25, 2020, 07:40:58 AM

Previous topic - Next topic

Teo

As already required, some kind of filed and folders exclusion could be very useful.
What I'm asking now it to exclude symbolic links from backup.
For sites with large data I often use external services like Amazon S3 mounted with s3fs-fuse or on other volume mounts.
Well, there was the default backup enabled and after some alerts from Netdata I saw the backup process
/usr/bin/rsync -avzr --no-o --no-g --delete /home/ACCOUNT/ /mnt/bk/cwp_backup/daily/ACCOUNT
working hard, downloading 2TB of files from Amazon S3 filling my local volume (and spending $ for AWS S3 traffic).
What about adding a --no-links to the command, or better, allowing to customize/override the backup script?




Teo