Skip to content

jsyk/mywayback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mywayback

A deduplicating automatic backup tool

Install Dependencies

  1. python3 @ windows, linux
  2. pip install sortedcontainers --user

Running

python mywayback.py target-directory

Target Directory Content

The target-directory specified on the command line MUST contain a subdirectory named 'config/'. Files in the 'config/' subdirectory are read in alphabetical order as the configuration files. File extensions are irrelevant. The content of a configuration file must look like this:

# comment
+/some/directory/to/backup
-/some/other/directory/to/skip

(Of course you can put any number of +, -, and # lines...)

The tool creates in the target directory two new subdirs:

db/			This contains the name-hash database in the db/by-name, and the main data in the db/by-hash. DO NOT TOUCH ANYTHING UNDER.
snapshot/	Here with each run a new backup snapshot with the data and time is created and filled. Files here are hard-links to 
			the main data in the db/by-hash directory.

About

Deduplicating automatic backup tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages