smalltarbkp.bash – version 1.3

Hello

Some people go on holiday and some people go to the pub… me I love coding, scripting and helping the Linux community’s.

So smalltarbkp.bash – version 1.3 is now here and although I am not providing any new features in this script I have spent time developing a upgrade / update capability so that anyone using the script in the feature can easily run $ smalltarbkp.bash -upgrade and your own script will be updated to the latest version without any inconvenience.

Here is a example where I showed how it updated only two fields I modified for the test purpose I also showed the it removes MANUALLY added variables that has been placed in the wrong place…

The update will always maintain the data / variables and information listed between the line with the string KEEP_START and the line KEEP_END

Make sure the format & syntax of the script is not modified or the upgrade may not work.

#################################################################
# KEEP_START TO UPDATE VARIABLES
#################################################################
.
EVERYTHING BETWEEN THOSE LINES WILL BE SAVED AND MOVED INTO THE NEW UPDATED SCRIPT, EVERYTHING OUTSIDE THOSE LINES WILL BE DELETED, I ALSO RECOMMEND NOT TO REPOSITION OR MODIFY THE SCRIPT FORMAT.
.
#################################################################
# KEEP_END STATIC SCRIPT VARIABLES – DO NOT MODIFY
#################################################################

If you already use the smalltarbkp.bash version 2 I recommend to manually download the script, save it and update the VARIABLES between the above code block and that includes you count_name=0 lines.

If you are new to the script just update the generic variables:

SIZE=”200″ # Split tar file $SIZE in MEGABYTES
SVR=”/nfs-backups” # NFS mount / USB / Cloud drive, etc
RETENTION=”30″ # Retention period of the backups in days +1
FULL=”7″ # FULL Backup frequency in runs
PASS=”default” # Encryption password
ENCRYPT=”true” # Boolean ENCRYPT = true/false
TARGET=”TAR-BKP” # Top level target folder

Anyway one else feel free to download it and test it / use it / enjoy it.

Download / Source

Enjoy it and please let me know what you think @tergum_pro on twitter