DelSol 10 Posted March 30, 2020 Share Posted March 30, 2020 Hey guys, the Server Config Backup plugin creates a lot of small files, mostly xml. As there is no incremental backup anyway, wouldn't it be nice to just zip the whole backup? Thats probably a one liner and would make handling backups much easier. Link to comment Share on other sites More sharing options...
DelSol 10 Posted March 30, 2020 Author Share Posted March 30, 2020 I made a quick workaround for everyone with the same issue. A bash script thats triggered via cron 10 minutes after the backup job in emby. would still be nice to do this within the plugin right away in my opinion. #!/bin/bash cd /your/emby/backup/folder shopt -s dotglob find * -prune -type d | while IFS= read -r d; do string="$d" if [[ $string == *"Emby Backup"* ]]; then echo "$d" is getting zipped zip -r "$d".zip "$d" rm -r "$d" fi done Link to comment Share on other sites More sharing options...
Luke 36887 Posted March 30, 2020 Share Posted March 30, 2020 Hi, yes I agree it probably would make sense. Thanks for the feedback. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now