Mac Backup on Windows Server (Wildcard issues)

So our Art department is suppose to be backing up all files to a Windows Server. Which brings this problem. Of course being designers we use wildcard symbols on naming files which the windows server won't allow. So when we attempt to backup, the copying of files stops because of wildcards in certain file names.
Now we would just go back and go through all the files and fix the wildcards... but this would take years and time is not on our side. Now we have adopted the practice of not using wildcard symbols now but we still have a large back catalog of files that still use them.
Is there some type of Windows side server script that addresses this issue which makes the use of wildcards possible on the windows server?
Or am I out of luck? I would think someone has a fix for this or something?
Thanks,
adam

I would archive the files on the Mac first (into a .tar, .zip, etc. archive), and copy a single archive to the server that has no file naming issues. At least, that is the free way of doing things

Similar Messages

  • [Forum FAQ] Introduce Backup in Windows Server 2012 R2 Essentials

    Windows Server 2012 R2 Essentials provides reliable ways to perform regular backups of your server and backups of your network computers.
    1. Server Backup
    Description:
    Backs up your server running Windows Server Essentials. The data is backed up to an external USB drive. You can also perform full system restore of server.
    Operations:
    On Dashboard, please select DEVICES and then navigate to the server which you need to backup. Right click the server and select Set up backup. When set up complete, you will be able to
    Start a backup for the server. (Figure 1)
    Figure 1
    More information:
    Manage server backup in Windows Server Essentials
    Restore or repair your server running Windows Server Essentials

    3. Microsoft Azure Backup
    Descriptions:
    Performs an online backup of files or folders on your server. When you use Azure Backup to back up server data, the information is encrypted by using your passphrase before it is uploaded to a secure datacenter on the Internet.
    Operations:
    1) Open Dashboard and follow the path: HOME-> Get Started-> ADD-INS-> Integrate with Windows Azure Backup. Then as Figure 3 shows, you need to “Click to sign up for Windows Azure Backup” and “Click to download Windows Azure
    Backup integration module”.
    Figure 3
    Please note: when you click to download, you may encounter the issue as Figure 4 shows. If so, please follow the path:
    Tools-> Internet Options-> Security->
    Trusted sites-> Add this website to the zone and add
    http://downlaod.microsoft.com,
    https://activedirectory.windowsazure.com in Trusted sites in IE. (Please uncheck
    Require server verification (https:) for all sites in this zone). Then please check if you can download as normal.
    Figure 4
    2) After you download the OnlineBackupAddin, please run it. Then begin to install the add-in. (if any issue occurs in your installation of add-in, please navigate to C:\PrgramData\Microsoft\Windows Server\Logs folder and check
    InstallAddin log file if you can find some clues.)
    3) During your installation, KB 2873390 may be required. Please download the update package and run it. Then Windows Azure Backup Agent Upgrade Wizard appeared. Please follow it and complete as Figure 5
    and Figure 6 show.
    Figure 5
    Figure 6
    4) Then please re-open Dashboard, you will find ONLINE BACKUP option. (Figure 7) There will be three steps that you need to do: (i)
    Upload a certificate. (ii) Register your server.
    (iii) Configure backup settings.
    Figure 7
    (i). Upload a certificate. (In this example, we use the second option: Upload certificate to Windows Azure Backup vault)
    Please logon Windows Azure, select RECOVERY SERVICES and click
    NEW. Follow the path: RECOVERY SERVICES-> BACKUP VAULT->
    QUICK CREATE. Please type NAME and select
    REGION, then click CREATE VAULT. When create completes, please click the name of this new recovery service that you create. As Figure 8 shows. Then select Manage Certificate to add or update the certificate file (.cer) that contains
    a public key for the vault. The certificate is used to register servers with the vault.
    Figure 8
    (ii). Register your server
    On Dashboard, navigate to Online Backup and click Register. (Figure 9)
    Figure 9
    Then it will check the certificate. And then you need to set a passphrase to secure your data. (Figure 10)
    Figure 10
    When you set passphrase complete, please click Next to continue. When register successfully. You will see Figure 11.
    Figure 11
    (iii). Configure backup settings
    When register completes, please click Configure Online Backup. Then you can follow the Configure Online Backup wizard to configure online backup (add folders), specify the backup schedule, specify the backup retention policy and choose bandwidth usage. The
    all process will be shown in Figure 12-16.
    Figure 12
    Figure 13
    Figure 14
    Figure 15
    Figure 16
    After all configurations complete, you will be able to see that the server integrates with Windows Azure Backup. (Figure 17)
    Figure 17
    On the Dashboard in server essentials, you will be able to start backup online. (Figure 18)
    Figure 18
    After backup online, you will see the protected data as Figure 19 and Figure 20 show in Dashboard and Windows Azure.
    Figure 19
    Figure 20
    More information:
    Manage Online Backup in Windows Server Essentials

  • How to create Auto weakly backup in Windows Server 2012

    Hello
           1. I want to set auto backup in windows server 2012 Weakly.
    2. can i Set auto backup like a normal data copy.

    By configuring automatic backup, you can schedule this task according to your choice(weekly/monthly). You can use backup schedule wizard accessed from the Windows Server Backup user interface (Wbadmin.msc).
    To schedule backup task by using powershell, please checkout this link :
    http://technet.microsoft.com/en-us/library/dd759156.aspx
    Also, have a look at here :
    http://technet.microsoft.com/en-us/library/cc770757.aspx

  • Can I use Azure Backup and Windows Server Backup in a Windows Server ?

    Can I use Azure Backup and Windows Server Backup in a Windows Server ?
    I want to use both Azure Backup and Windows Server Backup for two senarios.
    For Disaster Recovery = Azure Backup to Azure Storage.
    For non-Disacter Recovery = Windows Server Backup to a on-premises disk.
    The non-Disaster Recovery mean a file or folder recovery, disk crash recovery, migrate to another servers.
    The non-Disaster Recovery need the speed of recovery just like 10 TB recovery as soon as possible.
    If I can use both Azure Backup and Windows Server Backup in a Windows Server,
    Are there any notes for using both ?
    Regards,
    Yoshihiro Kawabata 

    Hi Yoshihiro Kawabata,
    Thanks for posting here!
    Azure Backup to Azure Storage and Windows Server Backup to a on-premises disk. These are two different question and can be answered individually.
    Azure Backup to Azure Storage - Possible.
    Windows Server Backup to a on-premises disk - Possible.
    Can I use Azure Backup and Windows Server Backup in a Windows Server? Is a question.
    I will check on this and get back to you at the earliest.
    Thanks!
    Sadiqh

  • DPM 2012 R2 - Windows Server 2012 R2 Hyper-v backup of Windows Server 2003 R2 - Non-retryable error 0x80070490

    Hi,
    I have a hyper-v host running Windows Server 2012 R2 Standard with Hyper-V on it, and on that host I got 5 virtual machines running and of those 5, 4 of those the DPM are able to backup but when DPM tries to backup a server running Windows Server 2003 R2
    I get the following errors in the eventlog.
    Log Name: Microsoft-Windows-Hyper-V-VMMS-Admin
    Source: Microsoft-Windows-Hyper-V-VMMS
    Date: 2013-11-28 10:46:58
    Event ID: 18014
    Task Category: None
    Level: Error
    Keywords:
    User: SYSTEM
    Computer: HYPERV05.domain.local
    Description:
    Checkpoint operation for 'SERVER01' was cancelled. (Virtual machine ID 5221623F-C80C-4B92-AD02-F545D118C859)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Microsoft-Windows-Hyper-V-VMMS" Guid="{6066F867-7CA1-4418-85FD-36E3F9C0600C}" />
    <EventID>18014</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2013-11-28T09:46:58.365308800Z" />
    <EventRecordID>411</EventRecordID>
    <Correlation />
    <Execution ProcessID="2116" ThreadID="4248" />
    <Channel>Microsoft-Windows-Hyper-V-VMMS-Admin</Channel>
    <Computer>HYPERV05.domain.local</Computer>
    <Security UserID="S-1-5-18" />
    </System>
    <UserData>
    <VmlEventLog xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
    <VmName>SERVER01</VmName>
    <VmId>5221623F-C80C-4B92-AD02-F545D118C859</VmId>
    </VmlEventLog>
    </UserData>
    </Event>
    Log Name: Microsoft-Windows-Hyper-V-VMMS-Admin
    Source: Microsoft-Windows-Hyper-V-VMMS
    Date: 2013-11-28 10:46:58
    Event ID: 18012
    Task Category: None
    Level: Error
    Keywords:
    User: SYSTEM
    Computer: HYPERV05.domain.local
    Description:
    Checkpoint operation for 'SERVER01' failed. (Virtual machine ID 5221623F-C80C-4B92-AD02-F545D118C859)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Microsoft-Windows-Hyper-V-VMMS" Guid="{6066F867-7CA1-4418-85FD-36E3F9C0600C}" />
    <EventID>18012</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2013-11-28T09:46:58.365308800Z" />
    <EventRecordID>412</EventRecordID>
    <Correlation />
    <Execution ProcessID="2116" ThreadID="4248" />
    <Channel>Microsoft-Windows-Hyper-V-VMMS-Admin</Channel>
    <Computer>HYPERV05.domain.local</Computer>
    <Security UserID="S-1-5-18" />
    </System>
    <UserData>
    <VmlEventLog xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
    <VmName>SERVER01</VmName>
    <VmId>5221623F-C80C-4B92-AD02-F545D118C859</VmId>
    </VmlEventLog>
    </UserData>
    </Event>
    Log Name: Microsoft-Windows-Hyper-V-VMMS-Admin
    Source: Microsoft-Windows-Hyper-V-VMMS
    Date: 2013-11-28 10:46:58
    Event ID: 10150
    Task Category: None
    Level: Error
    Keywords:
    User: SYSTEM
    Computer: HYPERV05.domain.local
    Description:
    Could not create backup checkpoint for virtual machine 'SERVER01': Element not found. (0x80070490). (Virtual machine ID 5221623F-C80C-4B92-AD02-F545D118C859)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Microsoft-Windows-Hyper-V-VMMS" Guid="{6066F867-7CA1-4418-85FD-36E3F9C0600C}" />
    <EventID>10150</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2013-11-28T09:46:58.365308800Z" />
    <EventRecordID>413</EventRecordID>
    <Correlation />
    <Execution ProcessID="2116" ThreadID="4280" />
    <Channel>Microsoft-Windows-Hyper-V-VMMS-Admin</Channel>
    <Computer>HYPERV05.domain.local</Computer>
    <Security UserID="S-1-5-18" />
    </System>
    <UserData>
    <VmlEventLog xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
    <VmName>SERVER01</VmName>
    <VmId>5221623F-C80C-4B92-AD02-F545D118C859</VmId>
    <Parameter0>%%2147943568</Parameter0>
    <Parameter1>0x80070490</Parameter1>
    </VmlEventLog>
    </UserData>
    </Event>
    What I have done to try to troubleshoot this issue is:
    Reinstalled DPM - No sucess
    Restarted the Hyper-v Host - No sucess
    I'm at the point where I am out of ideas and google hasn't given me much.
    /Joseph

    i have the same error.
    "vssadmin list writers" shows last error unknown for all writers
    disk space is sufficient
    ntbackup of systemdrive and systemstate runs fine.
    i installed KB940349 which fixes some vss related issues but the problem is still there.
    any ideas?
    Thanks.
    When you have vssadmin reporting unknown error the only way to reset the vsswriters (as I understand it please correct me if I'm wrong :) ) is to restart the machine. The Fellenator is correct, make use that the vsswriter is working correctly since this
    is the main function DPM is using when taking backup. He's also right in saying that it's outside the scope! Create a new thread on your error, then you will get much better responce!
    /Joseph

  • Windows Backup for Windows Server 2008 R2 Standerd not working 2155348041

    Hi 
    When I am running backups via the Backup server feature I keep getting the following error in the event log:
    The backup operation that started at '‎2014‎-‎05‎-‎27T04:59:16.185618200Z' has failed with following error code '2155348041' (None of the source volumes were backed up.). Please review the event details for a solution, and then rerun the backup operation
    once the issue is resolved.
    The backup report gives me the following error:
    the request could not be performed because of an i/o
    I have tried using another Harddrive and have installed the Hotfix from windows but still get this error.
    I also tried Re Installing the Backup feature this also did not work.
    Regards
    Roan_B 

    Hi,
    Please run the command below to get the drive's sector size to check if the sector size is 512B. Windows Server Backup only support sector size of 512B.
    wmic partition get BlockSize, StartingOffset, Name, Index
    Backup fails with Error Code 2155348041
    http://social.technet.microsoft.com/Forums/en-US/fa704bd6-b76a-42b4-b8cb-0a93ceb6ce43/backup-fails-with-error-code-2155348041
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Unscheduled additional backups in Windows Server 2012 R2 Essentials

    I have a strange problem since upgrading to Windows Server 2012 R2 Essentials. My server is on a lightly used Home network which I run for two periods totalling 8 hours each day. Whenever the server is re-started it immediately begins a Server Backup;
    not a great problem in itself but the 'unscheduled' backups prevent the Scheduled backup from operating and often cannot complete before the next Shut Down controlled by Task Scheduler. I presume that R2 has added an extra trigger for the Backup but I can
    only find the trigger for my scheduled once-per-day Backup. Can anyone please point me towards the trigger for these unwanted backups. Thanks in advance. Keith Woolf

    Hi,
    Please perform a
    clean boot to troubleshoot
    your issue and check if it caused by other software.
    You may collect some backup logs to narrow down this issue. By default, tracing is enabled in Windows Server Backup to preserve logs. These traces will be present in files
    under the following directory: %windir%\logs\windowsserverbackup
    You can use some tools such as
    tracerpt
    command to export the .etl file into a .txt file. Please check if you can find waht is the root trigger that triggers this unscheduled backup.
    Meanwhile, please check the schedule task for the scheduled backup if it was configured correctly. You can clear up and recreate, then please check if this issue still exists.
    Hope this helps.
    Best regards,
    Justin Gu

  • How to schedule multiple backup job through windows server backup in windows server 2008 R2

    hi expert,
    need your help, In my small  environment I am using windows 2008 R2 as a domain controller. and installed windows server feature for backup.
    Now i want to create backup at a different time.
    1. System state backup at 5.00 PM on saturday only
    2.  finance and hr data backup on daily basis at 5.00 PM.
    so how i create different job schedule through windows server backup.
    Regards,
    Triyambak
    Regards, Triyambak

    Scenario #1
    The following command will create a Task Scheduler task named
    DailyFolder1Backup with the start time of 23:00.
    This task will run DAILY with the HIGHESTprivileges. It will run the Windows Server Backup CLI to backup
    g:\folder1 to target volume
    F:.
    SCHTASKS /Create /SC DAILY /TN
    DailyFolder1Backup /RL HIGHEST /ST 23:00/TR
    "wbadmin start backup –backupTarget:F: -include:g\folder1
    -vsscopy -quiet"
    Scenario #2
    The following command will create a Task Scheduler task named
    DailyFolder2Backup with the start time of 24:00.
    This task will run DAILY with the HIGHESTprivileges. It will run the Windows Server Backup CLI to backup
    h:\folder2 to target volume
    F:.
    SCHTASKS /Create /SC DAILY /TN
    DailyFolder2Backup/RL HIGHEST /ST 24:00/TR
    "wbadmin start backup –backupTarget:F: -include:h:\folder2
    -vsscopy -quiet"
    Please feel free to let us know if you have any question or concern.
    Please VOTE as HELPFUL if the post helps you and 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.

  • How do I add a Mac to a Windows Server 2003 or 2008 domain?

    I recently started working for a public school district that runs Windows Server 2003 and Windows Server 2008 R2. There are several faculty members, myself included, that would like to get their Macs onto the domain and capable of file sharing, printing to network printers, etc. I cannot find decent instructions anywhere. Could someone please point me in the right direction or give me some directions? It would be greatly appreciated. Thanks.

    I'm also new to the MAC world - I trust you were able to join the MAC's to the domain - I finally figured it out. However, I have not been able to get the MAC's to save to the Windows 2008 server where I have student folders setup. Have you been able to do this? If so can share the info with us.
    Thanks,
    Steve
    [email protected]
    Newport School District

  • I try to mount or open backup of windows server which has VHDX extension on windows 8.1 but I get an error message!

     hi,
    when I try  to mount or open a back up of windows server which has VHDX extension on my windows 8.1 computer I get this error                                                                                                                                                                               
    the installation disk copy is not
    initialized,any partitions that are not
    recognizable or volumes that do not
    have drive letters assigned ,
    use the disk management moduleto check
    the disk partitions and volumes can
    be used.
    I went to disk management and tried to open from there but the error is the same ,I copied this back up on my C: drive the problem is still the same ,. now My question is can I not open backup of server which has VHDX exension on windows 8.1  to
    edit it?
    thanks
    johan
    <textarea autocapitalize="off" autocomplete="off" autocorrect="off" class="goog-textarea" dir="ltr" id="contribute-target" name="edit-text" rows="1" spellcheck="false"
    style="height:auto;padding-right:20px;-ms-overflow-x:auto;-ms-overflow-y:hidden;box-sizing:border-box;" tabindex="0" wrap="SOFT"></textarea>
    h.david

    Go back to disk manager, assign a drive letter, after the mount. The vhdx will show in disk manager, right click on the vhdx, to add a drive letter

  • Window Server 2008-Issue running my website on local webserver-ie issue

    I hosted my website on my local webserver (Window Server 2008), and when I run it on
    iE8 &  iE11 the website doesn't look good, my navigation bar brakes, and my image slider breaks too. It is not a browser
    issue because, I have hosted the same website on the Goddady servers, and it works fine with
    iE8&
    iE11. And also on my local webserver when I try to run it on the google chrome it works fine, but on the Internet Explorer comes out with that problem. Do you guys think is a problem with my IIS on my Server? Any help/suggestion/advice I would
    really appreciate it.
    Thanks,
    Samet

    Might ask them over here.
    http://forums.iis.net/
    or for web development issues over here.
    http://forums.asp.net/
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Windows Server Activation Issue

    Hi all,
    Can any one please help me in resolving an issue with Windows Server 2012 License Activation using KMS. While executing the command slmgr /dlv or any other parameter I am receiving an Error 0xC0000022. After checking the event log I saw the Software Protection
    Service is getting Failed with an Error 0x80070005.  I also tried running SFC Scan (sfc /scannow) and also found the error "Windows Resource Protection Corrupt File but was unable to Fix the same". There are some critical Services and Application
    running on the Server.
    Can anyone please suggest me some solution for this issue.Below in the Output for the CBS log.
    Output
    Windows Resource Protection found corrupt files but was unable to fix some of them
    Refer CBS Log
    CSI   
    00000718 [SR] Cannot repair member file [l:76{38}]"WindowsServerUpdateServices.Events.xml" of UpdateServices-EventFilter, Version = 6.2.9200.16384, pA = PROCESSOR_ARCHITECTURE_AMD64
    (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
    CSI   
    00000711 [SR] Cannot repair member file [l:72{36}]"WindowsDeploymentServices.Events.xml" of Microsoft-Windows-Deployment-Services-Event-View, Version = 6.2.9200.16384, pA
    = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
    CSI   
    0000070a [SR] Cannot repair member file [l:48{24}]"RemoteDesktop.Events.xml" of Microsoft.Windows.ServerManager.RDSPlugin, Version = 6.2.9200.16384, pA = PROCESSOR_ARCHITECTURE_MSIL
    (8), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
    CSI   
    00000704 [SR] Cannot repair member file [l:40{20}]"WebServer.Events.xml" of Microsoft-Windows-IIS-WebServer-Events, Version = 6.2.9200.16384, pA = PROCESSOR_ARCHITECTURE_AMD64
    (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
    QM: Failed to start upload with file pattern: C:\Windows\servicing\sqm\*_std.sqm, flags: 0x2 [HRESULT = 0x80004005 - E_FAIL]
    SQM: Failed to start standard sample upload. [HRESULT = 0x80004005 - E_FAIL]
    SQM: Queued 0 file(s) for upload with pattern: C:\Windows\servicing\sqm\*_all.sqm, flags: 0x6
    SQM: Warning: Failed to upload all unsent reports. [HRESULT = 0x80004005 - E_FAIL]
    Thanks Siva Aadhi-CIT. MCITP

    Hi,
    Thanks for your reply and i have followed the methods which you have proposed still there is no luck and now i am able to find the corrupt files from the logs, and the corrupted files are "C:\Program Data\Microsoft\Event Viewer\Views\Server Roles"
    RemoteDesktop.events.xml,webserver.events.xml,
    Windowsdeploymentservices.events.XML, windowsserverupdateservices.events.xml
    i tried to run dism commad with restore health and it is asking me to specify source files even i have given source switch.
    can you guide me how to ran dism command with correct switches to do a repair or can i replace the corrupted files with from some other server.
    Thanks,
    Thanks Siva Aadhi-CIT. MCITP

  • Oracle Hot Backup Script Windows Server 2003

    Hello,
    Does anyone here have a working Oracle 10I database hot backup script for Windows Server 2003? If so can you please post it here.
    Thanks.

    Here is a basic batch script I have used for a hot backup of Oracle databases using RMAN
    Will just need to update some locations based on you environment just check all the comments and change what you need to but this can be scheduled to run regularly through the windows scheduler for database backups.
    This will take a hot backup and backup the archive logs.
    Let me know if you have any quesitons.
    REM #####################################################################
    REM # Name: rman_hot_backup_dsk.bat
    REM #
    REM # Description:
    REM #
    REM # Generic Hot backup script that accepts the SID
    REM #
    REM # Parameters: Instance Name, backup level
    REM #
    REM #####################################################################
    REM #
    REM # Check if SID was Passed
    if (%1)==() goto USAGE
    if (%2)==() goto USAGE
    REM # assign ORACLE_SID to passed SID
    set ORACLE_SID=%1
    REM # Set the hot backup level 0-full 1-incremental
    set LEVEL=%2
    REM # export the page list
    set [email protected]
    REM # assign a date we can use as part of the logfile
    set DTE=%date:~-4%%date:~4,2%%date:~7,2%_%time:~0,2%%time:~3,2%%time:~6,2%
    REM # Take the spaces out of the date string so we can use in our file name
    set DTE=%DTE: =%
    REM # set the script location
    REM # Set location of where you will put script
    set SCRIPTLOC=C:\app\oracle\scripts
    cd %SCRIPTLOC%
    REM # Set the Temporary command file that we will write our rman script to
    set CMDFILE=%SCRIPTLOC%\%ORACLE_SID%_rman_hot_backup_dsk.cmd
    REM # Remove the temporary file if it exists
    del /q %CMDFILE%
    REM # Set the logfile directory
    REM # Change based on where you want the backup logs to go
    set LOGPATH=W:\ORACLE_BACKUP\logs
    set LOGFILE=%ORACLE_SID%_rman_hot_backup_dsk_%DTE%.log
    set LOG=%LOGPATH%\%LOGFILE%
    REM # Set the path of the backup location
    REM # Change based on disk pach for you disk based backups
    set BACKLOC=\\VirtualBox\ORA_ITS03P\ORACLE_BACKUP\%ORACLE_SID%
    REM # Lets set the ORACLE_HOME for the host
    REM # Set to your actual ORACLE_HOME location
    set ORACLE_HOME=C:\app\oracle\product\10.2.0\db_1
    # Set the rest of the Oracle Environment
    # based on our ORACLE_HOME
    set LIBPATH=%ORACLE_HOME%/lib
    set LD_LIBRARY_PATH=%ORACLE_HOME%/lib
    set TNS_ADMIN=%ORACLE_HOME%/network/admin
    REM #set ORA_NLS10=%ORACLE_HOME%/nls/data
    REM Set our PATH with the ORACLE_HOME so that we have a good
    REM clean environment to work with
    set PATH=%ORACLE_HOME%/bin;%ORACLE_HOME%/OPatch;%PATH%
    REM # Write Temporary command file for RMAN backup
    echo # configure retention policy >> %CMDFILE%
    echo CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14 DAYS ; >> %CMDFILE%
    echo # >> %CMDFILE%
    echo # lets start clean for our hot backup by doing full crosschecks >> %CMDFILE%
    echo change archivelog all crosscheck ; >> %CMDFILE%
    echo crosscheck backup of database; >> %CMDFILE%
    echo crosscheck backup of controlfile; >> %CMDFILE%
    echo # >> %CMDFILE%
    echo # delete all expired and obsolete backups >> %CMDFILE%
    echo allocate channel for maintenance type disk ; >> %CMDFILE%
    echo delete noprompt expired archivelog all ; >> %CMDFILE%
    echo delete noprompt expired backup ; >> %CMDFILE%
    echo delete noprompt obsolete ; >> %CMDFILE%
    echo # >> %CMDFILE%
    echo # Configure control file for auto backup >> %CMDFILE%
    echo configure controlfile autobackup on ; >> %CMDFILE%
    echo CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%BACKLOC%\%ORACLE_SID%_controlfile_%%F' ; >> %CMDFILE%
    echo # >> %CMDFILE%
    echo # Configure default device type here we use disk and set parallelism to 2 >> %CMDFILE%
    echo configure default device type to disk ; >> %CMDFILE%
    echo configure device type disk parallelism 2 ; >> %CMDFILE%
    echo # >> %CMDFILE%
    echo # Must format the default channel for the device type disk >> %CMDFILE%
    echo # other wise tmp area in creating pieces will be done in >> %CMDFILE%
    echo # the $ORACLE_HOME/dbs directory >> %CMDFILE%
    echo CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT = '%BACKLOC%\%ORACLE_SID%_hot_%%U' ; >> %CMDFILE%
    echo # >> %CMDFILE%
    echo # Configure our retention policy for this database >> %CMDFILE%
    echo configure retention policy to recovery window of 14 days ; >> %CMDFILE%
    echo # >> %CMDFILE%
    echo # Let configure our channels for our backup >> %CMDFILE%
    echo # Channel 1 disk and we indicate where it goes not taking the default >> %CMDFILE%
    echo configure channel 1 device type disk MAXPIECESIZE = 4G format '%BACKLOC%\%ORACLE_SID%_hot_%%U' ; >> %CMDFILE%
    echo # Channel 2 disk and we indicate where it goes not taking the default >> %CMDFILE%
    echo configure channel 2 device type disk MAXPIECESIZE = 4G format '%BACKLOC%\%ORACLE_SID%_hot_%%U' ; >> %CMDFILE%
    echo # >> %CMDFILE%
    echo # Backup our database with compression on >> %CMDFILE%
    echo backup as compressed backupset incremental level %LEVEL% tag hot_%LEVEL%_%DTE% DATABASE ; >> %CMDFILE%
    echo # >> %CMDFILE%
    echo # Backup our archive log files that have not been backed up >> %CMDFILE%
    echo backup as compressed backupset format '%BACKLOC%\%ORACLE_SID%_Archive_%%d_%%s_%%p_%%t' archivelog all not backed up 1 times ; >> %CMDFILE%
    echo # >> %CMDFILE%
    echo # Backup Control file for standby in case needed >> %CMDFILE%
    echo backup current controlfile for standby ; >> %CMDFILE%
    echo # >> %CMDFILE%
    echo # let put a controlfile to trace >> %CMDFILE%
    echo sql 'ALTER DATABASE BACKUP CONTROLFILE TO TRACE' ; >> %CMDFILE%
    REM # Run the RMAN backup without using the recovery catalog
    %ORACLE_HOME%\bin\rman target=/ nocatalog cmdfile=%CMDFILE% msglog=%LOG%
    REM # Remove our temporary command file
    del /q %CMDFILE%
    REM # Mail Archive backup log
    REM # This relies on the free bmail utility
    bmail -date -m %LOG% -f [email protected] -s <smtpserver> -t %PAGE_LIST% -a "HOT Backup results"
    REM # Goto end of script as we are done
    goto END
    :USAGE
    echo "Must Pass ORACLE_SID and hot backup level as parameters."
    goto END
    :END

  • BackUp on Windows Server 2008R2 (Both OS, apps and system users)

    Hi all,
    I am a new users on Windows server 2008R2 now. And I am about to backup the OS. So, may I know if i used Window Server Backup function, will the operation be backing up not only OS and apps but also the system users?
    If the backup service can't backup the system users, is there any exclusive way to backup users list?
    I'm fresh in using Windows Server 2008R2, please help me out. Thanks in advance....

    Hi,
    When you do a "system state" backup, the Local Users and Groups are also backup. For more detailed information, please refer to the thread below:
    How do I manually export the Local User Accounts Database? Standalone Windows Server 2008 R2
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/4012d976-ffae-4563-bd22-dec5e9a86d61/how-do-i-manually-export-the-local-user-accounts-database-standalone-windows-server-2008-r2?forum=winservergen
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Using mac mini for windows server vpn

    I'd like to use a Mac Mini with 16GB (might wait on the new one), to run a virtual Windows Server 2012 with Exchange and a virtual Windows Server 2012 with SQL Server.
    Anyone doing that successfully?

    Yes, you can upgrade the ram, harddrive and optical drive yourself. There are several websites that show how to do it. I've done it twice, it is really no big deal. Flip the mini over, use the right size putty knife(s) and carefully lift the lid off...from there it's a matter of removing some screws, and then reversing the procedure.
    I returned my mini 2.53 because I decided I really wanted to stick with laptop for this year. But for the 2 weeks I had it, I had Logic on it. Used a USB interface, and had some Firewire drives hooked up to it. It was excellent. It's so small that it can sit right on the desk where you can get at everything.
    I left the 5400 drive in it, and had zero problems. It's a rare day when someone maxes out their harddrive speed. If you check your meters in Logic, the cpu has always been maxed long, long before the HD I/O has been. If you are running 96K 30+ track creations, a mini isn't even going to be on your radar. Yet, many people use nothing but a Macbook Pro to do some very complicated tracks...and a mini is really just a macbook pro without screen/keyboard/trackpad and jammed in a small box.
    I think they are fantastic values.

Maybe you are looking for