Archive file copy

Dear all,
db:10.2.0.3
o/s:Red Hat Linux 4
I have created a cron job to back the archivefiles using traditional cp command not using rman for this.I want to know when the cp command i executed and the oracle archiver is writing archive file what will happen will that archive file gets corruppted or i will not have any issues?
Regards

The file that Arch is writing to won't be corrupted. But the file that has been copied out -- i.e. the backup that has been created by your script -- would be incomplete -- the same as being corrupt.
When I used to write such scripts, I would have the scripts order the ArchiveLogs by Sequence# (which is part of the file name) and then not copy the last 4 archivelogs. Why 4 ? Because, although you generally have only 1 ArchiveLog being written to, when it is busy the database instance can start of multiple archivelog processes (based on LOG_ARCHIVE_MAX_PROCESSES), each of which is archiving out one redo log. Since 10g, this behaviour is automated and not controllable.
Therefore, I urge you not to write such scripts. Use RMAN. It has a COPY command that can be used to copy out archivelogs, if you do not wish to use the BACKUP command.
Hemant K Chitale

Similar Messages

  • Import from camera archive without copying files?

    I created a few camera archives from DV tapes. Is there a way to import footage from the archive without copying (duplicating) the files into the Events Folder? The option is greyed out on the import window.
    When I open the archive package contents I can see all the .mov files, so I'm hoping there's a way to create a reference file instead of duplicating the file.  I'm trying to save some hard drive space.
    Thanks.

    When you are copying from a hard drive that does not access the camera import function of the import window. The purpose of an archive is as a backup, to keep a separate set of media which cannot get corrupted by use or computer or drive failure. Generally it's in a separate drive from that used directly in production.

  • File copy in KM not working from a par file.

    Hi Experts,
                      We created a par file which will copy a file from a folder and copy this onto a seperate folder under the same parent folder. This applications works well on testing system, but is not working when deployed to the portal server where it supposed to work.
    Please give your thoughts and your valuable suggestions on this issue.
    Thanks in advace
    Sateesh

    Hi Raghu,
                   What is CM system and where it needs to be added.
    I am copying the code please check and give your valuable inputs.
    import java.util.Properties;
    import com.sap.tc.logging.FileLog;
    import com.sap.tc.logging.Severity;
    import com.sap.tc.logging.TraceFormatter;
    import com.sapportals.wcm.repository.CopyParameter;
    import com.sapportals.wcm.repository.ICollection;
    import com.sapportals.wcm.repository.ICopyParameter;
    import com.sapportals.wcm.repository.IResourceList;
    import com.sapportals.wcm.repository.ResourceContext;
    import com.sapportals.wcm.repository.ResourceFactory;
    import com.sapportals.wcm.service.scheduler.ISchedulerTask;
    import com.sapportals.wcm.util.uri.RID;
    import com.sapportals.wcm.util.usermanagement.WPUMFactory;
    public class archiveContent implements ISchedulerTask {
         private static final com.sap.tc.logging.Location logger =
              com.sap.tc.logging.Location.getLocation("KMScheduler");
      public void run( String id, Properties properties ) {
         // implement the tasks to be scheduled
         logger.setEffectiveSeverity(Severity.ALL);
         FileLog mFile1 = new FileLog("/usr/sap/EPD/JC00/j2ee/cluster/server0/log/KMScheduler/reportArchiver.log",10485760,5,new TraceFormatter("%d %m"));
         logger.addLog(mFile1);
         String Filename=null;
         int flag=0;
         logger.infoT("Entering Archive Application try block");
         try{
         com.sapportals.portal.security.usermanagement.IUser epUser = WPUMFactory.getServiceUserFactory().getServiceUser("cmadmin_service");
         ResourceContext ctx = new ResourceContext(epUser);
    //     Get the path of the bi-broadcast (start) folder and create a resource
         //RID birid = RID.getRID("/bi-broadcast");
         RID birid = RID.getRID("/documents/KMScheduler_test");
    //     Create resource holding the contents of the bi-broadcast/top level folder
         com.sapportals.wcm.repository.IResource bires= ResourceFactory.getInstance().getResource(birid,ctx);
         if(bires!=null)
    //          Create a collection of the bi-broadcast resource and get the child resources i.e. Categories
              ICollection categorycollection=(ICollection)bires;
              IResourceList categorylst= categorycollection.getChildren();                                             
              com.sapportals.wcm.repository.IResource categoryres = null;
              if(categorylst!=null)
                   for(int i=0;i<categorylst.size();i++)
                        categoryres = categorylst.get(i);
    //                    Check if the Category is Template. if it is do not enter the loop
                        //if(!categoryres.getName().equalsIgnoreCase("Template"))          
    //                         Get the path of the Category folder
                             //RID categoryrid = RID.getRID("/bi-broadcast/"+categoryres.getName());
                             //RID categoryrid = RID.getRID("/documents/KMScheduler_test/bi_reports/"+categoryres.getName());
                             //logger.infoT("Folder ""\"/documents/KMScheduler_test/bi_reports/"categoryres.getName()+"\" detected");
                             if(categoryres!=null)
    //                              Create a collection of the Category resource and get the child resources i.e. Area      
                                  ICollection areacollection=(ICollection)categoryres;
                                  IResourceList arealst= areacollection.getChildren();                                                            
                                  com.sapportals.wcm.repository.IResource areares = null;     
                                  if(arealst!=null)
                                       for(int j=0;j<arealst.size();j++)
                                            areares=arealst.get(j);
                                            Filename=areares.getName();                              
    //                                        Get the path of the Area folder
                                            RID arearid = RID.getRID("/documents/KMScheduler_test/"categoryres.getName()"/"+areares.getName());
                                            logger.infoT("Folder ""\"/documents/KMScheduler_test/"categoryres.getName()"/"areares.getName()+"\" detected");
                                            if(areares!=null)
    //                                             Create a collection of the Area resource and get the child resources i.e. Region
                                                 ICollection regioncollection=(ICollection)areares;
                                                 IResourceList regionlst= regioncollection.getChildren();                                        
                                                 com.sapportals.wcm.repository.IResource regionres = null;     
                                                 if(regionlst!=null)
                                                      for(int k=0;k<regionlst.size();k++)
                                                           regionres=regionlst.get(k);
                                                           Filename=regionres.getName();
    //                                                       Get the path of the Region folder
                                                           RID regionrid = RID.getRID("/documents/KMScheduler_test/"categoryres.getName()"/"areares.getName()"/"+regionres.getName());
                                                           logger.infoT("Folder ""\"/documents/KMScheduler_test/"categoryres.getName()"/"areares.getName()"/"regionres.getName()+"\" detected");
                                                           if(regionres!=null)
    //                                                       Create a collection of the Region resource and get the child resources i.e. File
                                                                ICollection filecollection=(ICollection)regionres;
                                                                IResourceList filelst= filecollection.getChildren();                                             
                                                                com.sapportals.wcm.repository.IResource fileres = null;     
                                                                if(filelst!=null)
                                                                     for(int l=0;l<filelst.size();l++)
                                                                          fileres=filelst.get(l);
    //                                                                      Check if the file is Archive or Special. if it is don not move it to Archive
                                                                          if(!fileres.getName().equalsIgnoreCase("Archive"))
                                                                               if(!fileres.getName().equalsIgnoreCase("Special"))
                                                                                    flag=1;
    //                                                                                Get the path of the File in the region folder
                                                                                    RID filerid = RID.getRID("/documents/KMScheduler_test/"categoryres.getName()"/"areares.getName()"/"regionres.getName()"/Archive/"+fileres.getName());
                                                                                    logger.infoT("File ""\"/documents/KMScheduler_test/"categoryres.getName()"/"areares.getName()"/"regionres.getName()"/Archive/"fileres.getName()+"\" detected");                                                                                                              
    //                                                                                Move one child at a time to the Archive folder
                                                                                    ICopyParameter cp=new CopyParameter(true);
                                                                                    fileres.move(filerid,cp);
                                                                                    logger.infoT("Archiving file \""fileres.getName()" from folder /documents/KMScheduler_test/"categoryres.getName()"/"areares.getName()"/"regionres.getName()"\"");
                                                                               else if(fileres.getName().equalsIgnoreCase("Special"))
                                                                                    RID ar_analysisrid=RID.getRID("/documents/KMScheduler_test/"categoryres.getName()"/"areares.getName()"/"regionres.getName()"/Special");
                                                                                    ICollection aranaylsiscollection=(ICollection)fileres;
                                                                                    IResourceList aranalysislst= aranaylsiscollection.getChildren();                                             
                                                                                    com.sapportals.wcm.repository.IResource aranalysisres = null;
                                                                                    if(aranalysislst!=null)
                                                                                         for(int m=0;m<aranalysislst.size();m++)
                                                                                              aranalysisres=aranalysislst.get(m);
                                                                                              if(!aranalysisres.getName().equalsIgnoreCase("Archive"))
                                                                                                        flag=1;
    //                                                                                                    Get the path of the File in the region folder
                                                                                                        RID arfilerid = RID.getRID("/documents/KMScheduler_test/"categoryres.getName()"/"areares.getName()"/"regionres.getName()"/Special/Archive/"+aranalysisres.getName());
                                                                                                        logger.infoT("File ""\"/documents/KMScheduler_test/"categoryres.getName()"/"areares.getName()"/"regionres.getName()"/Special/Archive/"aranalysisres.getName()+"\" detected in Special folder");
    //                                                                                                    Move one child at a time to the Archive folder
                                                                                                        ICopyParameter cp=new CopyParameter(true);
                                                                                                        aranalysisres.move(arfilerid,cp);
                                                                                                        logger.infoT("Archiving file \""fileres.getName()" from folder /documents/KMScheduler_test/"categoryres.getName()"/"areares.getName()"/"regionres.getName()"/Special/Archive/"aranalysisres.getName()"\"");
    Edited by: Jabi123 on Jan 17, 2011 7:13 AM

  • Does the last updated backup in Time Machine have all my files for "standard" file copy? (i want to copy and paste files to another computer that doesn't have TM)

    My personal Macbook pro died, but I did have a Time Machine backup. I have a new iMac that I would like to use as a family computer. I would like to transfer some files to the new computer (and set-up a new Time Machine backup), but archive the remainder on a non-TM drive. I was planning to:
    1. File copy my last backup folder from my old TM drive to the new computer
    2. Copy (and then delete) the files I want to archive on another HD drive
    3. Wipe clean my current TM drive
    4. Set-up TM on my new computer
    Is this a good way to proceed?
    Is copying the last backup folder (vs. all backup folders) enough to move my files over?
    Any better approaches appreciated!

    I suggest you visit MicroCenter and go to there Apple section and ask one of there guys if they are still offering the 2 terabyte Backup For the iMac, Mine was only $100.00.
    So the iMac has Time machine plus the USB 2 Terabyte Backup for less than your $130.00

  • PI 7.30: OS command on AIX to archive files on FTP does not work

    Dear experts,
    Our PI system runs on an AIX server.
    I have a scenario PI --> FTP. I also need to archive files in a seperate folder on the FTP.
    I have been following thread:
    Read or Write File On FTP server based on another file existence.
    After file processing in the Audit Log in RWB I among others I get the information:
    Execute OS command "sh /usr/sap/SYS/flex/batches/archive.sh file.zip /ftpfolder/file.zip"
    It seems it is working properly.
    The file itself gets processed to the "ftpfolder". But in the archive folder I do not get a copy of that file.
    My script looks like this:
    #!/bin/ksh
    ftp -n -v <<%%EOF%%
    open ftpserver
    user myuser mypassword
    prompt
    asci
    cd archivefolder
    mput $2
    bye
    %%EOF%%
    In the file receiver I have "Run OS command after message processing":
    "sh /usr/sap/SYS/flex/batches/archive.sh %f %F"
    %F stands for the complete path, right? So if I say "mput $2" in my script it should use %F.
    Could you please help me out here. I really don't know what the problem could be.
    Thank you and best regards,
    Peter

    hi Peter,
    >>>I have a scenario PI --> FTP
    but FTP does not support OS command as far as I remember
    correction:
    "Note that for the File Adapter transport protocol "FTP", the operating system command is NOT executed on the FTP server, but on the server hosting the Adapter Engine."
    please check for details:
    Note 841704 - XI File & JDBC Adapter: Operating system command
    Regards,
    Michal Krawczyk
    Edited by: Michal_Krawczyk_PIXI on Feb 3, 2012 3:38 PM

  • How do I restore addresses from archive file or time machine without iCloud overriding?

    I recently had an issue with my address book contacts.  About 90% of the contacts disappeared, then synched through iCloud to my iphone and ipad.....so nearly all my contacts were lost on all devices.  I have both time machine and an address book archive file.
    When I tried restoring from time machine, the iCloud synching saw it as an older version of the file and went to the deleted contacts version....i.e. I was right back where I started.
    When I tried importing from the address book archive, the same thing happened.....iCloud saw the imported version as an older copy of the contacts file and deleted out everything I had just imported.
    The only way I was able to get the contacts back was to go to time machine (with address book application open), select all the contacts, copy them, cancel out of time machine, and then paste the contacts into the current version of address book.....I guess the system sees that as a "new" version of the contact and doesn't overrite it.  Problem is that it doesn't carry over all the different groups that way, and I have to move addresses into the groups all over again....kinda time consuming.
    Any ideas on how to import from archive or restore from time machine (the normal way) without iCloud synching overriding the "older" and desired version of the file?  Address book doesn't have any option to "override current contacts with imported ones".....
    Thanks.

    Try this:
    Turn off your internet connection completely: check it's really off.
    Import your backup into Address Book.
    Select all your contacts.
    From the File menu choose Export>vCard and save the file somewhere convenient.
    Now turn the internet connection back on. Your contacts will disappear from Address Book again.
    From the File menu choose 'Import' and select the file you exported to.
    Hopefully this contacts list will stay in place: wait until it's synced to iCloud and check that it's on the website and syncs to your Phone.

  • Archiving File on Shared Folder in Linux using java code

    Hi All,
    I have a requirement wherein I have to ftp a file (Feed.txt) from windows FTP server to Linux machine1 and archive the same file (with timestamp suffixed on file name like Feed.txt_22April) on Linux Machine2. I am
    trying to achieve this through java code. I am able to ftp the file(Feed.txt) from windows ftp server to Linux machine1 /opt/ftproot directory and archiving the same file under /opt/ftproot/archive directory of Linux
    Machine1 with timestamp suffixed on file name.
    My archiving requirement is still not achieved. So, for that I created a shared folder “/temp/shared” on Linux Machine2 and mounted the /temp/shared folder of Linux Machine2 on /opt/ftproot/archive folder of
    Linux Machine1 using following command:
    # mount LinuxMachine2: /temp/shared /opt/ftproot/archive
    Note: I have given full permission on both the folders.
    Logically, archiving the Feed.txt with timestamp in it name under /opt/ftproot/archive folder should create the file in /temp/shared folder of Linux Machine2. But instead of archiving the file on
    /opt/ftproot/archive folder, it archive the file on /opt/ftproot folder.
    In my java code, I have specified copyDir as “/opt/ftproot” and archiveDir as /opt/ftproot/archive”.
    The code is being run from Linux Machine1 as a schedule task.
    Please help.
    PFB the code snippet:
    package com.ftp;
    import com.thortech.xl.scheduler.tasks.SchedulerBaseTask;
    import org.apache.commons.net.ftp.*;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Calendar;
    import java.util.Date;
    public class FTPService extends SchedulerBaseTask {
         private static String targetDir="";
         private static String archiveDir="";
    public void init() {
    public void execute() {
    try {
    String server = "Machine1
    String username = "username";
    String password = "password";
    String sourceDir = "C:\\Inetpub\\ftproot\\temp.txt";
    //String archiveDir = "/home/ftproot1";
    targetDir = getAttribute("Target Directory");
    FTPClient ftp = new FTPClient();
    * Connect to the server
    ftp.connect(server);
    ftp.login(username, password);
    System.out.println("Connected to " + server + ".");
    String[] names = ftp.listNames();
    for (String name : names) {
    System.out.println("Name = " + name);
    * Get all file names that are present in the current working directory
    FTPFile[] files = ftp.listFiles();
    String fileName = "";
    for (int i = 0; i < files.length; i++) {
    if (files.isFile()) {
    System.out.println("\t" + files[i].getName());
    File file = new File(targetDir + File.separator +
    files[i].getName());
    FileOutputStream fos = new FileOutputStream(file);
    * Copy the file to target system
    ftp.retrieveFile(files[i].getName(), fos);
    fos.close();
    fileName = files[i].getName();
    ftp.logout();
    ftp.disconnect();
    System.out.println("End of FTP....");
    System.out.println("Calling fileCopy()");
    System.out.println("Target Directory"+targetDir);
    fileCopy(fileName,targetDir);
    } catch (Exception e) {
    e.printStackTrace();
    public static String getDate() {
    String sdate = "";
    try {
         System.out.println("Inside getDate()");
    Calendar date = Calendar.getInstance();
    SimpleDateFormat formatter = new SimpleDateFormat(
    "yyyy-MM-dd HH:mm:ss.0");
    sdate = formatter.format(date.getTime());
    } catch (Exception e) {
    return sdate;
    public void moveFile(String t) {
         try{
         System.out.println("inside moveFile");
    System.out.println("Moving Files");
    File fro = new File(t);
    archiveDir = getAttribute("Archive Directory");
    System.out.println("Archiving Directory"+archiveDir);
    File to = new File(archiveDir);
    boolean archived = fro.renameTo(new File(to, fro.getName()));
    if (archived) {
    System.out.println("FileArchived");
              /*String cmd="mv" +" "+t +" "+ "/home/ftproot/archive";
              System.out.println("Archive Directory"+archiveDir);
              System.out.println("Move Command"+cmd);
              Process SshProc =      (Runtime.getRuntime()).exec(cmd);
    } catch (Exception e) {
    e.printStackTrace();
    public void fileCopy(String filename,String Directory) {
         try{
         //String ifile="/home/ftproot/sunny.txt";
              String ifile=targetDir+"/"+filename;
         String ofile=ifile+"_"+getDate();
         File f1 = new File(ifile);
         File f2 = new File(ofile);
         InputStream in = new FileInputStream(f1);
         //For Append the file.
    //      OutputStream out = new FileOutputStream(f2,true);
         //For Overwrite the file.
         OutputStream out = new FileOutputStream(f2);
         byte[] buf = new byte[1024];
         int len;
         while ((len = in.read(buf)) > 0){
         out.write(buf, 0, len);
         in.close();
         out.close();
         System.out.println("File copied.");
         moveFile(ofile);
         }catch(Exception e)
         System.out.println("File copied."+e);
    Cheers,
    Sunny

    sunnyajmera wrote:
    Please help.If it was me....
    - You are connecting to a ftp server. I am guessing you didn't write that.
    - Get a flexible ftp client, there are many but make sure it shows you the ftp result codes.
    - Figure out how and if the ftp server will do what you want.
    If it does do what you want then ftp client will let you do the same thing.
    If that ftp server doesn't allow you to do it then you must do one of the following
    - Find a different server
    - Change the requirements
    - Find a way to impose the requirements using a tool in addition to ftp like some command executed through telnet.

  • Is it possible to read archive files outside of SAP?

    Hi Experts,
    I would like to read SAP archived data (*.ARCHIVE.ARCHIVING)  with non-SAP application. I already know, that data is automatically compressed (and maybe encrypted?).
    My question: Is there some possibility to read archive files outside of SAP? I suppose that would be needed to do some decompress first.
    Your help is appreciated. Thank you!
    Jan

    Hi Stefan,
    Thanks for your reply. I found some points with your hint. Some summary for others:
    460620 - Migrating archive files:
    "Archived data may have to be migrated. One solution is to perform an SLO service archive migration. You can also perform an archive migration for archive files using the Archive Development Kit (ADK)."
    153433 - Access to archived data from other logical systems
    "For data security reasons, the ADK checks whether an archive file was created in the same system and client where it is to be read. If the client, system or file key do no longer correspond to the meta data that were valid at the time of archiving, you can no longer always access the archive file, particularly for reloading. If only the system ID changes when a new installation due to a system copy is carried out, read accesses are still possible. No solution is provided in the standard system. The access to archive files from other logical systems must be taken into account and carried out in a migration project."
    Unfortunately, I still do not know if it is possible to read archived data outside of SAP.
    Best Regards,
    Jan

  • Opening  Web Archive files in WebCT

    "This document is a Single File Web Page, also known as a Web Archive file. If you are seeing this message, your browser or editor doesn't support Web Archive files. Please download a browser that supports Web Archive, such as Microsoft Internet Explorer."
    This is the message I get whenever I try to access the page for class outlines, ect. They are usually powerpoint type things, but they open in Word (on Windows).
    I have tried using Firefox, Opera, Safari, Internet Explorer, copy/paste into Word, and saving it as a PDF. It works perfectly on Internet Explorer when using Windows.
    Is there anyway I'll be able to access these kinds of pages while I'm on a Mac?
    Macbook Mac OS X (10.4.8)

    When viewing brought Safari the same picture ca only be saved as a Web Archive file format.
    That's because you're not saving the pictures you're saving the page that contains them.
    Drag and drop the images from the Safari Window to the desktop and then import them from there to iPhoto.
    iPhoto is not a web browser and cannot read web archives.

  • Archive files are in XML format and not in the original format

    Hi all,
    I am using a receiver file adapter with archiving option. When I look at the archive files they are in the XML converted format and not in the original flat file format received. We would like to store these files for audit purpose and it doesnt make sense to store XML files. We are in SP04. Does a note need to be applied or any other extra configurations need to be done which I might have missed? Please advise.
    -Teresa

    Hi,
    >>>Wow, the note says its fixed in SP10
    but only the split is fixed not the XML messages in the archive I think (from the note)
    >>>Is there any alternative quick fix and I hate manual work
    create 2 new folders - connect one of them with the file adapter and the second one remains for archives
    in you normal destination folder for your files add a simple program that will check if there are any files and copy them to those two folders - this could be the fastes but obviously not the best solution I guess
    Regards,
    michal

  • How to import Apple Mail archive files in Outlook 2013?

    I need to import Apple Mail archived files in Outlook 2013 on Windows, but every time I open the import wizard and reach the file selection step, I cannot select the archived file. It doesn't even show in the dialog box.
    I don't know what the issue is. Is it the file size issue as the archive file is large (about 7 GB) or there is any other fault?

    If both system are using the IMAP mail provider all you have to do is setup the connection to the mail server and all the emails and folders will be copied down to the windows computer. That is what IMAP is for. The mail stays on the server, and can be store
    on the local computer also, and when you connect to the server with another device, computer, phone or pad, all the mail with folders gets copied to the other device.
    But I think some of your mail was gotten using POP so it is not longer on the server.
    Or you have emails in local folder only and they would be on the server. But you can create folder on the server in one mail program, or on the mail web interface and then copy those emails into those folder on the server byt copying them in one of the email
    programs. Then when you log on with the other device all of them will be downloaded to the other device.
    Other alternative:- You can find various solutions on having a google search
    for your problem. Or you can have a look at the following link: Apple mail to Outlook Windows

  • Required archive file to do purchase order processing project in oracle soa

    hi,
    im learning oracle soa 11g.i want to do purchase order processing project.but i cant find the pre-required archive files in net.can any one suggest where can i find this file

    Hi,
    Are you using Jdeveloper on a windows machine? If you are then this might be a useful tip.
    Click Tools -> External Tools. It will prompt you to setup common tools. Let it do this. Now when you right click on your project you will get an Explore Directory option. I use this a lot when copying XSD’s between projects.
    Once you have done this you need to click the refresh button in the Application Navigator to ensure the new files appear.
    Robert

  • Group Policy Preferences File Copy - Access is Denied on 2003 but not 2008 R2

    Hello,
    I have created a GPO which copies a file from a network share into a new folder under Program Files. This policy works just fine on a Windows 2008 box, but not on 2003. I've used "psexec -i -s cmd.exe" to verify system account permission to the
    share. I am able to successfully browse and copy files from the share as the system account on both boxes.
    However, when the GPO attempts to perform the file copy, it does not work, and generates the following error message:
    Event Type: Warning
    Event Source: Group Policy Files
    Event Category: (2)
    Event ID: 4098
    Date: 8/28/2013
    Time: 3:32:12 PM
    User: NT AUTHORITY\SYSTEM
    Computer: Server01
    Description:
    The computer 'file.txt' preference item in the 'TXT File Copy {9176122B-1A50-4AB8-91D9-6E8553727E18}' Group Policy object did not apply because it failed with error code '0x80070005 Access is denied.' This error was suppressed.
    I am trying to avoid writing a login script, so I am hoping someone will be able to help me figure out why this works fine on Windows 2008 but not Windows 2003. Please note file names and paths are modified here for security reasons, but the principle is
    the same.
    My GPO is:
    Computer Configuration\Preferences\Windows Settings\Files
    File (Target Path: c:\Program Files\path\to\file\file.txt)
    Source file: \\share\path\to\file\file.txt
    Destination File: c:\program files\path\to\file\file.txt
    Action: Update
    Suppress errors on individual file actions: Disabled
    Read-Only: Enabled
    Hidden: Disabled
    Archive: Enabled
    Stop Processing items on this extension if an error occurrs on this item: No
    Remove this item when it is no longer applied: No
    Apply once and do not reapply: No
    Item-level Targeting: None
    Thanks

    As a user, I am able to browse the share just fine using the alias. It is only when I try to access the share using the system account that I encounter a problem.
    experiencing the exact same symptoms. in the tests below, server, client1, and client2 are all are native instances of microsoft windows server.
    server: windows server 2008 R2 standard SP1
    client1: windows server 2003 standard SP2
    client2: windows server 2008 R2 standard SP1
    registry setting "DisableLoopbackCheck": unconfigured on server; unconfigured on client1; unconfigured on client2
    registry setting "DisableStrictNameChecking": configured as "1" on server; unconfigured on client1; unconfigured on client2
    domain user on client1 attempt to access server by name: success
    domain user on client1 attempt to access server by alias: success
    domain user on client2 attempt to access server by name: success
    domain user on client2 attempt to access server by alias: success
    local system on client1 attempt to access server by name: success
    local system on client1 attempt to access server by alias: failed (system error 5 has occurred. access is denied.)
    local system on client2 attempt to access server by name: success
    local system on client2 attempt to access server by alias: success
    all tests done using "net view \\target", but similar results were seen when using "dir \\target\share" which the domain user and local system account have access to.
    the differing behavior between client1 and client 2 suggests that server 2003 requires additional configuration to allow its local system account to access an SMB share by alias.
    this problem prevents group policy features (such as software installation) from an aliased file server.

  • Archiving files

    Hi all,
    I am doing the file-file scenario, we are using FTP server where i need to archive the files in another directory after the file was processed.
    i did with processing mode -- Archive mode but i am not getting deleted in the existing directory and no file was created in the Archive directory..
    do we need any authorization for the ftp server for the folder which we access, but i am having all the rights such as delete a file copy and pase the file, any other authorizations do we need to provide..
    so  give some inputs regarding to this...
    regards,
    Kishore

    Hi Sudhir,
    Please make sure that you have the Write permission for the user ID for the archive folder.
    archive and archiveWithTimestamp mean that successfully processed files are moved to an archive directory.
    In archive mode, the file name is copied unchanged. If a file with the same name already exists in the archive directory, it is overwritten.
    In the archiveWithTimestamp mode, a time stamp including the date and time is added to the file name. The format of the time stamp is yyyyMMdd-hhMMss-SSS_, where yyyy specifies a year and SSS the number of milliseconds. As a result, files can be sorted according to the time they entered the archive directory, irrespective of the file name. This also stops files with the same name being overwritten.
    In the case of both processing types, the archive directory must be specified using the following parameters:
    &#9632;       file.archiveDir=<archiveDir>
    This parameter is mandatory for these processing types.
    Thanks
    Swarup

  • Photoshop droplets don't work after file.copy();

    I wrote a script to backup all of my files in a directory, like this
    fileObj = File('~/Desktop/Vendor Swatches.app');
    fileObj.copy('~/Desktop/BACKUP/' + fileObj.name);
      I noticed that when it copies my Photoshop Droplets, they no longer work.  If you look at the attached image, you can see the file before and after copying.  The end file is also listed as "Application (Classic)".  Does anybody know why this is happening?  Or any way to prevent it?
    thanks!

    I don't use File.copy() myself it creates a 'NEW' file which makes it pretty useless to me. My Retrospect back-ups would be never ending. It looks like form your images you are making a copy across from mounted server? From a personal point of view I would have the system do the copy/moving of files… Here are a few functions that may be of use to you… Copying files/folders you could do this with the shells 'cp' or 'ditto'
    Using cp…
    #target photoshop
    var source = Folder.selectDialog('Select a Folder to Copy from?');
    var dest = Folder.selectDialog('Select a Folder to Copy to?');
    if (source != null && dest != null) {
         var res = cpFiles(source, dest);
         alert(res);
    function cpFiles(sf,df) {
         var comm = 'cp ';
         var optns = '-R ';
         var sPath = "'" + sf.fsName + "/' ";
         var dPath = "'" + df.fsName + "'";
         var sh = comm + optns + sPath + dPath;     
         var res = undefined;
         var sh = app.system(sh);
         !sh ? res = true : res = false;
         return res;
    And much the same using ditto…
    #target photoshop
    var source = Folder.selectDialog('Select a Folder to Copy from?');
    var dest = Folder.selectDialog('Select a Folder to Copy to?');
    if (source != null && dest != null) {
         var res = dittoFiles(source, dest);
         alert(res);
    function dittoFiles(sf,df) {
         var comm = 'ditto ';
         var optns = '';
         var sPath = "'" + sf.fsName + "/' ";
         var dPath = "'" + df.fsName + "'";
         var sh = comm + optns + sPath + dPath;     
         var res = undefined;
         var sh = app.system(sh);
         !sh ? res = true : res = false;
         return res;
    And as you mentioned back-up… here are a few things you could use before/after your process to store/back-up whichever…
    ZIP a folder…
    #target photoshop
    var source = Folder.selectDialog('Select a Folder to create ZIP From?');
    if (source != null) {
         var res = makeZIP(source);
         alert(res);
    function makeZIP(sf) {
         var comm = '/usr/bin/ditto ';
         // These should be default after 10.4 Tiger?
         var optns = '-c -k -rsrc --keepParent ';
         var sPath = "'" + sf.fsName + "' ";
         var dPath = "'" + sf.fsName + '.zip' + "'";
         var sh = comm + optns + sPath + dPath;
         var res = undefined;
         var sh = app.system(sh);
         !sh ? res = true : res = false;
         return res;
    Disk Image a folder…
    #target photoshop
    var source = Folder.selectDialog('Select a Folder to create Disk Image From?');
    if (source != null) {
         var res = makeDiskImage(source);
         alert(res);
    function makeDiskImage(sf) {
         var comm = 'hdiutil create ';
         var optns = '-srcfolder ';
         var sPath = "'" + sf.fsName + "' ";
         var dPath = "'" + sf.fsName + '.dmg' + "'";
         var sh = comm + optns + sPath + dPath;
         var res = undefined;
         var sh = app.system(sh);
         !sh ? res = true : res = false;
         return res;
    And lastly TAR Archive a folder…
    #target photoshop
    var source = Folder.selectDialog('Select a Folder to create TAR Archive From?');
    if (source != null) {
         var res = makeTAR(source);
         alert(res);
    function makeTAR(sf) {
         var comm = '/usr/bin/tar ';
         var optns = 'cjvf ';
         var dPath = "'" + sf.fsName + '.tbz' + "' ";
         var sPath = "'" + sf.fsName + "'";
         var sh = comm + optns + dPath + sPath;
         var res = undefined;
         var sh = app.system(sh);
         !sh ? res = true : res = false;
         return res;
    They are for 'mac' and all expect a folder object or two…

Maybe you are looking for

  • Error in single step plant transfer

    Hi guys, I have a doubt regarding "single step plant transfer" when i give material,plant and location in MB1B with movement type "301". after entering it and giving all the information like Material,quantity, and recieving Plant and if i enter i get

  • Problem with column sorting in af:table

    Hi, I am populating an af:table using programmatic view object. One of the columns of the table has its sorting set to true. However, when i click on the sort arrow in the column, no data is loaded, and it displays a message "No data to display." Kin

  • Can't register CS5 on windows 7

    Upgraded box to windows 7 64 bit, trying to install CS5 and license code boxes will not let me type any letters into them.  Tried pasting the license code and that did not work either.  Proceeded to install the trial version and try to enter the lice

  • Abort Capture on Dropped Frames Feature is Not Saving Captured Media

    I have searched for this specific problem here without any results. I'm simply capturing regular SD DV and am getting dropped frames. Even though the dropped frames is an issue that I shouldn't be encountering, that's not the reason for this post. Th

  • Using an Airport Express to Extend a Netgear Network via WDS

    I have a Netgear WNDR3700 Wireless-N router, which supports WDS. What do I need to do on my Airport Express to make it extend the Netgear signal via WDS?