-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathworkstation-backup.py
More file actions
31 lines (21 loc) · 962 Bytes
/
Copy pathworkstation-backup.py
File metadata and controls
31 lines (21 loc) · 962 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
## Description
# This script spawned out of frustration with rsync and BaaS solutions. These days it feels like there is no solid middle of the road solution for backups that is adaptable and guaranteed secure.
# I intend to build out this script into a workstation style backup solution that focuses on directory level backups. It will zip the data, hash it, transfer the data to a destionation, and recheck the hash.
# In the event of a hash mismatch, it will re-attempt the transfer. Upon failing at a set threshold, it will log the mismatch and leave it up to the user to determine and resolve the issue.
## Imports
import pyzipper
## Script
def zip_and_encrypt():
print("placeholder")
def preceding_hash():
print("placeholder")
def destination_transfer():
print("placeholder")
def subsequent_hash():
print("placeholder")
def main():
zip_and_encrypt()
preceding_hash()
destination_transfer()
subsequent_hash()
main()