Skip to content

A script to store data to a mass storage disk using a simple python script. The data in the storage will still be readable. The data can be updated to the storage and can also be recovered.The main idea of this script is to minimize backup time for files.

Notifications You must be signed in to change notification settings

sapus/Diskbackup_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Diskbackup_python

A script to store data to a mass storage disk using a simple python script. The data in the storage will still be readable. The data can be updated to the storage and can also be recovered. Main idea of this script is to minimize backup time for files.

This code is made in python 3 so maybe it is not 100% compatible with python 2. I have only tested this code with windows so please tell me if this also work on other platforms.

usage

backup data:

python backup.py store yourfiledirectory yourbackupdirectory

restore data from the backup folder:

python backup.py restore yourbackupdirectory yourfiledirectory

delete all old version files from the backup directory:

python backup.py cleanbackup youbackupdirectory

delete a files from the working directory and tell the script to look for deleted files and delete them:

python backup.py syncdeletebackup yourfiledirectory youbackupdirectory

delete files from a working directory that have been deleted from the backup directory:

python backup.py syncdeletedirectory youbackupdirectory yourfiledirectory

About

A script to store data to a mass storage disk using a simple python script. The data in the storage will still be readable. The data can be updated to the storage and can also be recovered.The main idea of this script is to minimize backup time for files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages