home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch.nt      Fun with Windows NT batch files      68,980 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 67,742 of 68,980   
   mark downsouth to Terry Pinnell   
   Re: Copy entire C: contents   
   13 May 21 17:31:51   
   
   From: mark.dean@gmail.com   
      
   On Saturday, March 20, 2021 at 3:07:23 PM UTC-4, Terry Pinnell wrote:   
   > Grant Taylor  wrote:    
   >    
   > >On 3/20/21 5:19 AM, Terry Pinnell wrote:    
   > >> Because my regular backup software on this Win 10 PC is suddenly    
   > >> not working I'd be very grateful if someone could suggest a reliable    
   > >> batch file I can use until I get it fixed please?    
   > >    
   > >It's my understanding that traditional copy / xcopy / robocopy like    
   > >commands /can't/ /successfully/ copy a full NT (et al.) system /because/    
   > >of files that are /system/ open and / or locked, e.g. the registry /    
   > >swap file / SAM DB.    
   > >    
   > >You can /usually/ successfully copy /usr/ /data/.    
   > >    
   > >At least that's been my experience when trying to copy a running NT et    
   > >al. system.   
   > OK, thanks both. So I guess I'll just try to manually identify the    
   > folders, other than C:\Users\, that carry important (changing) data, and    
   > use File Explorer.   
   Windows still ships with built-in backup options, if you are using a third   
   party backup and it no longer works, then using the built-in one might do the   
   trick. If the built-in is the one that isn't working then using robocopy's   
   /backup switch might be    
   the best bet.   
      
   Make sure your user account is a member of the Backup Operators group.   
      
   You can use the following switches:   
      
   robocopy c:\ d:\ /s  /v /z /b /xjd /eta   
      
   Which does the following:   
   /s copies sub-directories even empty ones   
    /v verbose mode   
   /z restartable mode   
   /b backup mode will bypass permissions and allow files to be copied   
   /xjd excludes data junctions for folders this will keep it from getting caught   
   in an endless loop with the Documents and Settings legacy data junction and   
   others   
   /eta shows eta of current copy operation   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca