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
VisualPlainIT and Postgre...
by
paweld
[
Today
at 03:37:41 pm]
Problems installing the I...
by
Ever
[
Today
at 03:32:40 pm]
Compiler Callback API => ...
by
marcov
[
Today
at 02:00:29 pm]
Poor optimization of cons...
by
Martin_fr
[
Today
at 01:54:09 pm]
Notarization under macOS ...
by
TRon
[
Today
at 12:58:30 pm]
Intercept multimedia keys
by
Espectr0
[
Today
at 12:02:20 pm]
Looking for property (boo...
by
wp
[
Today
at 11:44:09 am]
Initialize Form Variable?
by
marcov
[
Today
at 11:25:49 am]
Feature announcement: Fun...
by
bytebites
[
Today
at 10:24:42 am]
Custom PopUp Menu with Co...
by
madref
[
Today
at 09:38:50 am]
failed to create named pi...
by
MarkMLl
[
Today
at 08:49:40 am]
TScroollBar vs TControlSc...
by
simsee
[
Today
at 08:23:46 am]
Building static libraries...
by
Fibonacci
[
Today
at 04:15:55 am]
Web assembly in Lazarus
by
PierceNg
[
Today
at 02:54:17 am]
Online Package Manager
by
Beazy
[October 03, 2023, 11:22:22 pm]
Tmenuitem of TpopopMenu
by
paweld
[October 03, 2023, 11:06:26 pm]
fpsStreams unit problems
by
wp
[October 03, 2023, 10:44:02 pm]
Disable sse/avx
by
marcov
[October 03, 2023, 10:43:02 pm]
Component for generating ...
by
colo
[October 03, 2023, 08:58:24 pm]
Wayland and Free Pascal
by
nouzi
[October 03, 2023, 07:54:01 pm]
LAMW - opening URL in ext...
by
c4p
[October 03, 2023, 06:37:06 pm]
TBufferedFileStream crash...
by
AlexTP
[October 03, 2023, 06:13:54 pm]
FPImageException while l...
by
wp
[October 03, 2023, 05:05:57 pm]
What is a .DB file
by
wp
[October 03, 2023, 04:13:15 pm]
IntraWeb in Lazarus??
by
ginoo
[October 03, 2023, 01:32:49 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Ben's Solid Backup v1.0.2 (Read 594 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: 5079
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