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

Encrypt the folder after backup, also decrypt it during restore #256

Open
rajib-raiyat opened this issue Mar 7, 2023 · 6 comments
Open

Comments

@rajib-raiyat
Copy link

Is there any encryption and decryption support available?

@psmanek
Copy link
Contributor

psmanek commented Mar 7, 2023

No. You can encrypt whole drive, for example using FileVault on mac.

@rajib-raiyat
Copy link
Author

Isn't it a good feature that we include encryption and decryption?

@laurent22
Copy link
Owner

Personally I don't need it because I backup to local drives which are already encrypted. But for SSH backup it's different obviously. Maybe some utility could be piped to encrypt the data before sending it?

@rajib-raiyat
Copy link
Author

Most people like you don't encrypt the entire drive, but if they want to backup their data to a partition on another hard drive (not SSH), it can be very useful. Also in this script we can offer both options (backup with encryption or backup without encryption) to the user. It could be a very good feature to give an additional security option from our (this script) end.

@psmanek
Copy link
Contributor

psmanek commented Mar 11, 2023

Backup solution should be as easy as possible. If you make encrypted backup and after few years this script will no longer be developed, you may lose access to your backup files (because they are encrypted). Simplicity is the key.

Try BorgBackup or Restic if you want encrypted and deduplicated backups.

@rajib-raiyat
Copy link
Author

I agree with your opinion that backup solutions should be simple and easy to use. However, it's also true that if the backup script is no longer supported after a few years, users may not be able to access their backup files. One potential solution is to encrypt the backup files with a password and use a consistent encryption and decryption algorithm to ensure long-term accessibility and security.

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

No branches or pull requests

3 participants