We implemented a new feature for our PASSDORA Box. Passdora is a Raspberry Pi based system which hosts the Sequry password-manager.
New Features
What feature(s) did you add?
The Passdora system offers a function to create backups, so the users' data isn't lost if the system drive fails or some other fault causes data loss. So far the files saved in a backup had to be copied back onto a new system manually. Since the backup is encrypted, compressed, contains a lot of files and even a database dump, the manual restore is too complex for a regular user. In order to simplify that process, a feature should be added that only requires a backup file and the key used for encryption to restore the system back to the state of that backup.
Reasons
- system needs a function to restore backups
- manually restoring a backup is too complex
- automation required
How did you implement it/them?
add a dialog that asks for a backup file and it's restore-key:
upload the backup to the system
ajax/upload.php
[link]
try to decrypt the backup with the given restore-key
ajax/processRestoreFile.php
[link]
copy the files in the backup-archive to their correct location
- in repository
sequry/passdora
:Build_Image/files/passdora_scripts/lib/autostart/RestoreListener.py
[link]
- in repository
restore the database
- in repository
sequry/passdora
:Build_Image/files/passdora_scripts/lib/autostart/RestoreListener.py
[link]
- in repository
restart the system
- in repository
sequry/passdora
:Build_Image/files/passdora_scripts/lib/autostart/RestoreListener.py
[link]
- in repository
Since the commits unfortunately overlap, a nice log cannot be created :(.
I tried to specify the files that were affected, you can find a link behind every file name.
A complete commit log can you find [here]
Preview
as always, a picture says more than 1000 words
Asking for backup-file:
Asking for backup-file's restore-key:
System-Restore successfully initialized:
Allow the user to abort the system-restore:
Thanks for reading,
Jan, for PCSG Developers
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you vladimir.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey @vladimir-simovic, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey @pcsg-dev I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Not having a proper back up can be detrimental to the activities of any individual or organization.
I have lost 10 years worth of data before, due to my negligence of not backing up.
I believe Passdora is worth a trial....
How can we access the service?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hm? Passdora is not a service.
Passdora is mainly intended for agencies, companies that have to manage many passwords internally. of course, private persons can also use passdora.
To clarify the point:
We are in the process of building the first prototype. sequry is already usable, also for private use.
The goal of passdora is to just buy a small box, connect it to your network and you're done. Your company, agency, or you personally have a finished password manager. Your passwords are then with you and not somewhere in the cloud.
Here is an overview:
;-)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit