Jim:
Are you backing up only .RX? files, or do you have a mix in the source
folder?
If just the .RX? files, there's the old R:azzak trick, run from an .RMD
file within the database folder:
SET VAR gv_rbaseName TEXT = NULL [1]
SET VAR gv_targetPath TEXT = NULL
SET VAR gv_fileName TEXT = NULL
SET VAR gv_fileSpec TEXT = NULL
SET VAR gv_rbasename = (CVAL('DATABASE'))
SET VAR gv_targetPath = '<driveAndFolder>'
SET VAR gv_fileName = +
( (CVAL(.gv_rbaseName)) + '_' + (FORMAT(.#NOW, 'YYYY-MMDD-HHNN')) +
'.rmd' )
SET VAR gv_fileSpec = (.gv_filePath + .gv_fileName )
OUTPUT .gv_fileSpec
UNLOAD ALL
OUTPUT screen
A lot more reliable that COPY, with an improved likelihood of recovery
in a pinch.
Best, Bruce
[1] "gv" - or "global" persistent variables, survive CLEARing of "v"
variables across a working session
------ Original Message ------
From "'jim schmitt' via RBASE-L" <[email protected]>
To "rbase group" <[email protected]>
Date 6/26/2023 7:01:39 AM
Subject [RBASE-L] - Copy of files suddenly stops working
Good Moring, group:
I have a Utility Billing program running at several villages, and the
backup routine which does a backup to an external drive has failed
lately at 3 clients with the same error message of 'cannot open source
file (2085). I wrote the routine years ago, and it is quite simple. I
create a variable of 'location/name/time/date' for where we are sending
the data to (VF_TO}'. This is because the operator may do multiple
backup on any given day.
The command is: COPY C:\UBILL\*.* &VF_TO
Sample trace attached. Am i doing the simplest way for a backup or
others have a better way. ??
Any 'blues' clues.
Thanks for any assistance.
Jim
--
For group guidelines, visit
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google
Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rbase-l/2029899591.5130715.1687788099654%40mail.yahoo.com
<https://groups.google.com/d/msgid/rbase-l/2029899591.5130715.1687788099654%40mail.yahoo.com?utm_medium=email&utm_source=footer>.
--
For group guidelines, visit
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rbase-l/em354265ae-48d5-476c-bcc1-01dac2d71fd7%409135c88d.com.