Page 1 of 1

Cold-Tar-Backup utility v.5.2

Posted: Wed Mar 29, 2023 1:30 pm
by glene77is
CTX_Txn_23039-1030-sh.zip
CTB-v5.2 executable script
(8.98 KiB) Downloaded 26 times

First posted by glene77is ยป ]Monday, January 16, 2023 now with revised source code notes. edit 240731-1928
this page is 85473, edit 240801-1006

... UPDATED Current Version 5.2 dated 230328 is uploaded here :
... v# 4.1 CTB-SL has option to scan list of 8 mounted drives sda1 thru sdh1
... v# 5.1 has a custom gtk box_help sub-routine which is more flexible than the original gtkdialog.
... v# 5.1 can use a /CTB_config.sh file to specify alternate tar.gz output targets.

===========================================================================

CTX_Txn_23039-1030-sh.zip
CTB-v5.2 executable script
(8.98 KiB) Downloaded 26 times

============================================================================
Version 5.1 has customized gtkdialog code embedded in the V.5 script
for some of the gtkdialog/box. Also included is option for a "config file" .
#(: Only dependency is on these two Standard Puppy programs :
#(: gtkdialog version 0.8.4 release ( C ) 2003-2007 Laszlo Pere, 2011-2012 Thunor
#(: Built with support for: GTK+ 2, Glade.
#(: gxmessage-2.12.4 by ( C ) 2009 Timothy Richard Musson
......On this forum, and on my website http://www.GeoCities.WS/glene77is/ click the "Linux" button.
.
Download the Cold-Tar-Backup executable BASH script, "run", and read the "Help" page-out.
.......This is LINUX, , , This is FOSS, , , Read the Code !
.......available at http://www.GeoCities.WS/glene77is / click the "Linux Page" for the GC_Linux.html
.

Suggestion to observe tar messages as a Progress Indicator .
...(0) Once you have downloaded, and extracted the several code scripts to a working directory.
...(1) Rename "CTB-SL.sh" file to "CTXT.sh" and follow these instructions ( to use the Xterm method ).
...(2) place the executable file into "/root/my-applications/bin", which is a Puppy System Path location.
...(3) From Command Line terminal, carefully enter xterm -e CTXT.sh
...(4) This proces will call "xterm", which will execute "CTXT.sh" , which will show the "TarOpt" code activity inside "CTXT.sh" .
..You can observe the message output of tar as it cycles through groups of code lines, as a Progress Indicator.

"CTB"
...is our Puppy Backup for Frugal saveDATA
"PUPSTATE"
...controls the program parameters.
"CTB"
...will generate a 'saveDATA.tar.gz' with and your custom name , tagged with "Date-Time-Seconds".
...will generate a standard '.tar.gz' backup
...for saveFOLDER or saveFILE.4fs
...for Official Puppy Frugal Systems.
"CTB"
...will place the generated output file "saveDATA-DTS.tar.gz" "local" to the source data.
...can use a /CTB_config.sh file to specify alternate tar.gz output targets. Read HELP page.
"CTB-SL v.4.1" has option to scan list of 8 mounted drives sda1 thru sdh1
... to copy the saveDATA.tar.gz into '/CTB_Backup_' . List is user modifiable in source code.
"CTB"
... is written only with lots of standard BASH script .
...... We use some common gtk dialog-boxes v.8, and xmessage boxes.
...... Both gtk routines are included in all Official Puppy OS .
"CTB" v 5.2"
...... includes "Embedded-Graphic" <buttons>
...... Designed to isolate BASH code from GTK code and any interactions between these two different language interpreters.
.......On my website http://www.GeoCities.WS/glene77is/ (click the "Linux Page" for the GC_Linux.html)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
.......

CTB-v5-2 screen shot with feather
CTB-v5-2 screen shot with feather
CTB-v5-2_Screen-2023-03-29-103656.jpg (51.1 KiB) Viewed 482 times

.......

CTB-v5-2 screen shot with Xterm
CTB-v5-2 screen shot with Xterm
CTB-v5-2_Screen-2023-03-29-104546.jpg (103.62 KiB) Viewed 482 times

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

EXTRACTION:
To restore: 'XArchive , will Extract all from
the saveDATA-CTB---tar.gz file. PKunzip also works ok.

Our Design Philosphy is: .
(1) I.T. documented coding,
(2) readable/modular coding,
(3) modifiable coding.

&&&&&&&
Produces a '.tar.gz' output file.
Very Standard ... just 'tar' into 'gzip' ...
just like in 1975, the UNIX Tape-ARchive.
Not spectacular, but guaranteed !

Features for Puppy Linux CTB series of projects :
(0) "CTB" original "reads" / "writes" the Puppy OS "home" location.
(1) "CTB" creates a 'tar.gz' backup
. . . with filename plus 'y-m-d-s' date-time-seconds stamp, saved in the Source directory by default.
(2) "CTB" automatically selects fast compression.
(3) "CTB" runs OK on 32/64-bit Frugal SaveFOLDER installs
... in EXT2/3/4 hard-drives and Flash-Drives.
(4) "CTB" runs OK on 32/64-bit Frugal SaveFILE.4fs installs
... in EXT2/3/4 hard-drives and Flash-Drives.
(5) "CTB" is controlled by the "/etc/rc33.d/PUPSTATE" file.
(6) "CTB" handles any System "home" location
... by using Barry Kauler calculation code (described in 'source code').
(7) "CTB-SL" can scan list of 8 mounted hard-drives sda1 thru sdh1
... to copy the saveDATA.tar.gz into '/CTB_Backup_' .
(8) "CTB" v.5.2: includes "Embedded Graphic" < button > .
...... Designed to isolate BASH code from GTK code and any interactions between these two different language interpreters.

From the Puppy F.A.Q page :
https://github.com/puppylinux-woof-CE/woof-CE
Q : What is an official Puppy Linux distribution?
A : It must meet two conditions.
1) It must be built using Woof CE and its build recipe should be in woof distro.
2) It must be endorsed as official by the Puppy Master.

Our Computer Equipment:
Our AMD XT class computer, bios 2009, 4G Ram. , cpu dual core speed 2.5 GHz.

TESTING base:
Our script has been tested successfuly
on our 21 running Official Puppy Linux systems :
"Official" Puppy Frugal Systems via Woof-CE :
*** Developed in and Tested on these "official" Puppy 32/64 bit systems built via Woof-CE ***


Running Tests on 20 Puppy OS :
#! Each OS is tested via its own original distro BASH .

#! Each OS is tested via its own original distro GTK .

iso-bionicpup64-8.0-uefi___________231219
iso-KineticPup32-22.10+2
___________230604
iso-BionicPup32-8.0+30_BionicBeaver
220407
iso_BionicPup32-19.03-K5.9
Kernal:5.9_231209
iso_ManticPup32-23.10+1
_Kernal:6.1_231209
iso-JammyPup32-22.04+8_JammyJellyfish
22123
iso-UPupFF+D-20.12+4_Focal-Fossa_____201210
iso-UpupTahr-6.0.6-k4.1.30-uefi
Kernal:4.1_190211
iso-Slacko-7.0_DpupS7_14.2
____________220205
iso-Xenial-64_7.5_XL
_________________220401
iso-S15Pup-64_22.12+1-T
____________220922
iso-Quirky_April-7.0.1F-uefi
__________200511
iso_devuanpup-9.7.0-chimaera_4.0_i386
211206
iso_BookwormPup32-23.11-B4_Kernal:6
_231210
iso_LxPupSc-slacko-20.01+0-T-k64
___200129
iso_slacko64_14.2_32-674-bit_comptible
220227


Not Tested on personal "Puppyish" distros
which may not have all required "dependencies" included by their particular authors.



Note: about Puppy Wheezy and Debian-Dog
DebianDog project started as Light-Wheezy+Porteus-Wheezy.
Wheezy is not real Puppy Linux and it has nothing to do with Puppy based on Debian. Wheezy was not generated via Woof-CE and is Not in the List of Official Puppies. Wheezy presents dependency problems for routines written for Official Puppies.
IF you Download[/b] DebianDog / Wheezy or some other "Puppyish" OS, THEN be ready to learn
a different package manager a different System setup a different Dependencies.

...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
If you have a problem, try using the "private mail" option at the top of Murga page.
If you have a problem, please remember that this is BASH,
....... BASH is not perfect, and BASH has Quirks , derived from at least 7 different previous shells.
....... mixed with GTK code there are more Quirks.
....... Quirks are interactions between these two different language interpreters.
A better language might be Python, Pascal or Fox(SCO-Unix, Xenix-Unix),
but our projects [ CTX, CTB , CTB-SL, MGN, B2R, C3C, S2F, et al ]
have given us a chance to explore BASH and GTK and their interactions between the two interpreters.

.......
I have gone riding my bicycle today, not nearly so fast in in younger years,
... I may simply ride my bicycle off into the "sun-set of Time".


Re: Cold-Tar-Backup utility v.5.2

Posted: Wed Mar 29, 2023 2:01 pm
by Jasper

Hi there

I was curious about the application and thought I would try it.


Re: Cold-Tar-Backup utility v.5.2

Posted: Wed Mar 29, 2023 2:14 pm
by rockedge

@Jasper I have used this to backup gigantic save folders for the Puppy Linux's I use to develop compile and build Zoneminder and other projects. Works well doing the job.

I will test out the newest version at the end of the week.


Re: Cold-Tar-Backup utility v.5.2

Posted: Wed Mar 29, 2023 3:21 pm
by glene77is

to Jasper and RockEdge,
Thanks for forward moving comments.

Jasper, That screen shot of the "MGR" project was my error. "THANKS", guy.
It is "pretty" with all the "embedded images" , just not the right one for this page.
"CTB v:5.2" is very useful, from the "get go". Try it.

Also, RockEdge, pal,
If you want comments/etc left in the "CTB" source, just let me know.
May take couple of hours to cull extraneous notes to me and test code, by hand,
but if you want, just let me know.

IF you check the "MGR" project,
THEN you will see that the line count is way large, by most standards,
BUT "adequate to the task" by my standards."

I recall your gargantuan big project size and some of your methods.
Made me think about a more active compression routine, like LZ, but it has twice as long run-time.
I run "CTB" every hour, always fearful that power will go out, or a hard-drive will finally fail.
I run "E3R" to activate (1) "Copy EDIT to /root/my-applications/bin" , (2) "CTB", (3) "Pmnt" , (4) "Scan-All", (5) "Umnt" ,
as an automated backup , all in one process,
which is (in summary) :
(a) copy into the 'system RAM' (captured by saveDATA)
(b) then onto several hard-drives
Although I am familiar with using all the options in "Packit",
I insist on using "Tried, True, Stable, Always included in an OS " type of compression routines.

:thumbup2:


Re: Cold-Tar-Backup utility v.5.2

Posted: Wed Mar 29, 2023 4:20 pm
by Jasper

@glene77is

Removed the pic as requested :thumbup: