Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative Backup Solution to Rsync #7

Open
schnipdip opened this issue Oct 25, 2020 · 4 comments
Open

Alternative Backup Solution to Rsync #7

schnipdip opened this issue Oct 25, 2020 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@schnipdip
Copy link
Owner

Basically, rebuild functionality of Rsync, however the function will allow a percentage display on the backups files. This will allow for multicore copying. Differential backup will have to be supported to prevent duplicates - checksum.

Issue with checksum - cpu intensive

Major Benefit, more information can be displayed to the user.

@schnipdip schnipdip added the enhancement New feature or request label Oct 25, 2020
@schnipdip schnipdip self-assigned this Oct 25, 2020
@schnipdip
Copy link
Owner Author

schnipdip commented Oct 25, 2020

Can create a local local cache/database to store checksums to reduce checksum time

includes name of picture and checksum of the picture = photo rainbow table.

@schnipdip
Copy link
Owner Author

Do i need to perform a checksum on the files located in the destination drive? If I am creating a rainbow table then the values should exist in the cache. I would just have to do a comparison the the cache and the source checksum to add the files a dict object and then copy those new files.

@schnipdip
Copy link
Owner Author

schnipdip commented Oct 26, 2020

added dump_it.py.

Contains the following classes:

class backup -> performs differential backup - spawns new process to copy each object to the destination
class hashing - > hashes each image object. It spawns a new process for each object to perform a checksum
class cacheTable -> creates a caching database of filename + checksum

@schnipdip
Copy link
Owner Author

Now that I am thinking about this more it doesn't make much sense to create a tailored backup solution. Instead we can continue to work with Rsync and if need be create a wrapper for Rsync to do what we need it to do. We are going to have to tailor the Raspberry Pi for performance. We can probably get rsync to multithread to increase performance and integrity checking can be done in rsync to ensure the files were transferred properly (advanced setting configuration for advanced users)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant