Beiträge von 0rtega

    Zitat von "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: dobackup.sh

    Code
    -rwxrwxrwx  1 root   root      48 Mar  3 13:32 dobackup.sh
    -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 ?
    Thanks

    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 http://forums.openmediavault.org/viewtopic.php?f=19&t=3906
    and this other thread http://forums.openmediavault.org/viewtopic.php?f=13&t=3205 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

    Zitat von "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: http://ftptest.net/
    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.


    Zitat von "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

    I have an old Synology Nas that I use for work and for leisure.
    It has 4 hard drive bays, and is configured in RAID 5.


    For the work side:
    -FTPS server (accessed by my customers via the internet)
    -Backup server. Backup of my work Windows 8.1 pc, just a trivial copy of files
    to the Synology SMB/CIFS share


    For the leisure side:
    -Storing of my media collection (videos, music, pictures)
    -Download station (Transmission-like torrent downloader)
    -Streaming server for my old WD TV Live


    The Synology backups itself on a machine on the network.
    A NasLite box rsync server.
    The Synology every odd day (1,3,5.. day of the month) wakes the
    NasLite box (via WOL) backups itself and then shuts down the NasLite
    box via an "Expect" script I wrote.


    What I want to accomplish, and in what I need help:
    -Migrate the functions of my old Synology Nas to OMV box (obviously :D )
    -FTPS server (I have experimented in the last weeks with OMV but I haven't
    looked into it very well)
    -Use SnapRaid instead of the software RAID 5 (tested and I love it!)
    -Using aufs for pooling (not tested and a bit confused in how it works) (Edit: Done! See second post)
    -Backup the OMV box to the NasLite box via rsync (not tested yet)
    -Automate the WOL of the NasLite box, and the shutdown via the "Expect" script
    I wrote. (I hope it's feasible in Debian...)
    -Transmission plugin (not tested yet)
    -Streaming server for my media (tested and it works flawlessly)
    -Backup up of my work pc (tested and it works flawlessly -much (a lot...) faster than
    the Synology Nas-
    -minor feature: I have written a couple of little programs that automate the process
    of finding and downloading .torrent files and send them to the Synology Nas
    "torrent folder" where the "Download Station" get them, and during the night
    downloads the files. It would be nice to move this programs to the OMV box and
    with wine (the software not the beverage :D ) execute them at scheduled intervals.
    Now they run on my work Windows 8.1 pc.
    Unfortunately i have no idea how wine works...

    I plan to migrate in the next six months, hoping that someone can help in some
    details of this project.
    I was tempted to use XPEnology instead of OMV because I am familiar in how Synology
    works, but the support of the OMV forums is really great, and for me this is a
    big plus... :D


    Thanks!

    Zitat von "ryecoaaron"

    Useful feature. I will add that feature to the next version that works with OMV 0.6.


    If you add the feature to convert the audio to .mp3 format, please add also the .FLAC format :)

    Tested 5 minutes ago. I have executed clonezilla via SSH and not from the desktop with VNC.
    Now the new save directory has root:root (to see that, logged with SSH to the OMV box, and with mc I have "navigated" to the save directory located in one of my data drives).
    Yes, a lot simplier than the VNC connection. Thanks again! :D


    p.s.: I have noted that in the clonezilla save directory there are several files.
    the file "Info-saved-by-cmd.txt" contains this command:

    Code
    /usr/sbin/ocs-sr -q2 -c -j2 -z1p -i 2000 -fsck-src-part -p choose savedisk 2014-02-28-19-img sdc


    The next time I have to run clonezilla can i use this command (obviously changing the save file name...) ?

    Funny, I have issued this command


    Code
    chmod -R 766 /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb/Disco2Share/2014-02-27-17-img/


    and now I can't access anymore to the folder "2014-02-27-17-img" (from my Windows 8.1 64bit pc) :D


    Code
    drwxrwSrw-+  2 root   users 4096 Feb 27 17:49 2014-02-27-17-img
    drwxrwxrwx+ 16 nobody users 4096 Feb 27 08:58 movies
    drwxrwsrwx+  2 nobody users 4096 Feb 28 15:59 tvshows
    drwxrwsrwx+  7 nobody users 4096 Feb 26 23:18 music

    I have a problem with the image of my system disk saved with Clonezilla.
    I have successfully saved my OMV system disk with PartedMagic (Clonezilla) on my OMV box data disk shared folder.
    Now i want to move the Clonezilla save directory named "2014-02-27-17-img" to my (very)old Synology nas,
    but i have this message "accesso negato" (in english "access denied") when I try to move the file "2014-02-27-17-img\sdd1.ext4-ptcl-img.gz.aa" :?::?:


    What I am doing wrong?


    Thanks in advance.