jxsl13 / backupfs Goto Github PK
View Code? Open in Web Editor NEWbackup-on-write filesystem abstraction layer with rollback mechanism.
License: MIT License
backup-on-write filesystem abstraction layer with rollback mechanism.
License: MIT License
I would like to merge two backup file systems to one another where one is merged into the other.
The appended backupfs ceases to exist, meaning, the backup is merged into the initial backupfs and deleted afterwards.
In case that an object
This will create a nil FileInfo in the internal file map.
That entry may be deleted in the internal map, as it is the state that the filesystem currently has.
Reduces lstat and other operations.
rollback of symbolic links does not remove new symbolic links that were previously not there
Untar-ing an archive with symbolic links seems to create those properly but not remove them upon rollback.
the internally used file tracking logic may be wrapped in an own interface that can be a wrapper for the base fulesystem.
this way the internal tracking logic may be swapped with another implementation which allows for a different serialization implementation.
TrackFs or TraceFs
Potential references:
ipfs/kubo#4956
In specific edge cases it is possible that the underlying function calls return an error.
For example when creating a symlink and another file or symlink already exists, we do backup the file but the underlying symlink function does return an error thus we should remove the backup and potentially rollback the function call.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.