Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Miscellaneous
»
Other
»
Ben's Solid Backup v1.0.2
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
VAR RECORD doesn't work?
by
coradi
[
Today
at 10:05:29 am]
Lazarus and XML
by
Bart
[
Today
at 09:38:45 am]
drop picture from browser
by
Handoko
[
Today
at 07:50:10 am]
console app window contro...
by
TRon
[
Today
at 07:46:29 am]
Searchkey Tdbf
by
Handoko
[
Today
at 05:56:02 am]
LAMW - upload file failed...
by
Mongkey
[
Today
at 05:20:23 am]
Encapsulating existing fu...
by
TRon
[
Today
at 05:16:22 am]
FPImageException while l...
by
TRon
[
Today
at 03:10:14 am]
Make visual components no...
by
sstvmaster
[September 30, 2023, 11:37:48 pm]
Scrolling TStringGrid
by
jamie
[September 30, 2023, 11:01:01 pm]
Large system, i2C to go w...
by
ccrause
[September 30, 2023, 08:52:34 pm]
[ solved ] drawn lines no...
by
Jumbo
[September 30, 2023, 12:00:30 pm]
ZenGL Update +android + M...
by
Seenkao
[September 30, 2023, 12:16:22 am]
Notarization under macOS ...
by
TRon
[September 29, 2023, 11:10:27 pm]
Image not shown after use...
by
Jumbo
[September 29, 2023, 10:14:11 pm]
Saving a Form state (rela...
by
Curt Carpenter
[September 29, 2023, 07:46:53 pm]
Poor optimization of cons...
by
440bx
[September 29, 2023, 06:55:50 pm]
Accessing JSON data from ...
by
magleft
[September 29, 2023, 02:22:30 pm]
Operator not Overloaded E...
by
cdbc
[September 29, 2023, 01:15:28 pm]
Can't hide main window
by
zeljko
[September 29, 2023, 08:16:40 am]
“case (a,b) of...” doesn’...
by
440bx
[September 29, 2023, 08:02:32 am]
sslsockets, TSSLSocketHan...
by
r.lukasiak
[September 29, 2023, 07:55:25 am]
Cross platform DirectoryW...
by
r.lukasiak
[September 29, 2023, 07:44:18 am]
Passing TDate parameter i...
by
Arskin_Fertrubble
[September 29, 2023, 03:54:53 am]
[solved ] Class method in...
by
Kraig
[September 29, 2023, 03:36:30 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Ben's Solid Backup v1.0.2 (Read 590 times)
DreamVB
Jr. Member
Posts: 83
Ben's Solid Backup v1.0.2
«
on:
September 15, 2023, 11:16:15 pm »
Hi, All
I made a small project for backing up files and sub-folders all you need to do is select a folder to back up and the place you want to backup to really simple to use I made it to backup my Lazarus projects hope you find it us full all comments welcome.
http://dreamvb.rf.gd/bbackup/
«
Last Edit: September 17, 2023, 11:24:09 pm by DreamVB
»
Logged
Dream Believe Achieve
Bart
Hero Member
Posts: 5074
Re: Ben's Solid Backup
«
Reply #1 on:
September 16, 2023, 12:18:37 am »
Hi,
Nice work.
At least I'm not the only one with
their own backup program
.
Some remarks:
IIRC then TProgressBarMax may be limited to a value < the size of the file you copy. (I would set Max to 100 and just calculate the percentage)
No error checking on the copy process?
Saving the inifile in the folder where the executable resides is maybe not a wise choice. Normally those places are not writebale for the common user. Consider making use of the GetAppConfigDir function
There's a typo in the errormessage in TfrmNewProj.SaveProject
Some possible improvements:
You copy every file you find. You may consider not copying if the file aready exists in the destination folder and that file is of the same age (or newer) than the one in the source directory. This is especially helpfull iy e.g. plan to backup large folder structures
Consider giving hte user the possibility to define a mask for files that they want to backup (e.g *.pas;*.pp;*.p;*.lfm;*.lpi;*.lpr), or the opposite: to exclude certain files (e.g. *.exe;*.tmp;*.bak
Extending on that: give the user the possibility to exclude certain folders form the backup process
And you will always think of more possible improvements...
Bart
Logged
DreamVB
Jr. Member
Posts: 83
Re: Ben's Solid Backup
«
Reply #2 on:
September 16, 2023, 05:15:29 pm »
Hi, Bart
Glad you like my project I will look at some of the things you said.
Check again for updates.
Logged
Dream Believe Achieve
DreamVB
Jr. Member
Posts: 83
Re: Ben's Solid Backup
«
Reply #3 on:
September 17, 2023, 11:23:53 pm »
hi, all.
just to let you know I done some small updates on my project get the latest application and source code below.
http://dreamvb.rf.gd/bbackup/
Logged
Dream Believe Achieve
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Miscellaneous
»
Other
»
Ben's Solid Backup v1.0.2
TinyPortal
© 2005-2018