adding new drive - Mounted, can find it under /srv but doesn't show up in Snapraid or Shared Folders drop down

  • 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.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.


  • you can redimension window until output seen to be aligned.


    thats all


  • 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.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.


  • 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 !


    Code
    using (var client = new SshClient(host, username, password))
    {
        client.Connect();
        SshCommand cmd = client.CreateCommand(script);
        IAsyncResult asynch = cmd.BeginExecute();
        StreamReader reader = new StreamReader(cmd.OutputStream);
        while (!asynch.IsCompleted)
        {
        ...
  • Just some friendly advice. Running a sync without first running a diff and evaluating those results is not a good idea.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.


  • 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.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.


Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!