auanasgheps / snapraid-aio-script

The definitive all-in-one SnapRAID script on Linux. Diff, sync, scrub are things of the past. Manage SnapRAID and much, much more!
GNU General Public License v3.0
225 stars 36 forks source link

Add option to specify different snapraid-aio config file #65

Closed Cartache closed 5 months ago

Cartache commented 1 year ago

HI all,

Thanks for this wondefull all-in-one script which I use with such a pleasure.

Currently, when I encounter a situation where the update count of updated/deleted files is higher than the threshhold, I have to manually run the command to force a sync from the command line on the server. I would really appreciate the possibility to rexecute a dedicated cron job with a different config file (without deleted/updated files theshhold) after checking the reasons behind the warnings.

To be completely honest I use the cronicle app (that I recommend) to manage all my cron jobs on all my servers. Some jobs are set as "manual". AIO script is a perfect example.

Thank you, Denis

auanasgheps commented 1 year ago

Hello! Thanks for proposing this feauture!

It is certainly doable and I'm working on it. Hopefully I'll provide an update soon

auanasgheps commented 1 year ago

I made the changes to the dev branch.

You can now run the script with another config file by specifying the path of the file, such as snapraid-aio-script.sh script-config2.sh (if in the same folder)

I will update the documentation soon

Let me know if you like it!

Cartache commented 5 months ago

Hi, Sorry for not answering but I didn't receive any notifications. Il will check and keep you posted. Thank you again for your help and feedback.

Denis