• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 221
  • Last Modified:

setup an archive bit on a folder/file.

after a full back up of a folder, I don't want that folder to be backed up in the differential. I want to set up an archive bit so that all differential backup doesn't backup the folder.

I know there are other ways, but I need to know how this way is done.

I don't know the checkbox of "This folder is Ready for archiving" can do this


thanks
0
jskfan
Asked:
jskfan
  • 3
2 Solutions
 
Rob WilliamsCommented:
You can use the attrib command to display or change the back up file attribute:
For example to enable the archive bit for all files in a directory and it's subdirectories:
  attrib  +A   C:\BackUp\*.*   /S  /D

ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [drive:][path][filename]
       [/S [/D]]

  +   Sets an attribute.
  -   Clears an attribute.
  R   Read-only file attribute.
  A   Archive file attribute.
  S   System file attribute.
  H   Hidden file attribute.
  [drive:][path][filename]
      Specifies a file or files for attrib to process.
  /S  Processes matching files in the current folder
      and all subfolders.
  /D  Processes folders as well.
0
 
jskfanAuthor Commented:
RobWill ,

your statement above is for setting attribute with commands. how about using GUI? where should it have be done?
0
 
Rob WilliamsCommented:
For GUI
Right click on file and choose properties, on the general tab choose advanced, select " file is ready for archiving"
0
 
Rob WilliamsCommented:
Thanks jskfan,
Enjoy the weekend !
--Rob
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now