Mounting network share for backup?

Hi all
I have WebHelp Desk running on a mac mini (10.6.8 Server) and I want to have it back up to an AFP share on our file server server (Intel Xserve 10.6.8). I can mount the share on the mini, point WHD at it and it backs-up its DB to that share. My problem comes when I log out. Once that log out is done, WHD doesn't see the share any more so the back-ups fail. Leaving the user logged in is one option but is a security risk. Does anyone have a suggestion?
Thanks!

Here is how I use a bash script and periodic (for scheduling) to mount a remote disk and perform a database MySQL database dump.

Similar Messages

  • How can I make OSX index a network share for spotlight?

    How can I make OSX index a network share for spotlight?
    I am using a QNAP NAS with SMB network shares, which I mount with OS X Mavericks. They are not searchable, as far as I know because of the indexing of network share is by default not activated.
    To force the OS to index them I activated this via mdutils. But this is no solutions. This makes spotlight to index the share once. But I want spotlight to index it always and keep it up to date. I have a huge amount of documents & fotographs, which is very difficult to manage without being searchable.
    Unfortunately the only solution I found in the www was the mdutils-way, which seems not to work, maybe only works not for me.
    I would appreciate any assistance,
    Thank you,
    Stefan

    My thanks to everyone who has contributed to solving this problem here.
    It appears that there still is NOT a good, reliable solution.  Please correct me if I'm wrong.
    I did find this on http://jonathansblog.co.uk/how-to-enable-spotlight-indexing-on-a-network-drive:
    ===================================
    To enable spotlight indexing on a network drive:
    # mdutil /Volumes/name -i on
    To disable the indexing of a connected network drive:
    # mdutil /Volumes/name -i off
    To check the status of indexing on a connected network drive:
    # mdutil /Volumes/name -s
    ===================================
    And, I found this on the Synology NAS forums:
    cd /Volumes
    mdutil shareName -i on
    mdimport -Vp ./shareName
    where shareName = name of your share
    I have used the mdutil /Volumes/name -i on, and it seems to work.
    But, if I understand it correctly, it is a one-time indexing -- the index is NOT keep up-to-date with changes.
    So, how can we keep the index up-to-date?
    My thought was to schedule a Terminal file to execute each night with the mdutil code.
    Would this work?  If so, how would you setup a scheduled run?
    Would it have to be done on each Mac that accesses the Share?

  • In Nautilus, mounted network shares not showing up right away

    I've noticed a strange problem recently (last couple of weeks) where my mounted network shares don't always show up right away in Nautilus (side bar or desktop- like they used to). For example, if I manually mount an NFS share in CL to /media/files it won't pop up in Nautilus right away like it used to. It will only show up after several minutes or if I plug in a thumb drive to trigger it to refresh. Also, when my computer is in suspend and I resume it, all predefined network share mounts in fstab that are indeed mounted won't be present in Nautilus upon resuming from suspend (they did before).
    I'm not sure where the problem lies as Nautilus or dbus haven't been upgraded in the repositories recently. I tried looking at recently updated packages but I can't pin it on one that would be causing the problem. I'd like to get an idea of what packages are affected before submitting a bug report. If anyone has any idea on the package I can downgrade no problem and test this further.

    Figured out the last filesystem upgrade from Decemeber is causing this. Bug posted- FS#27851.

  • Auto-Mounting Network Shares/Disk Images

    Hi,
    I'd like to share how I solved my problem with auto-mounting a network disk image/folder share to be used as a custom library/location for Aperture 3.xx. I can now either reference the master photos from the network or have it copy to this disk image volume on the network, although it might be better to have it copy to the disk image volume, so one can move it around as a file later. I researched hard over these forums and internet resources and discovered what I thought was the best way to accomplish this. Initially, I found right away that Aperture doesn't allow you to create a library over your network drive or a home server such as mine, unless it is partitioned/formatted to Mac OS. This wasn't acceptable for me as I also run Windows 7 PCs that need to utilize the network folder shares, as well.
    I don't understand why I don't have this problem using iPhoto 2011, and do with Aperture 3.0, which is a far more expensive application. Anyhow, I read a little about NFS, but didn't know how to implement this or if it required the Mac Server and/or a non-built in application, it probably isn't compatible with windows. So, I found that by creating a .DMG disk image file, as a partitioned/formatted Mac OS file in Disk Utility, and saving it to the network folder of my choosing, did the trick.
    Steps I used to accomplish this:
    -Go to Disk Utility and create "New Image"
    -Select format w/ MacOSX Extended(journaled) and choose "single partition/GUID" type (or whatever you want)
    -Enter a custom size of your disk image (ex in 1GB or 1TB). Click "Create"
    * I created this locally 1st and then I copied it over the network, to the network folder/subfolder on my HP Mediasmart Home Server EX495. I found that creating it over the network took too long and would crash Disk Utility.
    -After it's copied to your desired location over the network folder, open Automator.
    -choose "Application" workflow, double-click to add "Get Specified servers". Enter location of your server (ex smb://hpserver/)
    -Then add "Connect to Servers",
    -Then add "Get specified Finder Items". Click Add, and locate your disk image file over the network. (this will automatically add the location path. For ex. smb:/hpserver/photos/aperture_library.dmg)
    -Then add "Mount Disk Image".
    -Then test workflow by clicking on "Run" button on top right of window. If your
    Finder->Preferences->General settings on your Mac is set to show "Connected Servers" on your desktop, your disk image will appear on you desktop.
    -Finally, save this Application workflow as an application by clicking File menu->Save As. Save this to your documents folder area.
    -To have your Mac auto-mount your disk image automatically when you login:
    ->go to System Preferences->Accounts->your "Admin account name"->Login Items
    ->click "+" sign and navigate to the Documents folder, to where the Automator application you saved
    ->click Add. Once done, it will appear on the Login Items area. You can choose to hide it, if you want by clicking the checkbox.
    -Now Restart your Mac, and now your disk image should auto-mount.
    Hope this helps, as it helped me solve the issue. Too bad one must have to program this and it is not native on MacOSX.

    Too many steps. Do this:
    1. Go to Disk Utility and create a disk image with the following properties:
    Format: Mac OS Extended (Journaled)
    Partitions: Hard Disk
    Image Format: Sparse bundle disk image
    2. Copy the image you just created to the share on the network where it should reside.
    3. Open System Preferences, and click on the Accounts icon
    4. Select *your account* and click on the Login Items tab
    5. Drag the icon for the disk image from the network share into the Login Items list
    If a login item is something on a network share, it will reconnect to the share it's located on automatically first.
    If a login item is a disk image, the disk image will be opened and mounted.
    It's important that the image is a journaled one because if it isn't, being disconnected from it while writing would be potentially disastrous.
    It's important that the image is a sparsebundle for two reasons: sparsebundles only take up as much space as they need (e.g., a 1Tb sparsebundle with 100M of data takes up about 100M of space), and they also break the disk down into smaller files. If the underlying filesystem on your network share is FAT32, then no file can go over 4Gb. If you use a sparsebundle, of course, there's no practical limit to how large the disk image can get. Also, it can speed up certain types of backup procedures.
    I suggest using partition type "Hard Disk" instead of "1 partition GUID" because, as a disk image, there's no sense in having a partition table or making it bootable (because you can't boot from the image).

  • How to mount network share on lion permanently

    I want to know how to mount a network share from my NAS on mountian lion.
    I have seen and tried the suggestions about using command+k or the "go connect to server" and mounting that way so the password for the share is put into the keychain, then dragging the now mounted share to the system preferences user login items.
    However this isn't satisfactory. It causes windows to pop up for each share that I have when logging in.
    What I Want is for the share to appear as a mounted hard drive in the left navigation column of the finder window. I'd also like to be able to make a shortcut to the share on my desktop (or put it in my dock bar). If it shows up under devices that is perfection okay too, just so it's there somewhere logical.
    The pop up windows simply clutter up the desktop, and if they are closed, then the share is closed too, and then there is a manual process of having to use the very tedious command+k or go connect to server method to connect again.
    I need them to be able to click and open the share. I don't need them wasting time putting in share paswords and the link over and over.. the share should just be there for them as they work through the day. And if they close the folder/window, then it should be easy to get back to it.
    This is possible on windows and I want these mounts to work the same way.
    note: my NAS uses smb

    That should work. You could try deleting the passwords in Keychain associated with it and try it again.
    Another route: Create Applescript:
    Select the network drive and get info on it. Copy the server address. Open up Applescript Editor in the Utilities folder and create a new script. Type in mount volume, add space, "paste server address within quotations", and save as application to your documents. Run it from within applescript editor to verify it works. When it asks for a passwork, save it in Keychain.
    Under system preferences/accounts/login items, click the + sign to add and select the saved application.

  • Net Use give error 67 when trying to mount network share in Windows PE

    I am trying to deploy Windows 7 Pro by PXE booting Windows PE5 and applying a WIM file over a network share.  The problem that I am running into is that I get an system error 67.  I can ping the server with the network share with both the IP
    and the FQDN, but whether I use the machine name OR the IP I get a system error 67.  I verified that the account that I am using to connect has permissions, but even excluding the user name and waiting for it to prompt me for a user name gives the same
    error.  Any idea what is going on?

    Check : http://social.technet.microsoft.com/Forums/en-US/9c429bef-edf0-4bad-83a3-644e6ba28ea8/net-use-system-error-67?forum=winservergen
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • Running applications and mounting network shares are system boot...

    I have found plenty of User boot tricks for OSX. I am looking for the correct and best way to do 2 things.
    1. I want to run Aptana (a OSX application) which is the bootstrap for the service. Right now I have to manually start the service after rebooting. Where would one start.
    2. I want my server to mount a smb share on startup, I do NOT need boot time access.
    Any help and/or links would be awesome. Google is failing me.

    An applescript application set as a user login item should be a better choice.
    I'm just about to work this out for an SMB mount of a users Windows home (augmented AFP homes are breaking preventing the 'Mount UNC path' option in the AD plugin).
    Post back if you still want info.
    D

  • AppleScript to mount network share & launch application fails on computers

    Hi All,
    I am trying to write a script that I can place in the dock that will perform two actions. The first action is to mount a sharepoint, the second is to launch an application.
    I have been very successful at doing this on my iMac (Intel). The script works under any user.
    However, I have a lab of 26 Mac Minis (Intel) and the script won't work!!
    Here's my script (it's simple!):
    tell application "Finder"
    mount volume "afp://ok-xserve-01.mpcsd.org/Apps" as user name "[user]" with password "[password]"
    end tell
    launch application "Type To Learn 3"
    Of course, I replace the items in brackets with their appropriate values.
    I save the script as an application. When I try to run it on any of the Mac Minis, I get the following error message:
    '"afp://ok-xserve-01.mpcsd.org/Apps" doesn't understand the <<event aevtmvol>> message'
    I've tried it w/o "as user..." and also in the form of "afp://user:pass@server/share" but all returns the error message above.
    I even logged in as the user on one of the lab computers, created the script, and it ran! As soon as I logged off and logged back in, it stopped working.
    These systems, along with my iMac, are bound to an Open Directory & Active Directory, and authenticate via Active Directory.
    I can log in as the lab user on my iMac, and the script will work every time I launch it. It'll work as any user on my iMac.
    Any ideas? If you need more info let me know!
    Thanks!!

    Try putting in the command "delay 30" before the other lines. It delays the script for 30 secs...OSX needs to load before running the script

  • Re-use network share for SUP downloads between SCCM 2007 and 2012?

    We currently have network folders created to download software updates for SCCM 2007. Now that we are bringing up SCCM 2012, can I point SUP downloads to those same folders so I don't need to duplicate file space for both SCCM environments?  Is
    the structure the same so either SCCM can pull from them to their respective DPs?
    Thanks!
    Russell

    No, you can't directly use the same folders and files for the package source locations. You can specify the 2007 folder as a source to download content from though when downloading updates.
    Are you really that concerned about 20-50GB though? If so why? You should be using cheap storage for this.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Saving network configurations for backup

    Where can I find detailed instructions on which files I need to save to restore my network settings after backing up my documents and installing a new operating system?
    I am currently usign Tiger and am thinking of upgrading to Leopard (NOT Snow Leopard), and would like to reformat my drive while I am at it.
    I have two My Passport external drives, where I'd like to save documents and configuration files for the three users I have set up on my MacBook.
    I would then like to do a similar thing on my oldish eMac, which is running Panther and I would like to upgrade to Tiger.
    Many thanks in advance.

    May I ask an associated question ...
    Certainly, feel free to ask anything, it's a good idea when in doubt.
    So my question is, wouldn't a clone have the same chances of replicating these problems once I migrate my data and settings into the new installation?
    Most of the time it's OS associated files, which you'll have all new ones of, some User settings may be a problem but can usually be tracked down.
    You could also just clone it then Import things like Mail, AB, etc., but a Clone assures you have everything you may ever need.
    Perhaps we should work on the freezes?
    Very Important, how much Free Space is on your Hard Drive first of all?
    One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for action in Safe Mode...
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
    Reboot, test again.
    If it only does it in Regular Boot, then it is some 3rd party add-on, Check System Preferences>Accounts>Login Items window to see if it or something relevant is listed.
    Check the System Preferences>Other Row, for 3rd party Pref Panes.
    Also look in these if they exist, some are invisible...
    /private/var/run/StartupItems
    /Library/StartupItems
    /System/Library/StartupItems
    /System/Library/LaunchDaemons
    /Library/LaunchDaemons

  • Mount Network Shares (Share Points) Remotely

    Am I going to need a VPN for this or is there another, easier method?
    I have OS X Server at my small business; am looking at remote solutions. Timbuktu is OK for control but I really want to be able to access certain volumes and folders as if I was "right there"...

    You dont need timbuktu to control OSX server screen sharing is now built in.
    The most secure way to do what you want it to use ssh tunneling. You dont need vpn. with ssh you could run screen sharing and apple filesharing through the ssh tunnel.
    By default remote login is enabled in osx server. Being a server if configured correctly it will have a static ip address.
    So configure your office networks router to forward tcp port 22 from the internet to the ip address of your server.
    Then you need an account on the server, maybe you are already the admin account.
    open your terminal the following commands will setup a tunnel for file sharing and screen sharing.
    screen sharing tunnel
    ssh user@server -L 5901:localhost:5900
    replace server with the actual public IP address of your office internet connection. replace user with the actual account name on the server.
    Once logged in open the screen sharing app and use a host name of localhost:5901
    for file sharing use
    ssh user@server -L 5548:localhost:548
    once logged in
    press command +K and in the server address use localhost:5548
    that is it.

  • NSS 324 - Using Network Share as backup target

    HI,
    Rather than using a USB attached drive as a backup target I'm trying to use another NAS via a shar e- anybody know if that's possible as I havet struck the jackpot yet...
    Cheers

    Andrew,
    If you are wanting to use a second NAS device you can use the Rsync to replicate data to the second NAS. This is under Remote Replication via a Share.
    Cisco Small Business
    Support Engineer
    --Jason--

  • Auto Mounting Network Shares

    How would I go about automatically mounting Windows CIFS shares as well as Linux NFS and Samba (SMB) shares on my desktop at login???
    Thanks,
    -brian

    Once they are mounted on your desktop you can drag them onto your login items window in your account preferences.

  • Security Group Creation in Specific OU and Create Network Share For the Security Group

    Hi,
    We would really want to create a PowerShell script that creates a specific Security Group within a selected Organisation Unit.
    Brief Scenario;
    We have created several Organisation Units. Each Organisation Unit contains another Organisation Unit called users. 
    +OU=Netherlands
    ++OU=Company A
    +++OU=users
    ++OU=Company B
    +++OU=users
    And so forth.
    If we run the PowerShell script it should create a list of all the Companies in container Netherlands. After the list is created it creates an output like 1. Company A; 2. Company B. (Forearch ..)
    The script asks for user input where to create the Security Group. If user selects option 2, a security group Called "Company B" is being created. All the users located in the Organisation Unit users within Company B are joined to that group. (Sets
    option 2 as a value like Security Group = "$Company B", create Security Group "Universal, Global (option), and get all users from container users and join them)
    Then without user interaction a share is being created. Granting Domain Administrators full access and the Security Group which has just been created.
    Is somebody able to help me with this kind of script?
    Thank you in advance,
    With kind regards,
    Danny Locorotondo

    Already gathered some information. Have this as a result. Now I need to figure out how to put the results into a list, so the user can select the group. As far as now I am stuck.
    Import-Module ActiveDirectory
    Function SelectCollectionRelease 
        [CmdletBinding()]
        Param
            [Parameter(Mandatory=$true,
                       Position=0,
                       HelpMessage='Enter the Release of the Collection. By example: Alfa,Beta or Charlie')]
            $CollectionRelease
        IF(!$CollectionRelease)
            write-host "`n You did not select a proper Collection Release" -foregroundcolor "red"
    SelectCollectionRelease 
        Elseif($CollectionRelease)
        [string] $OUPath = "OU=$CollectionRelease,OU=VDI,OU=carsystems,DC=carsysdev,DC=local"
    if (!([adsi]::Exists("LDAP://$OUPath"))) 
    write-host "`n Collection Release does not exists" -foregroundcolor "red"
    SelectCollectionRelease 
    else
    write-host "`n Collection Release exists." -foregroundcolor "green"
    write-host "`n Selected $OUPath ..." -foregroundcolor "yellow"
    Get-ADGroup -SearchBase "OU=$CollectionRelease,OU=VDI,OU=carsystems,DC=carsysdev,DC=local" -filter {GroupCategory -eq "Security"} | Format-List -Property Name
        Else
            //$SecurityGroup = Get-ADGroup -SearchBase "OU=$CollectionRelease,OU=VDI,OU=carsystems,DC=carsysdev,DC=local" -filter {GroupCategory -eq "Security"} -and (ObjectClass -eq "user")
    SelectCollectionRelease 

  • Mounted network shares pop up in Finder with every logon

    Every time I log in, a Finder window pops up for every server share I'm connected to. I work in basically a Windows shop, so, I need to connect to 7 or 8 Windows shares, all day long. It's annoying to have to close all of these windows. I've found some solutions here using either AppleScript or Automator, but, neither of them work, at least now under Lion. It did apparently work under older OSs.
    Thanks.

    Figured out the last filesystem upgrade from Decemeber is causing this. Bug posted- FS#27851.

Maybe you are looking for

  • Displaying images in an application frame

    I'm trying to display a .gif in a frame. The first challenge is to turn the file(local) into an Image class. I don't know how to do that. Second is taking that Image and using Graphics to draw it. Alas, made necessary are "ImageObserver", "ImagerCons

  • ALV Grid Layout problem

    I have define a form layout on the first screen (ALV) of my program then the program call another screen,  the same layout is applied to the new screen 0200 (ALV). I don't want the same layout been applied to the new screen. What is my problem? Regar

  • Logging and Capturing

    As a result of this thread: http://discussions.apple.com/message.jspa?messageID=3857627#3857627 I did a test of various ways to capture footage into FCP. Sorry for saying this again but I’m new to FCP - after 20 some odd years editing with proprietar

  • Error when trying to download the free trial of cs6

    When I try to download the free trial of photoshop cs6 extended it says there is an error.." This application cannot be installed because this installer has been mis-configured. Please contact the application author for assistance." why does this hap

  • OEM Connection/Oracle 8i PE

    Hi, I just installed Oracle 8i Rel. 8.1.6.0 on my personal computer. I'm not able to use enterprise manager because of the following error: VTK-1000: UNABLE TO CONNECT TO THE MANAGEMENT SERVER... PLEASE VERIFY THAT YOU HAVE ENTERED THE CORRECT HOSTNA