HEADER
QUOTE One hundred percent of the shots you don't take don't go in.

- Wayne Gretzky
QUOTE

Project Codename: tctan (this_could_take_all_night)

PROJECT_SPLASH

Download

DOWNLOADDOWNLOAD[ v-0-2-b_2017-0503_PUBLIC ]
HTTP -- Download.SpinelliCreations.com/tctan (this_could_take_all_night)


FTP -- SpinelliCreations.com/tctan

Project Description

Description

this_could_take_all_night is an automatic, recursive directory backup utility in pure Python for cross platform compatability. Backup files based upon retention time to any location of your choice.

Ideal for servers and workstations where recursive backup of specific local folders is necessary. It even incorporates user-specified Retention Time, examining the Creation Time (Win systems) or Last Modification Time (Mac / Unix / Linux systems), and deleting any file which is older than your specified retention time - prior to archiving your folder!

Run daily as a scheduled job (cron or task-scheduler, or another job-scheduling method of your choice; heck, you can even call it manually), this_could_take_all_night will not only dump your existing chosen folders to tar file, but it will also keep a backlog for 'X' number of days. For example, if you wish to go back 5 days, you can have this_could_take_all_night dump today's backup to file, and then keep yesterday's, the day before that's, and so on - for five days. Tomorrow, the oldest file will be deleted, all other files will be incremented, and the latest file will be saved.

Language

python - v2.6

Syntax

./this_could_take_all_night.py [FUNCTION] [PRESET_NAME]

Functions

BACKUP
-- automated recursive backup to tarball based upon choices in configuration / options file.

Examples

[you@localhost]# python this_could_take_all_night.py BACKUP johnnys_documents
-- automated backup based on config / options file.

Screen Captures and Related Images

SCREEN_CAP SCREEN_CAP SCREEN_CAP

terminal: 'help'

editing 'options.opt' file in VIM

editing 'johnnys_documents.backup file in VIM


Built: Mar. 2, 2011
Updated: May 3, 2017