Cpt. Chaz Posted September 3, 2020 Share Posted September 3, 2020 recently had to do a fresh install of unraid, and incidentally lost all my user scripts (as they're stored on flash). So, i wrote a simple script to backup user scripts to the array in my backups destination. flash path should be the same for everyone (unless you manually changed it), you'll just need to adjust destination path accordingly. Maybe somebody can find it useful. #!/bin/bash dir=/boot/config/plugins/user.scripts/scripts/ echo 'Copying Scripts' rsync -avh $dir /your/backup/destination/path chmod -R 777 /your/backup/destination/path echo 'all good' Cheers! 4 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.