PC Review


Reply
Thread Tools Rate Thread

differential backup

 
 
Ales Baranek
Guest
Posts: n/a
 
      20th Apr 2007
hello,
I want to backup files by copying. How to copy all files (all of directory
structure) and reset archive bit on source files that were copied?

Ales


 
Reply With Quote
 
 
 
 
Herb Martin
Guest
Posts: n/a
 
      20th Apr 2007

"Ales Baranek" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> hello,
> I want to backup files by copying. How to copy all files (all of directory
> structure) and reset archive bit on source files that were copied?


"Normal backup" set to the parent directory of the files, with all
subdirecties
included.

You do NOT use a "Differential" or other type of backup for this goal.


--
Herb Martin, MCSE, MVP
http://www.LearnQuick.Com
(phone on web site)


 
Reply With Quote
 
foxidrive
Guest
Posts: n/a
 
      20th Apr 2007
On Fri, 20 Apr 2007 01:07:47 +0200, "Ales Baranek"
<(E-Mail Removed)> wrote:

>I want to backup files by copying. How to copy all files (all of directory
>structure) and reset archive bit on source files that were copied?


I'm ignoring the subject line and answering the question posed.

Use xcopy - for help type

xcopy /?

 
Reply With Quote
 
Ales Baranek
Guest
Posts: n/a
 
      30th Apr 2007
And how to copy all files from source directory and reset Archive bit.
I know about /m switch but it copies files witch Archive bit set only. Xcopy
without /m switch copies all files but does't reset Archive attrib.
I need to copy all of files and directories from source and reset its
Archive attrib.


"foxidrive" <(E-Mail Removed)> píse v diskusním príspevku
news:(E-Mail Removed)...
> On Fri, 20 Apr 2007 01:07:47 +0200, "Ales Baranek"
> <(E-Mail Removed)> wrote:
>
>>I want to backup files by copying. How to copy all files (all of directory
>>structure) and reset archive bit on source files that were copied?

>
> I'm ignoring the subject line and answering the question posed.
>
> Use xcopy - for help type
>
> xcopy /?
>



 
Reply With Quote
 
Todd Vargo
Guest
Posts: n/a
 
      30th Apr 2007
"Ales Baranek" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> And how to copy all files from source directory and reset Archive bit.
> I know about /m switch but it copies files witch Archive bit set only.

Xcopy
> without /m switch copies all files but does't reset Archive attrib.
> I need to copy all of files and directories from source and reset its
> Archive attrib.


xcopy src\ dst\ /y
attrib -a src\*.*

--
Todd Vargo
(Post questions to group only. Remove "z" to email personal messages)

 
Reply With Quote
 
Todd Vargo
Guest
Posts: n/a
 
      30th Apr 2007
Todd Vargo wrote:
> "Ales Baranek" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > And how to copy all files from source directory and reset Archive bit.
> > I know about /m switch but it copies files witch Archive bit set only.

> Xcopy
> > without /m switch copies all files but does't reset Archive attrib.
> > I need to copy all of files and directories from source and reset its
> > Archive attrib.

>
> xcopy src\ dst\ /y
> attrib -a src\*.*


Oh, just noticed the original post included "all of directory structure" so
include the subdirectory switches for both.

xcopy src\ dst\ /y /s
attrib -a src\*.* /s

--
Todd Vargo
(Post questions to group only. Remove "z" to email personal messages)

 
Reply With Quote
 
foxidrive
Guest
Posts: n/a
 
      1st May 2007
On Mon, 30 Apr 2007 18:30:52 +0200, "Ales Baranek" <(E-Mail Removed)>
wrote:

>I need to copy all of files and directories from source and reset its
>Archive attrib.



After copying use this:

attrib -a "drv:\folder\*.*" /s

 
Reply With Quote
 
Ales Baranek
Guest
Posts: n/a
 
      7th May 2007
And what to do for example in this case:
target storage has not enough free space and some files will not copy

Ales

"foxidrive" <(E-Mail Removed)> píse v diskusním príspevku
news:(E-Mail Removed)...
> On Mon, 30 Apr 2007 18:30:52 +0200, "Ales Baranek" <(E-Mail Removed)>
> wrote:
>
>>I need to copy all of files and directories from source and reset its
>>Archive attrib.

>
>
> After copying use this:
>
> attrib -a "drv:\folder\*.*" /s
>



 
Reply With Quote
 
foxidrive
Guest
Posts: n/a
 
      7th May 2007

Delete some files? Calculate the storage requirements in advance?

It's hard to give specific batch related suggestions without knowing the
full details of the situation.

On Mon, 7 May 2007 16:04:58 +0200, "Ales Baranek" <(E-Mail Removed)>
wrote:

>And what to do for example in this case:
>target storage has not enough free space and some files will not copy
>
>Ales
>
>"foxidrive" <(E-Mail Removed)> píse v diskusním príspevku
>news:(E-Mail Removed)...
>> On Mon, 30 Apr 2007 18:30:52 +0200, "Ales Baranek" <(E-Mail Removed)>
>> wrote:
>>
>>>I need to copy all of files and directories from source and reset its
>>>Archive attrib.

>>
>>
>> After copying use this:
>>
>> attrib -a "drv:\folder\*.*" /s
>>

>

 
Reply With Quote
 
Al Dunbar
Guest
Posts: n/a
 
      8th May 2007
Or maybe what he wants is this:

xcopy /m {source} {dest}

The /M switch causes xcopy to copy only those files with the archive bit
set, after which the bit is set. If a file copy fails because, for example,
the output volume ran out of space, that file's bit remains set.

In the olden days we used to use this to copy more files than would fit on
one floppy to a series of them. If there were any failures, we'd pop in the
next empty disk, hit the up arrow key to recall the same command, then hit
ENTER.


/Al

"foxidrive" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> Delete some files? Calculate the storage requirements in advance?
>
> It's hard to give specific batch related suggestions without knowing the
> full details of the situation.
>
> On Mon, 7 May 2007 16:04:58 +0200, "Ales Baranek" <(E-Mail Removed)>
> wrote:
>
>>And what to do for example in this case:
>>target storage has not enough free space and some files will not copy
>>
>>Ales
>>
>>"foxidrive" <(E-Mail Removed)> píse v diskusním príspevku
>>news:(E-Mail Removed)...
>>> On Mon, 30 Apr 2007 18:30:52 +0200, "Ales Baranek" <(E-Mail Removed)>
>>> wrote:
>>>
>>>>I need to copy all of files and directories from source and reset its
>>>>Archive attrib.
>>>
>>>
>>> After copying use this:
>>>
>>> attrib -a "drv:\folder\*.*" /s
>>>

>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Image backup utility that maintains one differential backup only Story.Yeller@gmail.com Storage Devices 3 9th Feb 2007 02:27 AM
does the backup file *.bks store the information regarding normal or differential backup ? flahmeshess Microsoft Windows 2000 1 6th Dec 2005 11:14 AM
Differential Backup =?Utf-8?B?cmlja3N0ZXJ6?= Windows XP General 3 22nd Feb 2005 07:42 AM
Differential backup? Steve Windows XP Performance 1 10th Jul 2004 10:04 PM
Append Differential Backup to Normal Backup File Question Microsoft Windows 2000 0 8th Oct 2003 08:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:08 PM.