Autocopy backup of NEW files in a directory

G

Guest

Win2K3 SP1 or WinXP Pro SP2
How can I automate a copy for a file that an application writes to a
directory and copy this source file from the source directory to a backup
directory AND rename that copied file?

For example, the application writes a file into D:\ApplData\Invoice.csv and
I want to copy this Invoice.csv file to
D:\ApplData\Backup\Invoice2006-10-25-09151000.csv (where there's a date and
time stamp to maintain uniqueness). I'm not requiring the date/time stamping
but the backup file needs to be unique as the Invoice.csv file is the
standard name for the original file name. Invoice.csv is written out several
times a day and throughout the week/month etc.

Is there a utility or way to do this once the Invoice.csv file is written
out? I'd like to do the backup/copy for other files in the same directory.
Not all source files are created at the same time.
TIA,
Tom
 
S

Shenan Stanley

Tom said:
Win2K3 SP1 or WinXP Pro SP2
How can I automate a copy for a file that an application writes to a
directory and copy this source file from the source directory to a
backup directory AND rename that copied file?

For example, the application writes a file into
D:\ApplData\Invoice.csv and I want to copy this Invoice.csv file to
D:\ApplData\Backup\Invoice2006-10-25-09151000.csv (where there's a
date and time stamp to maintain uniqueness). I'm not requiring the
date/time stamping but the backup file needs to be unique as the
Invoice.csv file is the standard name for the original file name.
Invoice.csv is written out several times a day and throughout the
week/month etc.

Is there a utility or way to do this once the Invoice.csv file is
written out? I'd like to do the backup/copy for other files in the
same directory. Not all source files are created at the same time.

What is the end result you are going for?
Versioning? For recovering from a mistake?

If so - go out and purchase "Undelete"...
http://www.undelete.com/file-recovery.asp
 
G

Guest

The ultimate result is to maintain a log of the Invoice.csv files that are
used to transfer data from one application to another. This way we have a
copy of what was transferred when (date/time) in case there is an issue with
the transfer.
Would Undelete do the same thing? I've never used it. Ideally, we'd like
to have all copies of the Invoice.csv files in the same Backup directory for
easy review and later analysis.
TIA,
Tom
 
A

Ayush

Start > Run > ntbackup >
If the wizard is not started, click the Wizard button > Follow steps > Create a
scheduled backup with that

--
Ayush [ Be ''?'' Happy ]

For any query, search - www.Google.com
Want to know about a term - http://en.wikipedia.org

Replied To :
-------------------------------------------------------------

| The ultimate result is to maintain a log of the Invoice.csv files that are
| used to transfer data from one application to another. This way we have a
| copy of what was transferred when (date/time) in case there is an issue with
| the transfer.
| Would Undelete do the same thing? I've never used it. Ideally, we'd like
| to have all copies of the Invoice.csv files in the same Backup directory for
| easy review and later analysis.
| TIA,
| Tom
|
| "Shenan Stanley" wrote:
|
| > Tom wrote:
| > > Win2K3 SP1 or WinXP Pro SP2
| > > How can I automate a copy for a file that an application writes to a
| > > directory and copy this source file from the source directory to a
| > > backup directory AND rename that copied file?
| > >
| > > For example, the application writes a file into
| > > D:\ApplData\Invoice.csv and I want to copy this Invoice.csv file to
| > > D:\ApplData\Backup\Invoice2006-10-25-09151000.csv (where there's a
| > > date and time stamp to maintain uniqueness). I'm not requiring the
| > > date/time stamping but the backup file needs to be unique as the
| > > Invoice.csv file is the standard name for the original file name.
| > > Invoice.csv is written out several times a day and throughout the
| > > week/month etc.
| > >
| > > Is there a utility or way to do this once the Invoice.csv file is
| > > written out? I'd like to do the backup/copy for other files in the
| > > same directory. Not all source files are created at the same time.
| >
| > What is the end result you are going for?
| > Versioning? For recovering from a mistake?
| >
| > If so - go out and purchase "Undelete"...
| > http://www.undelete.com/file-recovery.asp
| >
| > --
| > Shenan Stanley
| > MS-MVP
| > --
| > How To Ask Questions The Smart Way
| >
| >
| >
| >
 
G

Guest

Ayush,
That's a great idea. There appears to be a 'fly in the ointment' here.

I'm not too sure WHEN the file gets written out as it varies by the volume
of the data to be written and the performance of the system (server and/or PC
workstation). [I can start the copy/backup process AFTER the last file gets
created.] I know ntbackup can put a date/time stamp on the backup file name,
but I don't think it's event driven based on WHEN/IF the file is written.
In actuality there are several files (>25) that get written out into the
directory and I need to copy/backup these files at the end of the creation
process. Currently, this process takes about 75 minutes to complete. Six
months ago it took 35 so the time keeps growing.
Do you have any ideas on event driven backup systems? I'm aware of one that
would cost several thousand dollars but I'm not too sure it's worth the price
at this time.
Thanks for your suggestion. Now, how about the event-driven aspect of things!
Tom

Ayush said:
Start > Run > ntbackup >
If the wizard is not started, click the Wizard button > Follow steps > Create a
scheduled backup with that

--
Ayush [ Be ''?'' Happy ]

For any query, search - www.Google.com
Want to know about a term - http://en.wikipedia.org

Replied To :
-------------------------------------------------------------

| The ultimate result is to maintain a log of the Invoice.csv files that are
| used to transfer data from one application to another. This way we have a
| copy of what was transferred when (date/time) in case there is an issue with
| the transfer.
| Would Undelete do the same thing? I've never used it. Ideally, we'd like
| to have all copies of the Invoice.csv files in the same Backup directory for
| easy review and later analysis.
| TIA,
| Tom
|
| "Shenan Stanley" wrote:
|
| > Tom wrote:
| > > Win2K3 SP1 or WinXP Pro SP2
| > > How can I automate a copy for a file that an application writes to a
| > > directory and copy this source file from the source directory to a
| > > backup directory AND rename that copied file?
| > >
| > > For example, the application writes a file into
| > > D:\ApplData\Invoice.csv and I want to copy this Invoice.csv file to
| > > D:\ApplData\Backup\Invoice2006-10-25-09151000.csv (where there's a
| > > date and time stamp to maintain uniqueness). I'm not requiring the
| > > date/time stamping but the backup file needs to be unique as the
| > > Invoice.csv file is the standard name for the original file name.
| > > Invoice.csv is written out several times a day and throughout the
| > > week/month etc.
| > >
| > > Is there a utility or way to do this once the Invoice.csv file is
| > > written out? I'd like to do the backup/copy for other files in the
| > > same directory. Not all source files are created at the same time.
| >
| > What is the end result you are going for?
| > Versioning? For recovering from a mistake?
| >
| > If so - go out and purchase "Undelete"...
| > http://www.undelete.com/file-recovery.asp
| >
| > --
| > Shenan Stanley
| > MS-MVP
| > --
| > How To Ask Questions The Smart Way
| >
| >
| >
| >
 
A

Ayush

I don't know that kind of software but if you find one, tell me.
For now create the backup file with ntbackup and put a shortcut in Quick launch or
give it a Keyboard shortcut


--
Ayush [ Be ''?'' Happy ]

For any query, search - www.Google.com
Want to know about a term - http://en.wikipedia.org

Replied To :
-------------------------------------------------------------

| Ayush,
| That's a great idea. There appears to be a 'fly in the ointment' here.
|
| I'm not too sure WHEN the file gets written out as it varies by the volume
| of the data to be written and the performance of the system (server and/or PC
| workstation). [I can start the copy/backup process AFTER the last file gets
| created.] I know ntbackup can put a date/time stamp on the backup file name,
| but I don't think it's event driven based on WHEN/IF the file is written.
| In actuality there are several files (>25) that get written out into the
| directory and I need to copy/backup these files at the end of the creation
| process. Currently, this process takes about 75 minutes to complete. Six
| months ago it took 35 so the time keeps growing.
| Do you have any ideas on event driven backup systems? I'm aware of one that
| would cost several thousand dollars but I'm not too sure it's worth the price
| at this time.
| Thanks for your suggestion. Now, how about the event-driven aspect of things!
| Tom
|
| "Ayush" wrote:
|
| > Start > Run > ntbackup >
| > If the wizard is not started, click the Wizard button > Follow steps > Create a
| > scheduled backup with that
| >
| > --
| > Ayush [ Be ''?'' Happy ]
| >
| > For any query, search - www.Google.com
| > Want to know about a term - http://en.wikipedia.org
| >
| > Replied To :
| > -------------------------------------------------------------
| >
| > | > | The ultimate result is to maintain a log of the Invoice.csv files that are
| > | used to transfer data from one application to another. This way we have a
| > | copy of what was transferred when (date/time) in case there is an issue with
| > | the transfer.
| > | Would Undelete do the same thing? I've never used it. Ideally, we'd like
| > | to have all copies of the Invoice.csv files in the same Backup directory for
| > | easy review and later analysis.
| > | TIA,
| > | Tom
| > |
| > | "Shenan Stanley" wrote:
| > |
| > | > Tom wrote:
| > | > > Win2K3 SP1 or WinXP Pro SP2
| > | > > How can I automate a copy for a file that an application writes to a
| > | > > directory and copy this source file from the source directory to a
| > | > > backup directory AND rename that copied file?
| > | > >
| > | > > For example, the application writes a file into
| > | > > D:\ApplData\Invoice.csv and I want to copy this Invoice.csv file to
| > | > > D:\ApplData\Backup\Invoice2006-10-25-09151000.csv (where there's a
| > | > > date and time stamp to maintain uniqueness). I'm not requiring the
| > | > > date/time stamping but the backup file needs to be unique as the
| > | > > Invoice.csv file is the standard name for the original file name.
| > | > > Invoice.csv is written out several times a day and throughout the
| > | > > week/month etc.
| > | > >
| > | > > Is there a utility or way to do this once the Invoice.csv file is
| > | > > written out? I'd like to do the backup/copy for other files in the
| > | > > same directory. Not all source files are created at the same time.
| > | >
| > | > What is the end result you are going for?
| > | > Versioning? For recovering from a mistake?
| > | >
| > | > If so - go out and purchase "Undelete"...
| > | > http://www.undelete.com/file-recovery.asp
| > | >
| > | > --
| > | > Shenan Stanley
| > | > MS-MVP
| > | > --
| > | > How To Ask Questions The Smart Way
| > | >
| > | >
| > | >
| > | >
| >
| >
| >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top