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.
===========================================================================
============================================================================
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)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
.......
.......
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
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_BionicBeaver220407
iso_BionicPup32-19.03-K5.9Kernal:5.9_231209
iso_ManticPup32-23.10+1_Kernal:6.1_231209
iso-JammyPup32-22.04+8_JammyJellyfish22123
iso-UPupFF+D-20.12+4_Focal-Fossa_____201210
iso-UpupTahr-6.0.6-k4.1.30-uefiKernal: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_i386211206
iso_BookwormPup32-23.11-B4_Kernal:6_231210
iso_LxPupSc-slacko-20.01+0-T-k64___200129
iso_slacko64_14.2_32-674-bit_comptible220227
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".