Control Web Panel

WebPanel => Backup => Topic started by: Teo on September 25, 2020, 07:40:58 AM

Title: [Backup and NEW backup] what about ignoring symbolic links?
Post by: Teo on September 25, 2020, 07:40:58 AM
As already required, some kind of filed and folders exclusion (http://forum.centos-webpanel.com/index.php?topic=1932) 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 (https://github.com/s3fs-fuse/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
Code: [Select]
/usr/bin/rsync -avzr --no-o --no-g --delete /home/ACCOUNT/ /mnt/bk/cwp_backup/daily/ACCOUNTworking 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?


Title: Re: [Backup and NEW backup] what about ignoring symbolic links?
Post by: cynique on September 25, 2020, 11:18:46 AM
Look at "Custom Backup" thread.
Title: Re: [Backup and NEW backup] what about ignoring symbolic links?
Post by: Teo on October 01, 2020, 08:17:43 AM
Look at "Custom Backup" thread.
Thank you cynique, Iíve just seen your feedback  :)