If you want better output run it in the shell instead.
Better still, run one of the several scripts that will email you a nicely formatted report.
If you want better output run it in the shell instead.
Better still, run one of the several scripts that will email you a nicely formatted report.
Is the command "snapraid sync" the shell the same as in the command "sync" in the web gui ?
I am just learning shell commands and I will write my own script
Stay healthy Bernd
Is the command "snapraid sync" the shell the same as in the command "sync" in the web gui ?
Yes.
Perfect !
I wrote a software in C# thar starts the shell commands 'snapraid sync' and 'snapraid scrub', shows a perfect progress and writes a log file.
Thank you for the help !
Just some friendly advice. Running a sync without first running a diff and evaluating those results is not a good idea.
I just ran a 'snapraid diff'. It shows a lot of files. But I don't know what that should tell me.
#Bernd
diff tells you what new files have been added, what already existing files have been modified, and what files have been removed.
You should be able to explain the differences you are seeing. Those changes that you can't explain may have been caused by processes you did not initiate.
For example, a large number of newly added files that you do not recognize could mean that someone has access to your server and is using it to store files, and presumably is also providing them to be downloaded to other machines. In other words, someone may have hijacked your machine and is using it as a warez server. There would also be unexplained bandwidth consumption associated with this - if you actually monitor that.
Another example, if you see a lot of removed files that you yourself didn't delete, then you would want to find out how that is happening.
One possibility is that after you run a sync you could lose the ability to recover removed files if they were accidently or maliciously deleted.
Thank You !
#Bernd
Don’t have an account yet? Register yourself now and be a part of our community!