Skip to content

A quick and simple python back up script intended for use with crontab

License

Notifications You must be signed in to change notification settings

douthwja01/simple-python-archiver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-python-archiver

A quick and simple linux-python back up tool. This tool is intended to facilate regular backups of a list of files though the use of crontab. The script maintains a set of time-stamped archives with a regular structure. The user can either allow script to maintain a fixed number of archives, or simply fill the available space before the oldest archives are overwritten.

Clean output structure

Descriptive logging

Features

  • The list of files to be included are specified as absolute paths in "archive-files.txt"
  • Each archive is placed in the "output" directory, with regular formatting, timestamped with your defined label.
  • The script can either maintain a fixed number of archives, or maintain as many as drive space allows.
  • Works happily with other files inside the same backup directory.
  • Does not need super-user (depending on the files being included).
  • Function output suitable for piping to external log files with sufficient detail.

I hope you find this useful!

If you have any questions, or improvements, please feel free to contact me at: douthwaiteja@gmail.com.

About

A quick and simple python back up script intended for use with crontab

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages