Posts by 0rtega

    Today I have made some progress.
    Thanks to a post of ryecoaaron, I was able to configure a rsync backup of my OMV test box.
    The other day I have tested the network backup via the lftp client (see my other post).
    Here the post of ryeco:


    System #1 - important files stored here - OMV 0.5
    System #2 - backup of important files - OMV 0.5 - ip address

    On system #2, go to Services -> Rsync. Check enable and add a module using default settings. We will call this module photos.

    On system #1, go to System -> Cron Jobs. Add a cron job to run at whatever time is good for you and use the following command:

    Here the code I used on my backup job to my NasLite rsync/ftp server.

    rsync -avr /media/AufsPool/_iso_/ rsync://

    I have successfully installed the expect, and the wake-on-lan support on my OMV box.

    The wake-on-lan support is needed because I want to turn on my NasLite box at a certain hour.
    Here the simple steps:

    apt-get install wakeonlan

    Then, I have created a cronjob with this command:

    wakeonlan AA:DE:05:37:4A:7D

    Finally, I have installed the "expect" utility that I have used to remotely log to my NasLite box and turn it off:

    apt-get install expect

    Then, I have created a little script that runs after the backup is completed:

    I hope someone can find this infos usefull :)

    I apologize to both of you, I had a browser plugin that erased the cookies everytime the browser was opened. Now works for me.

    Sorry again to both of you I have wasted your time.

    Thanks for the clarification, with my Synology (DSM 5 beta) for example the windows sizes and positions are saved, so when I log in the environment is restored.
    I was thinking that something similar was possible also in OMV.


    I could show you how to manually edit it but the changes will be lost with every version upgrade of OMV.

    It could be interesting, perhaps I could "automate" the edits in the source files.
    If is a simple thing to explain I'm interested, I don't want to bother you with a long and complex explanation, I don't want to waste your time :)

    EDIT: Thanks! I will take a look to the code tomorrow. Thank you again.

    Your drives are pratically new...

    9 Power_On_Hours 0x0032 099 099 000 Old_age Always - 838
    9 Power_On_Hours 0x0032 099 099 000 Old_age Always - 840

    Look at these values, you have no errors.

    196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
    197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0
    198 Offline_Uncorrectable 0x0030 200 200 000 Old_age Offline - 0
    200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 0

    If you want to be sure run a S.M.A.R.T. long test for each drive.…artmontools-debian-ubuntu

    The backup on my OMV box works pretty well :)

    For now I haven't used rsync because I'm not very familiar with the syntax :(
    I used lfpt (recyclying an old little script I wrote for another project)

    -install lfpt with the usual debian command:

    apt-get install lftp

    then in /root/ I have created this two files:

    the .sh script:

    lftp -f /root/naslite.txt

    and the command list to give in imput to the ftp client lftp:

    set ssl:verify-certificate no
    login anonymous anonymous
    mirror -R /media/AufsPool/_iso_/ /Disk-3/_iso_/

    /media/AufsPool/_iso_/ is the OMV box directory i want to mirror
    and /Disk-3/_iso_/ is the NasLite target directory.

    Very simple :)

    Thanks to ryeco and WastlJ.

    Quote from "WastlJ"

    Mine are all in the places where they belong to. Post scripts for pyload under ../pyload/scripts/ for example. Others are right in the home folder of root. I copy them sometimes to my raid. Not to execute them, just so save them if the system drive dies.

    Ok, understood...
    If i want to put it in the home of root is /home/root or /root ? (sorry but I'm not very familiar with linux...)

    Quote from "ryecoaaron"

    The backup part is easy. The restore part is the hard part.

    I understand...

    Earlier, after installing lftp (with apt-get install lftp), just for testing, I'm trying to execute the shell command:

    -rwxrwxrwx 1 root root 48 Mar 3 13:32
    -rwxr--r-- 1 root root 148 Mar 3 13:26 naslite.txt

    I get an error of "access denied". I have chmodded (+x) the script and chown root:root the script, but i got always the "access denied" error.

    Can you tell where I'm wrong ?

    On my system I have only these little anomalies on SMART attributes:

    My 2 Western Digital Hard Drives connected with Sata interface

    My Hitachi Hard Drive connected with USB interface

    Thanks to WastlJ and tekkbebe, I really appreciate your suggestions, I will study this thread
    and this other thread to understand better how it works.

    I have understood that I have to learn very clearly how to handle the FTPS users, and how assign to each one of them a specific directory...
    I am too used to the Synology, I have to learn first the users management in OMV.

    ...and I will make regularly Clonezilla images of my system hard drive, thanks to tekkbebe who showed me how to do it with PartedMagic via SSH :D

    Thank you again guys, I will post a new update as soon as I will make some progress... :D

    Quote from "ryecoaaron"

    There is an SSL tab in the ftp plugin that should do the same (I don't use ftp though).

    Thanks Ryeco I will take a look to that tab and start to make some tests.
    In the meantime I have found this site:
    I don't know if you already knew this site, but it seems extremely usefull for my purpose :D
    I will try to use this site to make the first tests and will report the results.

    Quote from "ryecoaaron"

    There really isn't a way to backup OMV from OMV yet.

    I understand that there isn't a Gui Page for that, but it is possible to execute a scheduled "rsync" script ? (I have no idea how to write it, but I ask anyway :D )

    From my old Synology Nas FTPS configuration page.

    With this configuration (and the correct port redirection on my router -port 21, and from port 55536 to port 55543-) all my customers can connect to my FTPS server folder.

    I have searched on the forum, but there are no posts talking about FTPS configuration.
    Someone can help me to replicate this configuration with OMV ?
    How can I test to connect to my own FTP from "outside" of my home network, and test if my server OMV configuration is correct ?
    I can't ask to my customers, because I don't want to tell them that I'm swapping my FTPS server... :D I would like to maintain "transparent" the migration.

    Thanks in advance for any help.

    I will start to note here my progress in the migration project.

    To start, I have concluded succesfully the installation of Aufs pooling.
    I want to comment the steps of the Aufs guide configuration because of my poor knowledge of the english language, I have misunderstood the guide and wasted a lot of time.

    Snapraid setup:

    Select d4 for Parity volume and save.
    Add all four drives to Content list.
    Add d1, d2, d3 to Data list.
    Apply settings.
    Click Sync in Commands tab.
    Sync will be manual. Adding a script like this to cron jobs or anacron is recommended.

    The SnapRaid guide (IMHO) is perfect and perfectly understandable (for me, at least... :D )

    I will modify a little the Aufs guide:

    aufs setup:

    - Create a shared folder for each drive - d1, d2, d3.
    (For example: in drive 1 create the shared folder "d1", in drive 2 create the shared folder "d2" and in drive 3 create the shared folder "d3")
    - Create a shared folder on any drive called poolshare.
    (Here for me was the critical part... --> Create ONE folder in ONE of the hard drives. Choose ONE drive, let's say drive 1, and create a shared folder called "poolshare")
    - Set the bind share as poolshare. (the "poolshare" folder in the previous step)
    - Set three branches as d1, d2, d3.
    - Check the mfs checkbox if you want the drives balanced. Leave unchecked to preserve folder structure. (all very clear here...)
    - Use the poolshare shared folder in other plugins (samba for example). No need to use d1,d2,d3 in any plugin. (also here very clear...)

    I hope this post can help someone like me that didn't understood very well the guide... :D