PDA

View Full Version : Why doesn't working


flypig
23-Sep-2005, 07:27 AM
First
snapshot save-crc save-version no-filters path:\\iscsi\bak$\game_up\E\bak output:d:\bak.bcss

Then

load "d:\bak.bcss" "e:\bak"
expand all
option confirm:yes-to-all
select rt.orphan
delete rt
select lt.newer lt.older lt.orphan
copy lt->rt

But like this is does not working

why? help me!!

i want copy \\iscsi\bak$\game_up\E\bak to e:\bak

chrroe
23-Sep-2005, 09:09 AM
Hi Flypig!

Open the BC-helpfile and look for "snapshot". There it says among others:

</font><blockquote><font class="small">In Antwort auf:</font><hr />
You can load a snapshot just like any other base folder. Binary and Rules-Based content comparisons do not work on snapshots, since the files in the snapshot do not really exist.

[/quote]

In your script you try to copy files from a snapshot to another folder. This cannot work!
Try to do the same in the GUI -> it will throw an error.

Solution:
Don't use snapshots for copying or syncing, but real folders.

Snapshots are usefull when creating reports etc.


Hope this helps ...


Bye
Christoph

flypig
23-Sep-2005, 09:35 AM
can i make the docuent be copied by this order"FOLDER-REPORT"?

Chris
23-Sep-2005, 10:30 AM
If you just want to copy \\iscsi\bak$\game_up\E\bak to e:\bak, here's a script that should work:

criteria timestamp size
load \\iscsi\bak$\game_up\E\bak e:\bak
sync mirror:lt->rt

As Chrroe said, snapshot files only contain a list of the files in a directory, it doesn't contain the actual files, so it isn't possible to copy files from a snapshot.

flypig
23-Sep-2005, 10:36 AM
but

criteria timestamp size
load \\iscsi\bak$\game_up\E\bak e:\bak
sync mirror:lt->rt


------------------------------------------------------
load "d:\bak.bcss" "e:\bak"
expand all
option confirm:yes-to-all
select rt.orphan
delete rt
select lt.newer lt.older lt.orphan
copy lt->rt

But this 2 kind of comparisons way time is same

Chris
23-Sep-2005, 12:03 PM
If you need to copy files from \\iscsi\bak$\game_up\E\bak to e:\bak, then
criteria timestamp size
option confirm:yes-to-all
load \\iscsi\bak$\game_up\E\bak e:\bak
sync mirror:lt->rt

will do the same thing as:
load \\iscsi\bak$\game_up\E\bak e:\bak
expand all
option confirm:yes-to-all
select rt.orphan
delete rt
select lt.newer lt.older lt.orphan
copy lt->rt

Using sync just does it in fewer lines.

If that doesn't help, please describe what you want the script to do.