forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


CodeBackup Released
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Other Product Support/Announcements
View previous topic :: View next topic  
Author Message
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Thu Jan 15, 2004 7:18 pm    Post subject: CodeBackup Released Reply with quote

CodeBackup version 1.0.0.7 has been released Cool You can download it [ here ].

CodeBackup is a program that creates backups of all *.dsc files in a tree, to make sure that they aren't 'eaten' by the Visual DialogScript IDE, or just to prevent data loss when your hard drive gets corrupted or whatever.

You can let CodeBackup create backups of all scripts at Windows start up, for optimal security.
All backups will be stored seperatly with the date and time as directory name. This way, no backups will be overwritten.

Regards,
Vic

_________________
phpBB Development Team


Last edited by Vic D'Elfant on Fri Jan 16, 2004 9:35 am; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Thu Jan 15, 2004 11:21 pm    Post subject: Reply with quote

Is this program suppose to put all the .dsc files in one directory? Or is
it suppose to recreate the directory structure and place the .dsc files in
the appropriate mirrored directory.

Right now, it is placing all the files in one directory, and then changing
the names of the files to include the orignal directory paths in the file
names.

here's what it's doing:

Directory selected to put backups was [D:\00-backups\cbacks]

Directory it actually made and backedup to [D:\00-backups\cbacksThursday, January 15, 2004 2_08 PM]

Here's the list of files it produced in the new directory it created:

C_JFWin_02 - In Development_jfwpopper_popper_popper.dsc
C_JFWin_02 - In Development_jfwpopper_1-encode.dsc
C_JFWin_02 - In Development_jfwpopper_1-checkemailnow.dsc
C_JFWin_02 - In Development_jfwpopper_1-decode.dsc
C_JFWin_02 - In Development_jfwpopper_1-delacct.dsc
C_JFWin_02 - In Development_jfwpopper_1-addacct.dsc
C_JFWin_02 - In Development_jfwpopper_1-editacct.dsc
C_JFWin_02 - In Development_jfwpopper_1-onlineview.dsc
C_JFWin_02 - In Development_jfwpopper_1-popupnotify.dsc
C_JFWin_02 - In Development_jfwpopper_0-jfwpopper.dsc
C_JFWin_02 - In Development_webalog_webalog.dsc
C_JFWin_02 - In Development_webalog_friendlink.dsc
C_JFWin_02 - In Development_webalog_otherlink.dsc
C_JFWin_02 - In Development_webalog_filedown.dsc
C_JFWin_02 - In Development_webalog_introed.dsc
C_JFWin_02 - In Development_webalog_updates.dsc
C_JFWin_02 - In Development_webalog_logentry.dsc
C_JFWin_02 - In Development_jfwcolortech_RESEARCH_VDSCAP.DSC
C_JFWin_02 - In Development_jfwcolortech_RESEARCH_Copy of ColorCoder.dsc
C_JFWin_02 - In Development_jfwcolortech_RESEARCH_COLOR.DSC
C_JFWin_02 - In Development_jfwcolortech_RESEARCH_VDSCAP2.DSC
C_JFWin_02 - In Development_jfwcolortech_RESEARCH_SSmenu_Dll_Demo.dsc
C_JFWin_02 - In Development_jfwcolortech_1-about.dsc
C_JFWin_02 - In Development_jfwcolortech_jfwcolortech.dsc
C_JFWin_02 - In Development_jfwcolortech_Copy of jfwcolortech.dsc
C_JFWin_02 - In Development_jfwcolortech_jfwcolortech-256swatch.dsc
C_JFWin_02 - In Development_jfwcolortech_jfwcolortech-16swatch.dsc
C_JFWin_02 - In Development_wasp_0-checknowguiv.dsc
C_JFWin_02 - In Development_wasp_0-messages.dsc
C_JFWin_02 - In Development_wasp_0-curstats.dsc
C_JFWin_02 - In Development_wasp_0-guifacilities.dsc
C_JFWin_02 - In Development_wasp_splash.dsc
C_JFWin_02 - In Development_wasp_wasp.dsc

I trimmed the list because there were over 500 .dsc files in this new
directory. Some of them are rather lengthy in their new names due
to being far down in sub directories.

As you can see, with 500 some odd files, it's a bit hard to manage
the backups this way.

-Garrett

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Fri Jan 16, 2004 9:07 am    Post subject: Reply with quote

Hi,

I've found a small bug in CodeBackup (the same a Garrett described above); exporting to a drive goes without any problem, but exporting to a subdirectory of a drive doesn't work properly. A directory called, for instance, E:\VDS Scriptsfriday 16 January 2004 11_09 will be created, instead of E:\VDS Scripts\friday 16 January 2004 11_09.

Anyway, this bug has been solved, but I can't upload the new version from school (policies Sticking Out Tounge)
I'll upload the new version tomorrow morning.
If you don't want to wait until tomorrow morning, there's a workaround: open settings.ini in the program's directory, and put a trailing backslash after the Directories -> Target value.

If there's enough interest in my program, I'll add zip support and other nice features Wink. When this zip functionality is implemented, a backup directory would like as follows:
Quote:
E:\VDS Scripts\Friday 16 Januray 2004\Aorta_dsp.zip
E:\VDS Scripts\Friday 16 Januray 2004\CodeBackup_dsp.zip
...


All comments and ideas are welcome Very Happy

Regards,
Vic

BTW
Garrett: CodeBackup indeed places all .dsc files in one directory, and renames them to the directory they orginally where in Confused If you think that it would be better if the directories where mirrord, I'll change it

_________________
phpBB Development Team


Last edited by Vic D'Elfant on Fri Jan 16, 2004 10:39 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Fri Jan 16, 2004 9:27 am    Post subject: Reply with quote

Quote:
If you think that it would be better if the directories where mirrored, I'll change it


yes, please Very Happy Very Happy Very Happy

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Fri Jan 16, 2004 9:34 am    Post subject: Reply with quote

Okay, I'll change it Wink

Vic

_________________
phpBB Development Team
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Fri Jan 16, 2004 10:35 am    Post subject: Reply with quote

Vic wrote:
Anyway, this bug has been solved, but I can't upload the new version from school (policies Sticking Out Tounge)
I'll upload the new version tomorrow morning.


You can't upload it at school, but you can solve/compile it? Give me a school like that... Smile
Back to top
View user's profile Send private message
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Fri Jan 16, 2004 10:37 am    Post subject: Reply with quote

Yeah, I solved it at school, but I don't compile my projects there... just imagine that I would forget to delete the vds.key file Confused

Regards,
Vic

_________________
phpBB Development Team
Back to top
View user's profile Send private message Visit poster's website
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1751
Location: Space and Time

PostPosted: Fri Jan 16, 2004 12:24 pm    Post subject: Reply with quote

Very cool. I'll DL the new version when it's ready. Please let us know. Smile
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Fri Jan 16, 2004 12:56 pm    Post subject: Reply with quote

Good Work Vic Smile
_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Fri Jan 16, 2004 9:10 pm    Post subject: Reply with quote

Well, at least in my position, I'd prefer the directory structure to be
recreated. This is due to the amount of .dsc files on my system.

But don't just do it because of one person. If more people request
this same thing, then maybe consider it. Or make it an option.

I have my directories setup in a way that allows me to keep track of
my projects, such as:

00 - In Distribution
01 - Ready For Distro
02 - In Development
03 - Development Idea's
04 - Misc Development
05 - ForVDS
06 - Tossed

Being able to mirror this structure for the backups would be so much
easier for me.

And yes, I would be very interested in future improvements to your
program.

I've been meaning to make something like this myself since Jullian's
program won't work on my system.

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Sat Jan 17, 2004 11:44 am    Post subject: Reply with quote

CodeBackup version 1.0.1.1 has been released Cool
You can download it [ here ].

Changes:
- Directory structure is now mirrored (thanks for the idea Garrett Wink)
- Fixed trailing-backslash bug

Changes coming up:
- Zip support
- Auto-backup with an adjustable time interval
- Auto-backup when starting the VDS IDE

Regards,
Vic

_________________
phpBB Development Team
Back to top
View user's profile Send private message Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Sun Jan 18, 2004 1:32 am    Post subject: Reply with quote

great vic...will download it now and use it...thanks for your hard work...the planned features will be excellent!!!

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Mon Jan 19, 2004 2:59 am    Post subject: Reply with quote

great job vic! it worked just great and will now use it continually on my laptop...thanks for all your hard work! Very Happy Very Happy Very Happy

serge

ps love the simple but effective interface Very Happy

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Mon Jan 19, 2004 8:03 am    Post subject: Reply with quote

You're doing a nice job Vic. For zipping needs http://www.info-zip.org/ has some high-quality freeware progs -
I use those for several zipping utils with a VDS interface.

However, I still feel it's kinda sad that VDS users have to protect themselves against their own programming
IDE Sad The problem's been known for more than half a year and it's still there trashing people's hard work Rolling Eyes
Imagine that being Delphi's IDE or something, what an uproar... When you buy a commercial program, you
could expect that mission-critical bugs like this would be fixed - fast.

The present status is like having a program with a nice built-in logical bomb or virus: Sit there, cross your
fingers, and wait for the next time you'll get struck. And then hope that you have backups in place and some
time to go before your deadline!


Greetz
Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Mon Jan 19, 2004 9:05 am    Post subject: Reply with quote

I think I should point out that a considerable number of hours were devoted to looking at this problem. All the temporary files that are created and deleted during compilation were moved to a temporary folder, as suggested by members of this forum. The VDS 5 IDE now does just exactly the same file activity in the project directory as VDS 4 or 3. There is also a lot more checking that a file exists before it is deleted, where the old IDE just deleted a file and ignored the error if it wasn't present. Whatever is responsible for this very occasional problem remains a complete mystery, but not because nobody tried to solve it.

Unfortunately because of the policy of the developers of VDS, it is not possible to run a tool like Filemon that might shed some light on the issue. Given the rarity of the issue, probably it is only possible to get more information if a number of users were prepared, and were able, to run Filemon alongside VDS all the time to capture information when the problem eventually occurs. I don't like unsolved problems and I wish I knew what was causing it. Fortunately, it's no longer my responsibility to solve it. But I just wanted to correct the apparent criticism that nothing was done to attempt to solve this fault.

By the way, not to undermine anyone else's efforts to develop backup software but my offer of free registration codes for my program GetBack still stands for members of VDSWorld who use Windows NT 4 or later. It helped me the one time I was a victim of the deletion bug, but to get things in perspective, it has helped me on the many more occasions when I accidentally deleted a source file or messed it up and needed to get back to an earlier version.

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Other Product Support/Announcements All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group